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

Just imagine the modern version of this.... 1 terabyte of JavaScript later ;)


There are many great code golf'ed, Tweet-sized JavaScript programs here -- https://www.dwitter.net/ :-)


I love this link, thank you!


My pleasure! I learned about it on HN as well, see https://news.ycombinator.com/item?id=25088683 for a recent (amazing) post


In a recent Advent of code (Night 23) I back ported my pascal Solution to Turbo Pascal 7 in DOSBOX... I had to use a file of longint because I couldn't fit 1,000,001 elements in RAM (4 megabytes)... but used a temp file instead. It took 10 minutes instead of 0.25 seconds, but it worked.

Both are command line programs, no GUI.

64 bit exe 215,850 bytes

16 bit DOS 5,632 bytes

The bloat is real.


> 64 bit exe 215,850 bytes

I believe you could make it significantly smaller at least by tweaking the linker settings and building in release mode, if this wasn't it already.


Yes, tweaking could make things smaller, but the point is that nobody bothers these days.




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

Search: