home mail me! RSS (2.0) feed

Scripting in Python, Ruby, Perl? No, in C++!

NOTE: there are a few posts about this tool in this blog already, but the cryptic name, cpsh, seems to have scared away some of you. Welcome back!
I have built something that is cool and useful, objectively speaking. That something is a shell - interactive or not - using C++. It does have a name, […]

cpsh 1.0

Ok, I finally finalized a first official version of cpsh, 1.0.
The project is found at Google Code, where there is a download area with precompiled binaries.
This version works on Mac OS X 10.4 (and probably older), with either G or Intel processor, and on Windows XP/2000.
Building
To build it on OS X, you need XCode 2.x […]

Finding and traversing DOM elements in JavaScript

Do you have to furnish a lot of HTML elements from JavaScript, such as for formatting or inserting special effects? Well, then you need to know the performance - or lack thereof - of finding and traversing DOM elements. And the performance hit of using Microsoft's browser.
This post tries to clarify the performance hits involved. [...]

cpsh - scripting in C++

I woke up last night with a conviction that C++ is not a worse "scripting" language than Perl or Ruby. After a few minutes awake, I had to turn on the computer and prove this nightly conjecture. I created a draft scripting environment for C++ in a few hours.
I call my nocturnal embryo cpsh for [...]