Printing hello world - bloatless edition

Need help with C, C++, perl, python, etc?

Printing hello world - bloatless edition

Postby Wheelerof4te » 2020-01-05 17:53

Drew Devault recently wrote this funny little blog post:
https://drewdevault.com/2020/01/04/Slow.html

I found it interesting how, in his intent to prove how higher-level languages introduce bloat, he forgot how many man-hours writting programs in those languages save. This one is golden:
"These numbers are real. This is more complexity that someone has to debug, more time your users are sitting there waiting for your program, less disk space available for files which actually matter to the user."

Just look at those lines in assembly just to write a simple "hello world" to a terminal. I really envy all those developers who wrote NES games. They were the real heroes of our time.

I am all for less abstractions in a language. But please, make it writable and readable first.
Wheelerof4te
 
Posts: 1454
Joined: 2015-08-30 20:14

Re: Printing hello world - bloatless edition

Postby Head_on_a_Stick » 2020-01-06 14:17

I don't think Drew is suggesting that everybody start using assembly :)

As I read it, the article is a warning about how quickly abstractions accumulate syscalls and how easy it is to bloat out a program. It's also an advert for musl libc.
Don't break DebianHow to report bugsDebian Reference Card

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10939
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Programming

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable