Source: Hacker News
Article note: The language-agnostic platform bindings problem is a _huge problem_.
C is a horrible tool for it, but no one has ever really come up with something better, in large part because the higher-level langues that have a hard time with it...just punt the details to the platform, who has (in almost all modern OSes) defined them in C.
It _is_ fun to think about what else we could do. The interfaces could be a declarative description language with a easier to deal with parser (if a thousand legacy systems and all new ones agreed to do a bunch of extra work to make that happen). The interfaces (at a cost of massive implementation complication and performance penalty) could be an interrogatable message-passing interface (think dbus). Etc.
Comments