C APIs in Extension and Extensible Languages

dc.creatorMuhammad,Hisham
dc.creatorIerusalimschy,Roberto
dc.date2007
dc.date.accessioned2024-02-06T12:55:33Z
dc.date.available2024-02-06T12:55:33Z
dc.descriptionScripting 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.formattext/html
dc.identifierhttps://doi.org/10.3217/jucs-013-06-0839
dc.identifierhttps://lib.jucs.org/article/28812/
dc.identifier.urihttps://openrepository.mephi.ru/handle/123456789/9384
dc.languageen
dc.publisherJournal of Universal Computer Science
dc.relationinfo:eu-repo/semantics/altIdentifier/eissn/0948-6968
dc.relationinfo:eu-repo/semantics/altIdentifier/pissn/0948-695X
dc.rightsinfo:eu-repo/semantics/openAccess
dc.rightsJ.UCS License
dc.sourceJUCS - Journal of Universal Computer Science 13(6): 839-853
dc.subjectprogramming languages
dc.subjectapplication programming interfaces
dc.titleC APIs in Extension and Extensible Languages
dc.typeResearch Article
Файлы