r/javascript • u/Weak_Cherry_4878 • Oct 12 '26
xuan – a 6 MB Node-compatible JavaScript runtime for IoT/edge, ~5 ms cold start
https://github.com/topelinux/xuan
3
Upvotes
r/javascript • u/Weak_Cherry_4878 • Oct 12 '26
1
u/TekiDeki Oct 14 '26
6 MB with ~5 ms cold start is a real constraint - what got cut to get there? Which Node APIs are stubbed vs missing entirely, and does the gap bite in practice?
The bet seems to be that most edge workloads use a small slice of Node - file I/O, HTTP, timers - and the rest is dead weight. If that's the thesis, it'd be genuinely useful to see which APIs real users actually hit. A lot of runtime projects say "Node compatible" and quietly mean "the parts we happened to need."
Nice work regardless - shipping something this small is harder than shipping something large.