June 14, 2011Should I bother porting Win32 threading examples?
I'm in the process of porting WinAPI examples from Petzold's Windows Programming book to D. In the book there's a chapter on multithreading. It covers thread creation, messaging queues, critical sections, TLS (heh..), and event signaling. Since we pretty much have all of this in D already (+ its multiplatform), I'm thinking it might be a good idea to skip translating this chapter's samples. I don't want to encourage newbies to use WinAPI threading functions when it's completely unnecessary to do so. I *could* however demonstrate how it's done in D instead, and put some documentation in the modules on how it works. So while it won't follow what the book says, at least it's there instead of being completely left out. Whaddya think, Windoze users?
June 15, 2011Re: Should I bother porting Win32 threading examples?
Posted in reply to Andrej Mitrovic
Andrej Mitrovic Wrote: > I don't want to encourage newbies > to use WinAPI threading functions You shouldn't encourage newbies to use any system calls, not just winapi.