Layers of Abstraction
JWZ on porting the classic melty-numbers Dali Clock app to Palm Pré:
It's a little slow. It is, in fact, a bit slower than the PalmOS "Classic" port. And, for that matter, the original Xerox Alto version. Why, you may ask? Because this port is written entirely in Javascript.frsrs.
Let's take a moment to ponder this version and the Alto version, and just how many wasted instructions, layers of abstraction, frameworks, toolkits and outright cruft have gotten between the algorithm and the frame buffer in the intervening twenty-seven years. This program makes my phone hot.



certron
#1 – 7:30 AM June 26, 2009
The heat generated is needed in order to make the numbers melt, obviously.
scaught
#2 – 7:47 AM June 26, 2009
Oh, there are a couple versions available for iPhone, too. Thank god, I thought I bought the wrong phone for a minute.
muteboy
#3 – 9:10 AM June 26, 2009
The old freeware PalmOS app Watchmaker (http://steilberg.eu/page2.htm#k1) has a melty clock mode, which is a bit sluggish, but effective.
Brant
#4 – 9:57 AM June 26, 2009
"All problems in computer science can be solved by another level of indirection" --Butler Lampson
"...except for the problem of having too many levels of indirection" --Kevlin Henney