Re:Cosmopolitan v3.1
by matheusmoreira on Friday November 24, 2023 @07:13AM
(#38403177)
Yeah, she actually got that feature standardized. Apparently it's a binary version of the feature used in those self-extracting installer .run scripts.
I finished the embedded segment loading feature by the way. I'm writing that article as promised but if you'd like to check it out ahead of time:
https://github.com/lone-lang/lone/blob/master/source/tools/l...
https://github.com/lone-lang/lone/blob/master/source/lone/au...
https://github.com/lone-lang/lone/blob/master/source/lone/se...
https://github.com/lone-lang/lone/blob/master/source/lone/mo...
I was reading Justine's Github profile, and there was a mention of POSIX systems natively supporting shebang programs made of binary + appended data out of the box. I don't remember the specifics, might be worth investigating how that works exactly.