3 ms·
It's not ideally written but it's safe to assume if someone compiles a quick test program for that purpose and it ends up being 4MB, they might just move on to
by cybrox 3y ago
It's not ideally written but it's safe to assume if someone compiles a quick test program for that purpose and it ends up being 4MB, they might just move on to other options instead of starting to think about how they can manually reduce the binary size.
When evaluating languages, you rarely look foor good enough results to work around.
- Novosell 3y agoMy machine has 32GB of RAM, why should I care about binary size? For embedded, sure. But most people don't write for embedded. If it was like 1GB, sure. But it aint.
- pdimitar 3y agoBecause your employer might want the deployed final binary work fast on a 1 vCPU container with 1GB of RAM.
- cybrox 3y agoThe other replies cover "the why" adequately already but as a tangent: Every company makes some effort to be green and eco friendly these days, yet we're perfectly happy wasting billions of hours of compute time every second because "who cares" and "we can"... Same mindset.
- rkangel 3y agoYes. The statement I agree the most with in the blog post is "defaults matter".