Adam D. Ruppe: > Yes, it still works. The FPS on my computer hovers around 155. > The C version is about 180. > > If I change it from std.random.uniform to core.stdc.stdlib.rand, it gives > equal > results to C.
Good :-) If you want you may replace the writeln() (and remove std.stdio import) with a SDL_WM_SetCaption() (and see if it runs still). Bye, bearophile