Being a Lua user myself, I wholeheartedly agree.
 
One "problem" with Lua, though, is that it uses 1-based indexing by default, but it's possible to override this for user data (e.g. Pd arrays, text, atom lists, etc.)
 
Another advantage of lua is that you can control the garbage collector, e.g. only allow it to run when Pd is idle!
 
Christof
 
Gesendet: Samstag, 04. Januar 2020 um 12:20 Uhr
Von: "Dan Wilcox" <danomatika@gmail.com>
An: "Miller Puckette" <msp@ucsd.edu>
Cc: pd-dev <pd-dev@lists.iem.at>
Betreff: Re: [PD-dev] capabilities of data structures with externals
lua ... tiny, fast, simple, C-focused, portable
 
There is already the pdlua implementation as well which is focused on writing externals. I imagine most of the ds, array, etc API could be exposed to lua.
 
On Jan 4, 2020, at 1:14 AM, pd-dev-request@lists.iem.at wrote:
 
It seems to me that patch languages are badly suited to this kind of task -
but if one were to design a text-language style interface, what language
would be suitable?  Or indeed is there a compleetely different way to think
about it?
 
--------
Dan Wilcox
 
_______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev