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:

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.
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.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests