News for hackers. Stuff that matters.
Re:Pokémon Crystal disassembled source code by userbinator on Monday May 19, 2014 @10:52PM (#7771010)
As the comment in https://news.ycombinator.com/item?id=7769456 notes, these games were written in Asm while busybox is C.

It depends on the exact proficiency of the programmers involved and the compiler/platform/etc., but it's not unusual to have an order of magnitude difference or more between the same application written in Asm vs. a high-level language like C.

People have tried to rewrite standard *nix utilities in Asm; one example is Asmutils[1][2] which certainly illustrates the "order of magnitude or more" size difference. If you're curious about extreme size optimisation there are many cool examples of that in the demoscene, like 96KB games[3] and all the 4k/64k intros.

[1] http://en.wikipedia.org/wiki/Asmutils

[2] http://asm.sourceforge.net/asmutils.html

[3] http://en.wikipedia.org/wiki/.kkrieger

There are no comments on this comment yet.