Date: Thu, 5 Sep 2024 09:13:34 -0500 From: Kyle Evans <kevans@FreeBSD.org> To: Bertrand Petit <freebsd-hackers@phoe.frmug.org>, David Chisnall <theraven@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: Suitability of Lua as a userland-programming language? Message-ID: <bb696497-ffd9-4fcf-96b8-22fd15cac892@FreeBSD.org> In-Reply-To: <20240905131543.GD1354@memo2.memo.frmug.org> References: <40836902-cb68-45e0-b4ec-623c21aa47ba@FreeBSD.org> <88AC3419-2BD0-4664-80E8-368360E143B4@freebsd.org> <20240905131543.GD1354@memo2.memo.frmug.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/5/24 08:15, Bertrand Petit wrote: > On Thu, Sep 05, 2024 at 08:25:26AM +0100, David Chisnall wrote: >> >> It took me about an hour to go from never having written any Lua to >> writing some Lua code that actually worked (and that we still use). > > I made the same observation here, I must add that having a > funcional programming background helps greatly. The conciseness of the > reference manual is lovely even if I think it is badly organised. > > I regret the "any variable name is assumed to be global unless > explicitly declared as a local" concept which preclude users from > writing large programs easily. 1-indexed strings is... peculiar by > modern times. I see the language libraries as very limited and > unsuitable for system programming---I was frustrated to not find map > nor reduce. If Lua is to be integrated into base for public > consumption we should [...] We will not be exposing flua for general public consumption, but anything in base is welcome to use it and we're happy to expand our collection of modules as needed. Thanks, Kyle Evans
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb696497-ffd9-4fcf-96b8-22fd15cac892>