As a C++ developer I've recently been in the midst of the Exceptions debate. Exceptions as a feature of the C++ language have long divided the community, naively I've often put this down to their coming to the language from elsewhere (C perhaps) where exceptions were not the norm. This was a mistake, for in the projects I've previously worked upon the overhead of an exception compared to the ramifications of the error resulting in a crash have often totally outweighed the overhead, making deciding to employ an exception exceptionally easy (*bum bum*). Exceptions were the norm, still are and should be to you too (according to the C++ Core Guidelines https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Ri-except ). The difficulty, the dilemma if you will, comes not from the feature, but the cost. If you application domain demands high performance you can not risk using exceptions, the argument carries on therefore whether in not using them to avoi...
I have an important distinction to make clear... Cross Compiling is using a machine with a different processor type than the target machine for your program. So, you have a PC with an Intel Core 2 Duo in it, and you use a compiler to output an ARM executable, that is cross compiling. If you're on an Intel Core Duo toting 15" MacBook pro (from 2006 ) and you use that to produce the same ARM executable, that's still cross-compiling. BUT if you use that MacBook to generate a windows executable it's not cross compiling, as the processor is the same in both targets, you're not crossing over... Some folks argue this differently, because you're crossing between the Windows and Apple OS's you're cross-compiling. In my book, and by the definition given elsewhere, you're not, in this case you are cross-platform (the platform being the OS) but you're not cross compiling because the processors are the same family. That's all, I just wanted this out t...
I had a bad time getting off my addition... Addiction?... What am I talking about? Drink? Drugs? Women?... No I'm talking about Azeroth. Yeah, I was addicted to World of Warcraft, in a big way, it came after a time being a member of a top flight Day of Defeat teams - Yes, I was once a hardcore FPS player folks - Enemy Down ladder anyone? Yeah, old school.... And myself and another couple of players on the team (waves to Chaplain) were looking for something else to play, and it was the weekend before I started a new job - the job I currently still have technically - and a friend came to stay (waves to Paul) and he'd just bought a new game "World of Warcraft". Now I knew about Warcraft, I'd played the RTS games (I even still have my copy of Warcraft II on the shelf behind me) but I'd not ventured into any MMO ever before; yes EverQuest and even Ultima had passed me by. And I went out that night and bought the game from the local Asda. I rolled a human, a Wa...
Comments
Post a Comment