ABI vs. API (2004)

Lobsters Hottest 新闻

摘要

一篇2004年的文章,解释了ABI(应用程序二进制接口)与API(应用程序编程接口)之间的区别,可能讨论了它们在软件开发和兼容性中的作用。

<p><a href="https://lobste.rs/s/k9yyfs/abi_vs_api_2004">评论</a></p>
查看原文

相似文章

Thoroughly Understanding C++ ABI

Hacker News Top

A deep dive into C++ ABI, explaining binary interface concepts, CPU/OS dependencies, object file formats like ELF and PE32+, and calling conventions.

To Save C, We Must Save ABI

Hacker News Top

The author argues that despite the common call to break ABI to save C++, preserving a stable ABI is necessary to allow C to evolve, and discusses the trade-offs and constraints ABI stability imposes on language and standard library improvements.

为何不根据链接的SDK来改变API行为?

The Old New Thing (Raymond Chen)

本文以Windows的CoInitializeSecurity为例,探讨了根据链接的SDK版本改变API行为的陷阱。讨论了DLL版本不匹配和尾调用优化等问题使这种方法复杂化。