4 ms·
Strangely, Windows is one of the easier platforms to debug. Because mostly there are so many programming for it, thus lots of online experience to mine. I've t
by JoeAltmaier 13y ago
Strangely, Windows is one of the easier platforms to debug. Because mostly there are so many programming for it, thus lots of online experience to mine.
I've tried to write correct CoreAudio software for instance (part of writing audio code for a portable app). It turns out to be pretty much impossible. The libraries are immature; they post events to non-existant code long after the audio device is stopped and closed. Pretty much it only works if you write the same app everybody else is writing (which I am not). SO you add timeouts and use handles instead of pointers everywhere and vet all the callbacks to weed out the stale ones.
And there's nowhere to look to figure these things out, because everything you try in any deep library, you're the 1st one to try it. Because there's 1% the dev going on on that platform.
- jimbobimbo 13y agoThis is so true. I had an experience developing on top of a third-party proprietary stack that controls their piece of hardware - after spending several years in constant "trust no one" mode, I believe, I can debug practically anything. :) I'm actually thankful for this experience to a certain extent, because I learned how not to give up without giving a decent fight first.
- fit2rule 13y ago>>Strangely, Windows is one of the easier platforms to debug. Because mostly there are so many programming for it, thus lots of online experience to mine. I don't know about that, I find Linux to be absolutely the easiest platform to debug, personally .. so I haven't been much of a Windows 'person', but I do recognize that all platforms/architectures have their strengths. Its just that, for me, I see the solution to the whole twisted mess of it all is to simply define another platform. Windows serves as a great host environment for a Lua VM .. wrap this in such a way that the same basic code runs on all major platforms, and oila: no more dependency on outside frameworks/libs/etc. You own the platform in the 21st century, or it owns you. Simple as that; from the pepsiPhone to throwaway computing, we're all riding a slippery slope of use/dont-use because of, factually, fads. The new platform is the platform, as in the entire platform. If you have to subscribe, your toolset is broken.
- JoeAltmaier 13y agoHere's the chance to insert the inevitable xkcd comic. Anybody remember which one? About trying to combine 13 versions of Unix into one - result - 14 versions of Unix.