PDA

View Full Version : Designing a Programming Language For Embeddability


sl4shd0t
05-19-2011, 12:02 AM
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.'"http://a.fsdn.com/sd/facebook_icon_large.png (http://www.facebook.com/sharer.php?u=http%3A%2F%2Fdevelopers.slashdot.org% 2Fstory%2F11%2F05%2F18%2F2235229%2FDesigning-a-Programming-Language-For-Embeddability%3Futm_source%3Dslashdot%26utm_medium %3Dfacebook) http://a.fsdn.com/sd/twitter_icon_large.png (http://twitter.com/home?status=Designing+a+Programming+Language+For+E mbeddability%3A+http%3A%2F%2Fbit.ly%2FlSg3id)
Read more of this story (http://developers.slashdot.org/story/11/05/18/2235229/Designing-a-Programming-Language-For-Embeddability?utm_source=rss1.0&utm_medium=feed) at Slashdot.
http://feedads.g.doubleclick.net/~at/PFHsK6_1zrwW8ywl_hUtqWe2njc/0/di</img> (http://feedads.g.doubleclick.net/~at/PFHsK6_1zrwW8ywl_hUtqWe2njc/0/da)
http://feedads.g.doubleclick.net/~at/PFHsK6_1zrwW8ywl_hUtqWe2njc/1/di</img> (http://feedads.g.doubleclick.net/~at/PFHsK6_1zrwW8ywl_hUtqWe2njc/1/da)
http://feeds.feedburner.com/~r/Slashdot/slashdotDevelopers/~4/0E4OPo54sFg

More... (http://rss.slashdot.org/~r/Slashdot/slashdotDevelopers/~3/0E4OPo54sFg/Designing-a-Programming-Language-For-Embeddability)