News for hackers. Stuff that matters.
Re:MicroPython by londons_explore on Sunday August 16, 2020 @05:19PM (#24181420)
> Why would you want to replace Lua in this space?

The crowd of people who speak Lua is pretty different than those who speak Python.

I would guess the Lua crowd to be older, more experienced, but smaller.

The Python crowd is much bigger, and includes people who dabble in coding rather than those of us who do it for a living.

It depends on the user base of your application, but I can totally see why Python would be a better embedding language for users to use. You build the product for the users after all.

In todays world, I'd make some V8 bindings and get users to use javascript, because that's even easier to embed, has a bigger ecosystem via nodejs/npm, and has a probably larger userbase... It's got a nice remote debugger/UI too, which is quite a plus if you're expecting inexperienced users to write plugins/modules for you.

Re:MicroPython by toastal on Sunday August 16, 2020 @10:47PM (#24183401)
The Lua crowd includes kids learning to code because they want mods in Minecraft and other games. Sometimes I see Lua suggested a a first language over JavaScript because it's much smaller and has less warts (plenty of warts exist though). Can you even use V8/SpiderMonkey in the same way as LuaJIT?
Re:MicroPython by wizzwizz4 on Monday August 17, 2020 @07:13AM (#24186088)
You mean Minetest, right? Minecraft doesn't have native modding support, let alone Lua modding support.
Re:MicroPython by detaro on Monday August 17, 2020 @07:16AM (#24186106)
Various, including some very popular, mods for Minecraft include Lua. I assume that's what they are referring to.