Bluish Coder

Programming Languages, Martials Arts and Computers. The Weblog of Chris Double.

Little Smalltalk and Javascript for Minix

I've been working on porting some small programs to Minix to get familiar with what's required for ports. From there I hope to get some bigger stuff working that I really want to use like Factor and Erlang. So far I have Little Smalltalk working (including the web based class browser and editor) and SpiderMonkey Javascript. Porting is a little... more →

Lightweight threads with Narrative Javascript

I've put together a very simple lightweight threads example with Narrative Javascript. The demo creates two threads: function t1() { var element = document.getElementById("one"); var count = 0; while(true) { sleep->(100); element.innerHTML=count++; concede->(); } } more →

HTML Template Languages

There's a discussion going on in the Erlang mailing list about HTML template engines. This is JSP-style definition of HTML pages with portions replaced dynamically with data from an application. I've leaned towards building HTML pages in code using Lisp style S-expressions for HTML, or Seaside style building of pages. This is also the approach I took in building the... more →

Unenterprisey languages going strong

The Unenterprisey Languages Meeting held in Wellington yesterday went very well. The turnout was good with about 16 people there and the talks by Jonathan, Robert and Geoff were great. It's good to see and hear about languages like Io, Common Lisp and Erlang being used. Jonathan talked about Io's prototype based OO system and how inheritance works in it.... more →