Re:Flappy Bird for Android, only C, under 100KB
by nixass on Sunday September 22, 2024 @01:27PM
(#41618484)
Why, what's wrong with 172MB calculator app?
[ Parent
| on HN ]
Re:Flappy Bird for Android, only C, under 100KB
by oneplane on Sunday September 22, 2024 @01:36PM
(#41618559)
A calculator app doesn't need that many megabytes of code and assets to be a calculator app. So if an app is way bigger than it should be, it usually means one of two things (usually!):
1. The app was not very optimised, perhaps created by a novice, containing a lot of things it doesn't need.
2. The app used to be really small, but a lot of extra code was added to serve you ads, profile you for better targeting or do sneaky stuff you didn't ask for.
Re:Flappy Bird for Android, only C, under 100KB
by mdp2021 on Sunday September 22, 2024 @03:00PM
(#41619130)
If a trip to the baker took 172 days, there would be over 171 used days to justify; if it took 172 engineers to change a lightbulb, it would have to be a very special lightbulb or explanations should be in order. Besides uses of concern of the extra resources spent, it simply just makes no sense.
Re:Flappy Bird for Android, only C, under 100KB
by bagels on Sunday September 22, 2024 @01:35PM
(#41618553)
Whatever is in the extra 150MB. Ads, spyware, bloat, slow performance.
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.
Re:Flappy Bird for Android, only C, under 100KB
by nixass on Sunday September 22, 2024 @03:12PM
(#41619212)
People here are vaccinated against sarcasm it seems
Re:Flappy Bird for Android, only C, under 100KB
by mdp2021 on Sunday September 22, 2024 @03:33PM
(#41619365)
People arrived to this shore after having experienced that what they considered unbelievable and untenable is actually believed and held by some - who may not even seem to be particularly an uncommon tail of an emerging population.
And this is why a good '/S' keeps you safe from misunderstanding.
Re:Flappy Bird for Android, only C, under 100KB
by camel-cdr on Sunday September 22, 2024 @04:38PM
(#41619875)
Nothing, but it better have a fully featured computer algebra system baked in.
Re:Flappy Bird for Android, only C, under 100KB
by userbinator on Sunday September 22, 2024 @05:06PM
(#41620073)
Early versions of Mathematica were only a few dozen MB and certainly have more functionality than probably most calculator apps you can find that are much bigger.
Re:Flappy Bird for Android, only C, under 100KB
by nuancebydefault on Sunday September 22, 2024 @05:17PM
(#41620153)
I would add an /i to keep your karma happy