Among the most useful features added to C++11 is the range-based for statement. It is defined to be equivalent to the usual iterator-based loop from begin() to end() and makes standard iteration look way more appealing. Keeping the noise out of a large fraction of iterator-based loops is great, but other common for loops are [...]
Category Archives: programming
Over the last year I’ve been focusing on Qt Creator and have done several posts on the Qt Labs blog: RPATH and RUNPATH Qt Creator editor news New QML editor features Qt Simulator is going public
I spent the last few evenings working on a fun side project which is now complete: a level editor for Loren Schmidt’s Star Guard.
A new version of LDC, the LLVM based compiler for the D programming language has been released. It is built with DMDFE version 1.057 and LLVM 2.6. The runtime library has been upgraded to Tango 0.99.9. In addition to up-to-date dependencies, this release incorporates a wealth of fixes and improvements by Benjamin Kramer, Frits van [...]
The release 0.9.1 of LDC, the LLVM based compiler for the D programming language, contains the following major improvements:
Peter Modzelewski, member of the illustrious team0xf and an organizer of the Tango Conference 2008, has posted the video and slides of the talk on LDC Tomas Lindquist Olsen and I gave in September. The original summary was: The new D1 compiler based on the strong fundament of LLVM, the DMD frontend and the Tango [...]
The first version of LDC, the LLVM based compiler for version one of the D programming language has been released for x86-32 Linux. Get it here!
Exception handling is an integral part of the D programming language. Naturally LDC, aiming to be a complying compiler, needs to provide it. Here I describe how exactly user code, generated LLVM IR, the unwinding library and the LDC runtime interact to make it all work – at least on x86 Linux.
Currently, users of the D programming language can essentially choose between two mature compilers: DMD and GDC. I’ve started helping with the development of a third, LDC, and think the first public alpha version can’t be far off. In this post, I’ll give a short overview of the compilers available and say a few words [...]
Creating computer games is usually envisioned as a long and intricate process, requiring years of work by dedicated teams of professionals. Even in the open source world game projects often end up unfinished and abandoned after months of work have gone into them. The Game-in-a-Day events people have reported on during the last years defy [...]