• 0 Posts
  • 44 Comments
Joined 11 个月前
cake
Cake day: 2025年6月4日

help-circle







  • As someone who does cross-platform development: everything on Mac takes twice as long, and breaks with every OS update. And that’s without even the switch from PPC to Intel 32 bit to Intel 64 bit to ARM.

    I’m exaggerating a bit, and I’m sure in many environments Mac is easy enough. But for us - there’s a reason we have more Mac developers than Windows and Linux combined, and it’s not because people want a Mac.




  • There are many things in C++ that are “undefined behaviour”, UB (and several similar but technically different terms). These may or may not result in an error or warning at compile time. Worse, they usually lead to crashes or even seemingly random behaviour - even in code that is not directly tied to the UB.

    The easiest example is memory management and pointers. You can create a new object and assign it to a variable. If you then delete the object, the variable could still point to the deleted object’s memory. And if you use that variable, that’s UB. It will likely crash, but probably not right away, which can be very hard to diagnose.

    An interesting fact about UB is that optimisers may assume it does not exist. They can basically reason “well this code path would lead to UB, which can’t exist, so this code path can just be removed”. This could theoretically even affect code that runs before the UB.






  • Syberia 1 and its remake, in parallel. It’s a good story with interesting characters.

    The remake is a mixed bag. Overall I do think it’s good. The graphics are beautiful and some quality of life is nice. It also changed some of the puzzles, usually (though not always) for the better. It’s mostly a faithful remake though.

    There are two big flaws: the cutscenes were not remastered, and the game became easier.

    Cutscenes are only upscaled as far as I can tell, and this is quite jarring compared to the beautiful new graphics. Worse is the difficulty. Syberia was never a hard game, but now it is just too easy. Hotspots are highlighted when your mouse gets near, as are required dialog options. I find this impedes the feeling of discovery.

    But despite that, it’s still a pretty good remake.