News for hackers. Stuff that matters.
Re:Where the Printf Rubber Meets the Road (2010) by asveikau on Saturday October 04, 2014 @09:21PM (#8411140)
I'll say, somebody is a little confused.

I still say, they don't understand varargs, don't understand the difference between stdio and write(), and most importantly, they are not curious enough to read documentation and make smart guesses. And I am saying, the bullshit obfuscation involved in this article, sharing so many meaningless implementation details about a very specific libc, will not help answer this question or gain insight more than RTFMing and being curious about the world would.

So... If you are even asking questions like... "Does printf use assembly?" I'd argue you are not thinking it through. You need to get yourself to a place where you can answer that yourself. It will be a very obvious answer when you do. Writing frivolous blog posts is not the way to get there.

Re:Where the Printf Rubber Meets the Road (2010) by hostilefork on Saturday October 04, 2014 @09:24PM (#8411148)
Just noting that the article is not the source of the bullshit obfuscation, nor does it condone it. I'm part of the Red project.

http://www.red-lang.org/p/contributions.html

We're trying to undo this stuff. I was just answering a question.

Re:Where the Printf Rubber Meets the Road (2010) by asveikau on Sunday October 05, 2014 @02:24PM (#8412963)
The article struck me as such because the important point is not how glibc layers things, it's the conceptual detail that stdio buffers first and then flushes with write(). [You happened to pick a really bad libc to pick apart because a much simpler implementation is possible.] If someone saw your post having no idea they would have to parse it out of what you are saying, and probably get lost, because you did not say it plainly.
Re:Where the Printf Rubber Meets the Road (2010) by zem on Saturday October 04, 2014 @09:33PM (#8411171)
red looks awesome, and has come a lot further than I expected! (i peeked at it a few years ago and there didn't seem to be much). I love that small executable sizes are an explicit design goal.
Re:Where the Printf Rubber Meets the Road (2010) by hostilefork on Sunday October 05, 2014 @09:29AM (#8412227)
The next release will be able to directly build and sign .APK files, with no JDK or JarSigner required to be installed. Still under 1MB for that same compiler executable on all platforms...that can also build PE (Windows), Mach-O (OS/X), and ELF (Linux etc.)

It's moving slower than we'd like, but definitely moving.