
Recent news
100,000 Lines of Assembly Language
Programming in the 21st Century - James Hague - April 13, 2012I occasionally get asked about writing Super Nintendo games. How did anyone manage to work on projects consisting of hundreds of thousands of lines of 16-bit assembly language? The answer is that it’s not nearly as Herculean as it sounds. The SNES hardware manual is…
More (21 comments)
This is Why You Spent All that Time Learning to Program
Programming in the 21st Century - James Hague - April 02, 2012There’s a standard format for local TV news broadcasts that’s easy to criticize. (By “local,” I mean any American town large enough to have its own television station.) There’s an initial shock-value teaser to keep you watching. News stories are read in a dramatic, sensationalist…
More (8 comments)
Turning Your Code Inside Out
Programming in the 21st Century - James Hague - March 23, 2012If I gave this assignment to a class of novice programmers: Write a C program to sum the elements of an array and display the results. Include five test cases. I’d expect multiple people would come up with a function like this: void sum_array(int array[],…
More (4 comments)
Solving the Wrong Problem
Programming in the 21st Century - James Hague - March 11, 2012Occasionally, against my better judgement, I peek into discussion threads about things I’ve written to see what the general vibe is, to see if I’ve made some ridiculous mistake that no one bothered to tell me directly about. The most unexpected comments have been about…
More (3 comments)
A Complete Understanding is No Longer Possible
Programming in the 21st Century - James Hague - February 27, 2012Let’s say you’ve just bought a MacBook Air, and your goal is to become master of the machine, to understand how it works on every level. Amit Singh’s Mac OS X Internals: A Systems Approach is a good place to start. It’s not about programming…
More (9 comments)
Don’t Fall in Love With Your Technology
Programming in the 21st Century - James Hague - February 15, 2012In the 1990s I followed the Usenet group comp.lang.forth. Forth has great personal appeal. It’s minimalist to the point of being subversive, and Forth literature once crackled with rightness. Slowly, not in a grand epiphany, I realized that there was something missing from the discussions…
More (2 comments)
A Peek Inside the Erlang Compiler
Programming in the 21st Century - James Hague - February 06, 2012Erlang is a complex system, and I can’t do its inner workings justice in a short article, but I wanted to give some insight into what goes on when a module is compiled and loaded. As with most compilers, the first step is to convert…
More (2 comments)
Four Levels of Idea Theft
Programming in the 21st Century - James Hague - February 05, 2012Imagine you’ve just seen a tremendously exiting piece of software—a mobile app, a web app, a game—and your immediate reaction is “Why didn’t I think of that?!” With your mind full of new possibilities, you start on a project, a project enabled by exposure to…
More (2 comments)
Pretend This Optimization Doesn’t Exist
Programming in the 21st Century - James Hague - January 31, 2012In any modern discussion of algorithms, there’s mention of being cache-friendly, of organizing data in a way that’s a good match for the memory architectures of CPUs. There’s an inevitable attempt at making the concepts concrete with a benchmark manipulating huge—1000x1000—matrices. When rows are organized…
More (42 comments)
Virtual Joysticks and Comfortably Poor Solutions
Programming in the 21st Century - James Hague - January 23, 2012Considering that every video game system ever made shipped with a physical joystick or joypad, the smooth, featureless glass of mobile touchscreens was unnerving. How to design a control scheme when there is no controller? One option was to completely dodge the issue, and that…
More (8 comments)
Erlang on Twitter
» voluntas (V): The Pragmatic Bookshelf | Programming Elixir http://t.co/LN2LzeLVGc こ・れ・は! 凄いなー本になるのか。Erlang VM で動く Ruby っぽい言語。一切使ったこと無いけど … 。
» ErlangSolutions (Erlang Solutions): The #OpenFlow Webinar is tomorrow! Don’t forget to register http://t.co/QbassfPF9q Find out what the #SDN buzz is all about
» javajoltbrett (Brett Hazen): #Ruby + #Erlang VM = #Elixir functional programming language overview video http://t.co/VM7Z7RVbOU via @andrew_j_stone
» username_eno (Eno Compton): RT @pat_shaughnessy: .@agisanast starts an interesting series on Erlang: “Dabbling in Erlang, part 1: Hello function” http://t.co/bQJjpnBQ7a
» OuchOuchOuch (Ouch!): RT @dll7: erlangとnode.jsだったらどっちが負荷に耐えるかと言われたら微妙
» la_luna_azul (Hiroaki Sano): 即席でmuninプラグイン作ったった。erlangのプロセス数とか...とりあえずコレじゃね?ってのをとりあえず取ってみる的な...:(;゙゚’ω゚’):
» gab_km (let ガブ = Some(エンジニア)): RT @dll7: erlangとnode.jsだったらどっちが負荷に耐えるかと言われたら微妙
» gab_km (let ガブ = Some(エンジニア)): RT @dll7: erlangにRedisか。俺が考えたnode.js+Redisと考え方は同じか
» phigminter (Travis Britt): Elixir looks pretty cool. Runs on Erlang VM. http://t.co/mPVhm5PJMg
» JCCodeHound (Justin Calcagni): a language built on the Erlang VM? sort of like scala is to java? My brain just did a Keanu in the Matrix “Whoa” http://t.co/7Fg912A9sv
Statistics
Number of aggregated posts: 10650
Most recent article: May 20, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…