Guntha —
Hello, I vote UTF-8 only. Windows has the function MultiByteToWideChar() since Windows 2000, which…
If C++ exceptions are your thing, then I like this approach: It allows callee to return "exceptio…
Yes, something like that.
I would combination of 1 and 2. As a minimum you should do only point 2 - functions by default sho…
And you'll find that these code reviews are described "Review..." in the episode guide, e.g. "". O…
Original Comments: There will never be software exceptions in the traditional sense. I hate the…
I don't follow bitwise but from the project description on this site:
I don't have lot of experience with this but I would prefer as the user to use utf8 everywhere and…
At the moment FPL does support ansi strings for every function which uses either a path or a strin…
Hi, I've started following your videos (very interesting btw) and was dismayed to see large amount…
Dan —
It's been a few months, but I also want to highly recommend applying to be a GDC Conference Associ…
Dan —
I have done a lot of MS-DOS game programming. There is absolutely no reason to be scared running y…
Draos —
this is a really interesting post; never thought about this. so does it essentially search the reg…
Ok, got it. So as long as you have comfortable meta-programming capabilities in your language/env…
Opps, right - 8-bit sample typically are unsigned. But 16-bits are signed. So simply prepending 0 …
Another common pattern with COM objects is CoCreateInstance function. COM objects are registered i…
Awesome! Thanks for sharing the solution.
Jason —
In case anyone else has an issue with live reloading and function pointers I ended up implementing…
exactly. It's a common pattern with COM, a single stand along function to create the first COM obj…
so to instantiate all the COM methods we only need to call its create function, and it'll fill out…
COM objects are structs with a built in virtual function table which is filled in by the library. …
[/quote] True, I also tried prolog but instead got a bunch of hardware projects that happen to ha…
make that 255 out of 256 not used. You need to be careful which bits to expand out, when going fr…
For example, the earliest occurence of this in the series was with Audio, where we called GetProcA…
A lot of language features that look awesome at first glance just don't scale well in large projec…
That lisp talk makes me wonder how many people praising lisp have actually used lisp in a real way…
I'm not sure about this, but wouldn't using 16bit instead of 8bit (if the source is 8bit) change t…
There will be no difference in audio output quality whether you use 8-bit input sample for 8-bit o…
How they are better at generating assembly than any other C like language. If all you want from yo…
I don't understand this argument about lisp (and similar languages). How they are better at genera…