C APIs in Extension and Extensible Languages
dc.creator | Muhammad,Hisham | |
dc.creator | Ierusalimschy,Roberto | |
dc.date | 2007 | |
dc.date.accessioned | 2024-02-06T12:55:33Z | |
dc.date.available | 2024-02-06T12:55:33Z | |
dc.description | Scripting languages are used in conjuction with C code in two ways: as extension languages, where the interpreter is embedded as a library into an application; or as extensible languages, where the interpreter loads C code as add-on modules. These two scenarios share many similarities, as in both of them two-way communication of code and data needs to take place. However, the differences between them impose design tradeoffs that affect the C API that bridges the two languages, often making a scripting language more suitable for extending than embedding, or vice-versa. This paper discusses how these tradeoffs are handled in the APIs of popular scripting languages, and the impact on their use as embedded or extensible languages. | |
dc.format | text/html | |
dc.identifier | https://doi.org/10.3217/jucs-013-06-0839 | |
dc.identifier | https://lib.jucs.org/article/28812/ | |
dc.identifier.uri | https://openrepository.mephi.ru/handle/123456789/9384 | |
dc.language | en | |
dc.publisher | Journal of Universal Computer Science | |
dc.relation | info:eu-repo/semantics/altIdentifier/eissn/0948-6968 | |
dc.relation | info:eu-repo/semantics/altIdentifier/pissn/0948-695X | |
dc.rights | info:eu-repo/semantics/openAccess | |
dc.rights | J.UCS License | |
dc.source | JUCS - Journal of Universal Computer Science 13(6): 839-853 | |
dc.subject | programming languages | |
dc.subject | application programming interfaces | |
dc.title | C APIs in Extension and Extensible Languages | |
dc.type | Research Article |