3 ms·
Besides embedded applications, C is important because it has a simple binary interface. Libraries written in C can be used in any other language. This is not tr
by matheusmoreira 7y ago
Besides embedded applications, C is important because it has a simple binary interface. Libraries written in C can be used in any other language. This is not true for higher level languages, whether compiled or virtualized.
- pjmlp 7y agoOnly on OSes written in C, because C ABI is the OS ABI. On Windows any language able to speak COM can use it, regardless what language was used to create the COM component. Same applies to mainframes and their language environments.
- tekknik 7y agoyou can actually call golang from C but you have to copy values over otherwise the go garbage collector will free it while the C side may still be using it.