This page contains links to some (allegedly) useful code I have written.  All code on this page is free software.

I make no claims about the usefulness or correctness of any of this code.

Ace wrapper for GWT

I wrote a very thin wrapper that allows the Ajax.org Code Editor (ACE) to be used in a Google Web Toolkit (GWT) application.

The code is on github:

Pthreads fork/join framework

This is a very simple C++ framework for fork/join style parallel programming inspired by Doug Lea's fork/join framework for Java.  There is currently no documentation, but the example program is fairly self-explanatory.  I have done no performance tuning and very little testing of any kind on it, so caveat emptor.  I have only tried compiling/running it on Linux.

Web-based C programming environment

This is a really simple web-based editing and compilation system for C programs. Clients edit C code in a web browser. A "compile" button sends the code to the server, which compiles it and sends back the resulting binary. Right now, it only supports compilation using avr-gcc, but it could be modified pretty easily to support other targets. This was written for an interactive tutorial on embedded systems programming using AVR microcontrollers.

Note: it's a 7 MB+ download because it embeds the Jetty web app server.

Generic Web Application

This is a self-contained Eclipse project (using embedded Jetty) that is a useful starting point for a web application. It supports a single servlet, as well as static content.

Valid HTML 4.01 Transitional Valid CSS!