Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown 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: References: <20240408075547.000061e8@gmail.com> <20240415152951.000079ab@gmail.com> 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: 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).