5 ms·
Is it just me who has the impression that Python "won" as a glue and application extension language?
by zvrba 10y ago
Is it just me who has the impression that Python "won" as a glue and application extension language?
- electroly 10y agoLua did. Python isn't commonly used in situations where you'd consider embedding Guile.
- zvrba 10y ago> Python isn't commonly used in situations where you'd consider embedding Guile. Which situations would that be?
- nobody16 10y agoApplication configuration. Code is data, data is code.
- dman 10y agoMultiple interpreters in the same process.
- electroly 10y agoShipping it inside a larger application, like in games, as a lightweight script language. Guile and Lua are both purpose-built to be embeddable libraries rather than intended for standalone execution. It's certainly possible to embed Python (anything is possible!) but it's a minority use case and not as well-supported by the tooling.
- snaky 10y agoWhen you need script language to embed it inside NetBSD kernel http://netbsd.gw.com/cgi-bin/man-cgi?lua+4+NetBSD-current http://netbsd.gw.com/cgi-bin/man-cgi?lua+4+NetBSD-current
- PeCaN 10y agoYes, I think it is. Lua "won" in games, Tcl won in electrical engineering software, Lisp won in various niche places, JavaScript won basically everywhere else. Python does not seem a very popular glue language outside of Sublime Text.
- coldtea 10y agoErrr, what? Python is the clear winner in the scientific computing space.
- nalaginrut 10y agoThat seems not as glue code, although I agree Python win in preliminary scientific computing.
- PeCaN 10y agoThat… isn't an "application extension language" use case. I guess if you count wrapping various C and Fortran libraries it's a "glue" language, but that's not exactly what I was getting at.
- dalke 10y agoIt's a popular extension language for molecular visualization applications.
- coldtea 10y ago"Glue code" is not just (or particularly) about "application extension" (e.g. as embedded Lua in game engines). Traditional "glue" has been called any language that connects between different programs and systems (e.g. take data out of system X as CSV, preprocess them, input them it program Y, do something with the results etc. Which Python is used for a lot, in the scientific (physics and biology at least) communities. And yes, wrapping C, fortran etc libs too.
- 59nadir 10y agoThe thread was specifically about usage as a glue and extension language.
- davexunit 10y agoSure, but keep in mind that Guile is also a general-purpose programming language and a virtual machine for running languages beyond Scheme, such as Emacs Lisp. I do web, game, and systems programming with Guile and it does a good job at all of them.
- deleted 10y ago[deleted]