Ask HN: Statically typed fast scripting languages?
4 90s_dev 6 6/5/2025, 4:48:19 PM
For a weekend project I need to embed something like Lua in a C or C++ application. I'm looking for scripting languages small and fast and easily embeddable like Lua 5.4 is, but with full static typing like TypeScript with all the flags.
I can't find a list and it's hard to google so I'm hoping some of you have suggestions.
[1] https://sabotage-linux.neocities.org/blog/9/
[2] https://github.com/dino-lang/dino
Wren (https://wren.io/) is another interesting language, but I haven't even tried it myself, but on the surface it seems to match. Edit: Scratch that, Wren isn't actually statically typed, but somehow I have it saved in my bookmarks as one.