4 ms·
Lost interest when it became Windows-only. Writing C on Windows is a nightmare and the chance of portability plummets if you aren't targetting a POSIX system fr
by Sir_Cmpwn 12y ago
Lost interest when it became Windows-only. Writing C on Windows is a nightmare and the chance of portability plummets if you aren't targetting a POSIX system from the start.
- JoeAltmaier 12y agoThat's just silly. C is standard everywhere. Writing it on Windows is a matter of your facility with the IDE you choose, which can be a portable one if you wish. The chance for portability depends on the graphics engine you choose or write. Our project (Sococo) is portable across Windows, Mac, iOS, Android and several versions of Linux. The Windows/graphic part is a tiny part of the code.
- Sir_Cmpwn 12y agoHe's going to write his own renderer, he's not using SDL or anything. He's going to be opening his own windows and drawing to them directly. The chance at portability is extremely slim, and on top of that those of us who use saner operating systems won't get to enjoy it for a long time.
- JoeAltmaier 12y agoSO the portability effort is - opening a window and drawing? How is that difficult. Writing his own renderer means its pretty easy to be portable. He'd have to make a special effort to include platform code in what's normally a pure-math engine, right?
- deleted 12y ago[deleted]
- esrauch 12y agoI think you might be surprised how much code it takes to open a window and draw to it in C without using something like SDL.
- JoeAltmaier 12y agoIt takes some boilerplate code that can be googled. Irrelevant how much; it takes little effort.
- deleted 12y ago[deleted]
- crugg 12y agoTaken directly from the website: Will the game support multiple platforms? Yes! Windows will be the first platform, since it is currently the most common gaming platform, but the series will later cover (at least) Mac, Linux, and Raspberry Pi. Portability will be a major topic in the series, so all the code will be structured to demonstrate how to write code that is easy to port to new platforms.
- Sir_Cmpwn 12y agoI realize that he's promised eventual support for sensible systems, but it's _much_ easier to write code that is portable from day one than to port something later. Everyone who's not using Windows will miss out on the majority of the project, too, having to wait until it's decided that portability is a concern.