I love it!
If I may suggest, supporting more languages than lua could help bring more people: say php or python, maybe with something like vscodium?
IIRC python2 was a WIP (issue #141 for cosmopolitan)
Personally I'd prefer perl for performance, and vscodevim or similar to edit code, but I have weird tastes :)
We ported Fabrice Bellard's QuickJS engine to Cosmopolitan last year. We ported Python3 too. (You can build Python3 as a 5mb single file Actually Portable Executable!) So integrating them into redbean is on the table. The big question is whether or not redbean should be multitenant with languages, or if we should ship separate binaries where you choose the redbean "flavor" that has your preferred one. I'm leaning towards the latter, since there can only be one REPL language. What do you think?
Would love to see Python support. This project and your libc sort of break my brain and I reverse engineered weird stuff for a decade professionally. I understand how it all works, but it is easy to understand something once someone built it. Some of the design choices and constraints were just not things I would have thought reasonable for a project like this.
Single file Django deploys? Yes please
git clone https://github.com/jart/cosmopolitan
cd cosmopolitan
make -j8 o//third_party/python/python.com
Then put Django in the zip under the .python directory. You can also use the `.args` file just like redbean to have `-m module` run by default.