Top all-time · #4412
Blog Needs a Name
Personal blog · ahgamut.github.ioprogrammingsystems
Blog Needs a Name is a personal blog at ahgamut.github.io about programming and systems. Since 2021, 17 different Hacker News readers have linked it 19 times, most often “Python is Actually Portable”. The last post was in 2023, but the archive is still widely read.
Too few sampled comments (8) to say how often HN recommends it.?
Why HN links it
HN readers link this blog for its Cosmopolitan Libc posts on Actually Portable Executables, which describe Python, Lua and Rust builds that run on several operating systems from a single binary.
Summarised by Claude from a sample of 8 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Gautham's Blog
Most-linked posts?
- Python is Actually Portable6 people · 6 mentions · first linked 2022-07-26
- Rust is actually portable5 people · 5 mentions · first linked 2022-07-28
- Actually Portable Executables3 people · 3 mentions · first linked 2021-02-28
- Patching GCC to Build Portable Executables2 people · 2 mentions · first linked 2023-07-13
What Hacker News says?
I wonder if cosmopolitan libc[0] could be leveraged to create an actually portable executable™ without a rewrite, looks like someone has figured out compiling python 3.11.4 with it[1] [0] https://github.com/jart/cosmopolitan [1] https://ahgamut.github.io/2021/07/13/ape-python/
Comment linking /2021/07/13/ape-python/
on “Copyparty – Turn almost any device into a file server”Submitted Actually Portable Executables as a story · 683 points
HN discussion>We've just created a 336kb Lua interpreter binary that runs on seven operating systems, thanks to Cosmopolitan Libc. https://ahgamut.github.io/c/2021/02/27/ape-cosmo/
Comment linking /c/2021/02/27/ape-cosmo/
on “Actually Portable Executables”Submitted Rust is actually portable as a story · 355 points
HN discussionThe python article mentions those: https://ahgamut.github.io/2021/07/13/ape-python/ > This post describes a proof-of-concept Python executable (2.7.18 and 3.6.14) built on Cosmopolitan Libc, which allows it to run on six different operating systems (Linux, Mac, Windows, NetBSD, FreeBSD, OpenBSD)
Comment linking /2021/07/13/ape-python/
on “Rust is actually portable”Submitted Python is Actually Portable as a story · 291 points
HN discussion> The cool thing would be multi-host static binaries My first thought was someone is thinking about something like: https://ahgamut.github.io/c/2021/02/27/ape-cosmo/ There is also something similar that can make binaries that run even bare metal or as EFI apps. But I can't find at the moment. (Maybe someone else has the link?)
Comment linking /c/2021/02/27/ape-cosmo/
on “Exodus – relocation of Linux binaries–and all of their deps–without containers”Submitted Debugging C with Cosmopolitan Libc as a story · 191 points
HN discussionA target like Rust x86_64-linux-unknown-cosmo ? https://news.ycombinator.com/item?id=32260619 https://ahgamut.github.io/2022/07/27/ape-rust-example/
Comment linking /2022/07/27/ape-rust-example/
on “How fat does a fat binary need to be? (2021)”Submitted A proof-of-concept Python executable built on Cosmopolitan Libc (2021) as a story · 151 points
HN discussionI think that should be possible with Cosmopolitan Rust ( https://ahgamut.github.io/2022/07/27/ape-rust-example/ ). It would create a Baremetal runnable ELF binary with just cosmopolitan libc statically linked, not sure about driver support though.
Comment linking /2022/07/27/ape-rust-example/
on “Serving a high-performance blog solely from memory, using Rust”Submitted Patching GCC to Build Portable Executables as a story · 13 points
HN discussionThanks for updating the blog post too with the datasette screen recording, the speed difference is quite noticeable. Adding it here since a few people were wondering about it in the comments, but feel free to check the original article for the 2024 update: https://ahgamut.github.io/images/ape-datasette.gif
Comment linking /images/ape-datasette.gif
on “A proof-of-concept Python executable built on Cosmopolitan Libc (2021)”Submitted Patching GCC to Build Actually Portable Executables as a story · 4 points
HN discussion> Still not a single binary but as you note with it being written in python and based on cdparanoia, etc how would that work? Cosmopolitan python is a good starting point: https://ahgamut.github.io/2021/07/13/ape-python/ > IMO Docker is one of the "best" and most straightforward ways to package up all of this No. Using containers has its place. But would you use containers on hello world? Likewise, if you've got to…
Comment linking /2021/07/13/ape-python/
on “Whipper: Accurate Audio CD Ripping”Submitted Rust and Cosmopolitan Libc (2022) as a story · 2 points
HN discussionSubmitted Python Is Portable (2021) as a story · 2 points
HN discussionSubmitted Python Is Actually Portable as a story · 2 points
HN discussionSubmitted Portable Executables with Rust and Cosmopolitan Libc as a story · 1 points
HN discussion