Hacker News new | ask | show | jobs
by mmsc 236 days ago
It's also possible to pack a whole codebase into "before main()" - or with no main() at all. I was recently experimenting doing this, as well as a whole codebase that only uses main() and calls itself over and over. Good fun: https://joshua.hu/packing-codebase-into-single-function-disr...
2 comments

That is a really fun read and honestly doesn't even seem to be complicated and brittle. Just rename every function to main(100+n, ...).
Just wondering, how did you get that domain name? I’ve been looking for registrars offering .hu
whois data points to https://www.domain.hu.