How do I make calls to operating system functions in the language of my choice? -
this question have long been wanting answered.
major operating systems such windows , mac os x "support" 1 or few languages (i.e. c++, c#, vb windows, objective-c mac os x).
using go language example, it's possible interact operating system , make calls these functions without using "supported" languages.
how possible?
what developer need know in order call these system functions using language of choice?
i'm looking how these calls represented in code - , how used upon execution.
i expect there isn't 1 answer fits every language-system combination... few different examples helpful.
the abi (application binary interface) defines how make call operating system. able make calls requires particular programming language implementation generate code conforming abi.
making os calls in c well-supported, , many interpreted languages (e.g., perl, python, tcl) implemented in c, in essence making calls via c.
Comments
Post a Comment