Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Super Mario Bros was just 40KB

https://news.ycombinator.com/item?id=21213421



It was also made to work on exactly one hardware specification, with no operating system to speak of. This flappy bird clone works on an immeasurable number of devices, with varying hardware AND software configurations!


Cosmo gives you what you described above and it’s <10kb

https://github.com/jart/cosmopolitan


Well these days cosmocc -mtiny is more like 120kb, now that our binaries support ARM platforms too (like Android!) and all the code I've needed to add to make sure Cosmo works reliably for a longer tail of edge cases. But that's saying a lot, since unlike these APKs cosmo binaries don't need a gigabyte JDK to run.


Does Cosmo support for OpenBSD change at all due to pinsyscalls?

https://man.openbsd.org/pinsyscalls.2


I don't think so. OpenBSD 7.3 works great. Their latest release broke APE in two ways: https://github.com/jart/cosmopolitan/issues/1263 I'm not sure if something like this is an accident. We might need to shift our support to something like DragonflyBSD, Haiku, or SerenityOS if OpenBSD doesn't want us there.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: