Re:KolibriOS – operating system written entirely in assembly...
by jcelerier on Wednesday April 15, 2020 @03:41AM
(#22875475)
There are some (x86) demos with sounds, graphics and input. Size is measured in a few hundred bytes (https://www.youtube.com/watch?v=pcdHY-eJVIY for a 256 bytes example or anything here really : http://olivier.poudade.free.fr). Is any C compiler able to generate this few code ?
[ Parent
| on HN ]
Re:KolibriOS – operating system written entirely in assembly...
by DagAgren on Wednesday April 15, 2020 @06:49AM
(#22876314)
No, but those are extreme outliers, and not relevant at all to discussion about large scale programs.
You can absolutely not write a program much larger than 256 bytes in the style you use to write those. It would be utterly incomprehensible and unmaintainable. The small size actually works in your favour here, and allows you to use incredibly questionable tricks.