Hacker News new | ask | show | jobs
by quesomaster9000 140 days ago
Cosmopolitan goes one further: [binaries] that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS on AMD64 and ARM64

https://justine.lol/cosmopolitan/

2 comments

>Linux

if you configure binfmt_misc

>Windows

if you disable Windows Defender

>OpenBSD

only older versions

Yeah while APE is a technically impressive trick, these issues far outweigh the minor convenience of having a single binary.

For most cases, a single Windows exe that targets the oldest version you want to support plus a single Glibc binary that dynamically links against the oldest version you want to support and so on is still the best option.

>> Linux

> if you configure binfmt_misc

I don't think that's a requirement, it'll just fall back to the shell script bootstrap without it.

On some distros, yes. On others it'll fire up Wine for whatever reason
Okay, yes, if you configure binfmt_misc for WINE and not APE then PE-compatible binaries will get run with WINE and not APE. That feels unfair.
>if you configure binfmt_misc for WINE

It came preconfigured on Ubuntu 20.04 and 22.04, don't know about newer versions.

Clearly a joke if it uses the .lol tld.
It's his personal website lol.
Justine identifies as a woman.
"identifies as" is an unnecessarily dismissive choice of words. She is a woman.
My statement was a fact, and in my opinion not politically loaded, yet respectful to Justine. I chose my words carefully.