/
Why use C instead of C++ for APIs?
Why use C instead of C++ for APIs?
How can we exchange objects and functions between programs written in different languages or compiled with different compilers?
We must make sure that we express them in such a way that these objects and functions are universally understood - so that both the client and the server can send and receive the information.
C unlike C++ has a very simple way of exposing it’s functions by name without name mangling, ignoring other information like parameter type or return values.
C is compiled in a standardized way which makes it the lingua franca to communicate with between languages.
, multiple selections available,
Related content
Why use C++ in 2021?
Why use C++ in 2021?
More like this
Why we use handles to express an object with properties in a C APIs
Why we use handles to express an object with properties in a C APIs
More like this
A brief history of sockets
A brief history of sockets
More like this
Why build your own C++ core class library in 2021?
Why build your own C++ core class library in 2021?
More like this
Why we don't use the standard C++ library?
Why we don't use the standard C++ library?
More like this
What is binary API compatibility?
What is binary API compatibility?
More like this