A Tiny (1000 Lines), Fastish, Embeddable Scripting Language Can Be AOT Compiled
Posted4 months agoActive4 months ago
Original: A tiny (1000 lines), fastish, embeddable scripting language can be AOT compiled
wareya.wordpress.comTech Discussionstory
informativepositive
Debate
20/100
Scripting LanguagesEmbeddable LanguagesAot Compilation
Key topics
Scripting Languages
Embeddable Languages
Aot Compilation
Discussion Activity
Light discussionFirst comment
8h
Peak period
2
8-10h
Avg / period
1.3
Key moments
- 01Story posted
Aug 29, 2025 at 5:59 AM EDT
4 months ago
Step 01 - 02First comment
Aug 29, 2025 at 2:12 PM EDT
8h after posting
Step 02 - 03Peak activity
2 comments in 8-10h
Hottest window of the conversation
Step 03 - 04Latest activity
Aug 30, 2025 at 6:12 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45062168Type: storyLast synced: 11/20/2025, 11:17:07 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
This isn't to be dismissive or anything, most of the applications I write seem to come in well over 2mb in size for rust and over 80mb for C# which are massive in comparison, so I'm interested in use cases. For that matter, I've been inclined to reach for JS as much as anything, though I've considered Lua before.
It's worth noting that on 32-bit, the Boehm GC can have consistent issues [1] [2] [3] that make it worth avoiding for anything long-running. The Mono team implemented their own GC due to this. If a runtime is aiming to be useful on such systems, it may be worth implementing or using a less conservative GC.
[1] https://en.wikipedia.org/wiki/Mono_%28software%29#Garbage_co...
[2] https://news.ycombinator.com/item?id=3576396
[3] https://stackoverflow.com/questions/8152374/
To be really usable, for embedded and otherwise, a well documented and ergonomic C API for bindings is needed though.
The closest I could find was "If you need to add more predefined functions, add them in intrinsics.h." I will take a look though, this seems really promising
EDIT: Looks to be pretty easy to tack an external registration mechanism onto intrinsics.h. Good to go then ..
.. Only two SO comments at this point .. come on folks :-)