News for hackers. Stuff that matters.
Re:Flappy Bird for Android, only C, under 100KB by kragen on Sunday September 22, 2024 @01:47PM (#41618635)
i would say 'whatever is in the extra 171.97 megabytes'

i wrote a calculator app including its own implementation of decimal floating point and it's still only 20 kilobytes

Re:Flappy Bird for Android, only C, under 100KB by internetter on Sunday September 22, 2024 @03:01PM (#41619132)
1. I doubt this includes GUI

2. The Qalculate CLI is 2mb, so perhaps your 20kb calculator could add some features while still being a 100% pure calculator

Re:Flappy Bird for Android, only C, under 100KB by kragen on Sunday September 22, 2024 @04:00PM (#41619578)
yeah, the 20-kilobyte calculator runs as an x-windows application, but it doesn't have any buttons or anything; it's keyboard-driven. the 'gui' is https://gitlab.com/kragen/bubbleos/blob/master/yeso/yesocalc...
Re:Flappy Bird for Android, only C, under 100KB by consteval on Wednesday September 25, 2024 @05:01PM (#41651824)
Depends a lot on the implementation. If you're dynamically linking to system objects and you're assuming the presence of X, you're chilling.

If you're using Rust and you have to compile in the whole world, probably not gonna be that small.