LWN.net Logo

Embedding vs. extending

Embedding vs. extending

Posted Dec 6, 2012 20:48 UTC (Thu) by dvdeug (subscriber, #10998)
In reply to: Embedding vs. extending by civodul
Parent article: GNU Guile 2.0.7 released

The discussions don't seem to target my issues at all. When I'm thinking of embedding a language, it's because I have a program that I would like for people to be able to extend; say a graphics program that people want an easy way to write plugins for, or a game that people want to write AIs for. I may well want for certain environments to be able to not compile in a 3MB Python interpreter. The Python one asks "do you want your application to inter-operate with other applications that Python can use?" Why would I? I'm not building a library here; why is it vitally important that Gimp and Quake can run at the same time?


(Log in to post comments)

Embedding vs. extending

Posted Dec 6, 2012 21:19 UTC (Thu) by andrel (subscriber, #5166) [Link]

Well if your goal is to automate a pipeline which starts with a Quake screenshot and process it in GIMP to get the final output, then yes you want them both running at the same time.

Embedding vs. extending

Posted Dec 6, 2012 23:16 UTC (Thu) by dvdeug (subscriber, #10998) [Link]

Why? You produce the screenshot, and send it through the pipeline and send it into GIMP. No need to bring everything into one process.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds