Saturday, 11 October 2008

Triangulated Irregular Networks (TINs)

The OCaml Journal just published an article about computer graphics:

"Adaptive subdivision is a hot topic in computer graphics and forms the foundation of many state-of-the-art algorithms for large scale visualization used for everything from scientific visualization of huge data sets to game graphics that immerse players in expansive virtual worlds. This article describes one of the most popular approaches for the adaptive subdivision of 3D meshes and implements a capable plotting algorithm with real-time OpenGL-based visualization showcasing how this simple algorithm works and can be used to solve many different problems..."

To read this article and more, subscribe to The OCaml Journal today!

Wednesday, 8 October 2008

Oberon-2 compiler written in 6kLOC of OCaml

Mike Spivey from the Computer Lab at Oxford University hosts the Oxford Oberon-2 compiler, which is written in OCaml with C for the Boehm-based run-time. The source code to the compiler is recommended reading for budding compiler writers using MLs such as OCaml.