Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Programming

Submission + - Designing a Programming Language for Embeddability (acm.org)

CowboyRobot writes: "The creators of the Lua language describe the process of designing a new language and the constraints that certain parameters, specifically embeddability, place on the process.
"Many languages (not necessarily scripting languages) support extending through an FFI (foreign function interface). An FFI is not enough to allow a function in the system language to do all that a function in the script can do. Nevertheless, in practice FFI covers most common needs for extending, such as access to external libraries and system calls. Embedding, on the other hand, is harder to support, because it usually demands closer integration between the host program and the script, and an FFI alone does not suffice.""

This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Designing a Programming Language for Embeddability

Comments Filter:

Ocean: A body of water occupying about two-thirds of a world made for man -- who has no gills. -- Ambrose Bierce

Working...