Andrej Mitrovic: > Having a 1-to-1 translation helps in catching bugs > (and I've had quite a few of those).
After translating so much code have you seen some recurring patterns in your code conversion bugs? Time ago I have suggested a -cstyle compiler switch to DMD that activates some C-isms like C-style array declarations, and activates warnings useful to catch common conversion bugs, like a warning against passing by value large fixed-static arrays, having large static arrays of floating point values (that are initialized with NaN, so they cause quite large binaries), and so on. > 2. Generally calling into GDI is going to be much more noisy than > using some 3rd party GUI library, Right. I'd like the standard D distribution to have a little graphics module like simplegraphics, that I use now and then (not written by me) :-) Bye, bearophile