News for hackers. Stuff that matters.
Re:Actually Portable Executables by egeozcan on Sunday February 28, 2021 @08:40AM (#26293336)
Only your own creativity seems to match your intelligence; excellent, excellent work!

I was wondering if we can accompany runtimes written in C (like lua) with some scripts? So we have cross-platform, double-click-to-run scripting?

For us poor souls who can't write reliable C code, that would be a great thing!

Re:Actually Portable Executables by jart on Sunday February 28, 2021 @09:02AM (#26293471)
Yes we can do that. There's a real opportunity here to define a novel API / framework on top of Cosmopolitan that does just that. It's something I myself have personally refrained from, mostly because fiddling with the low level bits is what I'm best at, and novel APIs require a certain kind of artist. But I'm certain that someone if not myself at some point is going to come along and use Cosmo for that purpose and it'll be pretty cool.