Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 537 posts.

2013
139

Asm.js: The JavaScript Compile Target

Like many developers I’ve been excited by the promise of Asm.js . Reading the recent news that Asm.js is now in Firefox nightly is what got my interest going. There’s also been a massive surge in interest after Mozilla and Epic announced ( mirror ) that they had ported Unreal Engine 3 to Asm.js – and that it ran…

142

Baby's First Garbage Collector

When I get stressed out and have too much to do, I have this paradoxical reaction where I escape from that by coming up with another thing to do. Usually it’s a tiny self-contained program that I can write and finish.

144

How I Got a 2x Speedup With One Line of Code

If you had asked me whether or not it was possible to get a 2x speedup for my LazySorted project by adding a single line of code, I would have told you "No way, substantial speedups can really only come from algorithm changes." But surprisingly, I was able to do so by adding a single line using the __builtin_prefetch…

145

Computer Science in Vietnam

During my recent trip to Vietnam I took the opportunity to visit some schools and see how computer science was taught there. Officially, foreigners require permission from the department of education to enter schools. But it's much simpler (and the results are more representative) to simply show up unannounced. A…

146

Do call yourself a programmer, and other career advice

This is a (very late) reply to Patrick McKenzie's " Don't Call Yourself A Programmer, And Other Career Advice ". I find much of his advice very sensible, and it might be very helpful to someone in the beginning of their career – assuming they can act upon it (and I really don't know whether my 20-year-old self could…

150

Some Notes About Time

This is a trade-off: you can't represent a leap second, and your time is guaranteed to go backwards. On the other hand, every day has exactly 86,400 seconds, and you don't need a table of all previous and future leap seconds in order to format Unix time as human-preferred hours-minutes-seconds.