Video is nearly 3 years old now, but I think it’s worth watching. Her presentation starts at around 2:30.
Basically, she explains how Redbean, a tiny (~450kb) and very fast C http server, works and how the same executable can be used to deploy it on most operating systems (she starts explaining that around 14:30)
Justine is also the mind behind Sector LISP, Lambda Calculus in 383 bytes, considerable optimizations to LLamaAI, plus several other things.
🤔 I swear I’ve seen this multiplatform single executable before. Maybe nexe isn’t it, but as soon as she whipped out the hexcode and talking about binary headers, it felt more than a dejavu. Someone did it years ago, put it in github, and it was called an abomination.
It’s very similar in vein to this script that can be executed by bash and powershell.
Anti Commercial-AI license
If you do find it, be sure to tell, I’d love to take a look