He just ported it. It doesn't necessarily run the quickest. I haven't tried (too busy getting that ray casting thing running faster), so I'm not sure. I have gotten the ray casting demo integrated into my code base and running a couple frames per second faster using some nicer textures

.