Liste des Groupes | Revenir à l misc |
On Tue, 16 Apr 2024 16:42:43 +0100, Chris Elvidge wrote:Python is higher level, more "powerful" than Lua, and has vastly more libraries. It is also vastly bigger. When you've got software the size of Blender, Python is a good choice for an embedded scripting (or programming :-) ) language. When you have something small, Lua is a much better choice - it's fine for many microcontrollers. Lua adds perhaps 100 KB to the program, while Python adds 20 MB (and Forth adds maybe 5-10 KB, but is much harder to integrate with the C or C++ code).
I use lua to enhance conky ...I know Lua was designed specifically to be embeddable, as an extension
language for apps. But surprisingly, you see Python being used a lot for
that, too.
The most high-profile example has to be Blender. Now *there* is a
scriptability API ...
Les messages affichés proviennent d'usenet.