AstonJ

AstonJ

Lua - what do you think of it?

Just listened to @rvirding’s interview here and he mentions #lua (and Luerl) - just wondered if anyone’s used Lua and what you think of it?

Most Liked

rvirding

rvirding

Creator of Erlang

I think Lua is a fun language. They have managed to make it both powerful and simple, except for some shady bits, which is impressive. It is a bit too lenient scripting language, and of course it has mutable and shared and global data which is bad. :wink: :smile:

dimitarvp

dimitarvp

I am mostly hearing about Lua as a way to embed scripting in your bigger engine / project but I am skeptical about it due to what @rvirding mentioned: global shared mutable data.

Stuff like LuaJIT however is very impressive. A seriously fast scripting language.

OvermindDL1

OvermindDL1

I’ve used lots of lua, including luerl heavily whitelisted to handle specific runtime configurable processing tasks back in my erlang days. I’ve implemented the official lua as a scripting language a number of times, luajit as well, which is actually amazingly designed though a bit of hell to sandbox it well (you basically have to map all your calls then overwrite the mapping functions just to start with…). As for ‘using’ it, not much of that in comparison, I actually really hate the language itself for a large variety of reasons, lol, but it does make for a fast and low overhead scripting language.

Popular General Dev topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
chasekaylee
Hi everyone! I have been in the professional industry for ~2 years now coming from a boot camp. I started a base foundation by programmin...
New
chasekaylee
Just like the title says :smiley: which courses you find that have had the most impact in the span of your career as a developer?
New
AstonJ
It’s great to see how popular some of these channels have become - do you have any favourite YouTuber devs? Ben Awad Code...
New
AstonJ
Things like smart speakers (such Amazon Alexa), smart TVs or other devices with built in microphones, cameras or with other features that...
New
dwaynebradley
For those that are interested, Snyk (developer security tool) announced support for Elixir earlier this week: Just thought I’d pass it...
New
dwaynebradley
In their weekly newsletter, Jared Santo from the Changelog shared this blog post by Mark Ericksen over at fly.io: What is really inter...
New
GermaVinsmoke
Do you like to help others on stackoverflow in your free time? And what’s your reputation on Stackoverflow? :smirk::joy::rofl:
New
DevotionGeo
For me it’s six to seven steps above complete dark, on MacBook Air M1.
New
DevotionGeo
Amazon CodeWhisperer is an alternative to GitHub Copilot, and it’s free!
New

Other popular topics Top

AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
AstonJ
SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
New
PragmaticBookshelf
Author Spotlight: Bruce Tate @redrapids Programming languages always emerge out of need, and if that’s not always true, they’re defin...
New