arnoldrobbins / awk-sys-prog

"Awk As A Major Systems Programming Language" Revisited
14 stars 1 forks source link

Comparison with Lua? #1

Open robohack opened 4 years ago

robohack commented 4 years ago

I wonder if you might consider adding a short paragraph comparing Awk with Lua.

Lua is one of the most extensible and expressive little languages I've ever encountered, and though it has its quirks, I think its design is quite elegant.

The way Lua is implemented also leads to the interesting possibilities of making it both easily embeddable and expandable.

Awk has a more familiar feel, at least it seems so to me with my background as a C programmer. None the less I wonder if Awk might also learn things from Lua.

arnoldrobbins commented 4 years ago

Thanks for the comment. It's nice to know that someone has actually read the paper. :-)

I last looked at Lua around 20 years ago. As my knowledge is out of date (and as I remember very little anyway), I have very little to say about it in this paper....

Can you be more specific about what kinds of things are in Lua that (g)awk might benefit from?