Monthly Archives: July 2008

Syntax-highlighting in web pages

I’ve recently moved my blog to http://blog.higher-order.net. In this transition I used WordPress’ feature of importing blog content from my old blog: higher-order.blogspot.com. Unfortunately all the line-breaks from the pre-formatted JavaScript source code disappeared in the process, and so, I … Continue reading

Posted in General | Leave a comment

blog moved

I’ve moved my blog to blog.higher-order.net — welcome again

Posted in General | Tagged | Leave a comment

Manual code specialization:a poor-mans partial evaluation in JavaScript

Recall the object function that Douglas Crockford is promoting in his work on prototypal inheritance in JavaScript: function object(p) { function F(){} F.prototype = p; return new F(); } The object function creates a new object which has the input … Continue reading

Posted in closures, code specialization, JavaScript, partial evaluation, performance, sharing | Leave a comment