Deutsch English Français Italiano |
<uvo5li$1h4d6$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: on Perl Date: Wed, 17 Apr 2024 11:44:18 +0200 Organization: A noiseless patient Spider Lines: 21 Message-ID: <uvo5li$1h4d6$2@dont-email.me> References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com> <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk> <uvbe3m$2cun7$1@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid> <uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me> <EpwTN.247849$zF_1.119459@fx18.iad> <uvm5bp$10uuu$1@dont-email.me> <uvm69k$1154r$1@dont-email.me> <uvnd54$1chh2$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 17 Apr 2024 11:44:19 +0200 (CEST) Injection-Info: dont-email.me; posting-host="597bf0a0ac7f20ad012a8d1c39ab917f"; logging-data="1610150"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jFzAlFenEqHzdMiLWiYTdciyUDc0s83s=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:HjWRSd6JewZ2ls6g1orVq3y4adw= Content-Language: en-GB In-Reply-To: <uvnd54$1chh2$2@dont-email.me> Bytes: 2561 On 17/04/2024 04:45, Lawrence D'Oliveiro wrote: > On Tue, 16 Apr 2024 16:42:43 +0100, Chris Elvidge wrote: > >> 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 ... 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).