Hacker News new | past | comments | ask | show | jobs | submit login

I mean Lua[1] exists, predates Javascript[2], is incredibly fast[3] and can be easily embedded[4]. I've personally shipped production game titles where the whole game state + logic was inside a 400kb block on a PSP where you only had 8MB of system ram, and this was before LuaJIT.

Sadly, developer familiarity and ecosystem/mindshare sometimes dominate technical constraints, at least that's how we ended up with Javascript everywhere.

[1] https://en.wikipedia.org/wiki/Lua_(programming_language)

[2] https://en.wikipedia.org/wiki/JavaScript

[3] https://luajit.org/

[4] https://github.com/vvanders/wasm_lua

Registration is open for Startup School 2019. Classes start July 22nd.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact