3 ms·
It seems to me that embedded Lua would be a more appropriate choice, and barring that, there is already a quite robust embedded Python implementation. Don't ge
by wyager 5y ago
It seems to me that embedded Lua would be a more appropriate choice, and barring that, there is already a quite robust embedded Python implementation.
Don't get me wrong, this is a cool project, but I don't see why you would ever choose to use JS in an embedded context except for fun. The arguments for using lua or micropython are already very narrowly applicable.
- afavour 5y agoSeems inarguable to me that JavaScript is much more widely known and adopted than Lua. So it makes sense to use JS in 'toy' like environments where someone is learning an embedded platform.
- CameronNemo 5y agoJS is more common, but this is not a complete implementation. So those skills may not transfer 100%.
- saagarjha 5y agoBut they certainly will more than they would to a completely new language…
- wyager 5y agoI don’t understand why people are so focused on preventing anyone from ever having to learn a new language. If you already know JS, learning lua should be trivial.
- bArray 5y agoInteresting, could you link me the Lua and Python libraries you are thinking of?
- wyager 5y agoMicropython and eLua come to mind
- pjmlp 5y agoMicrosoft also considers JavaScript makes business sense. https://www.microsoft.com/en-us/makecode https://www.microsoft.com/en-us/makecode