News for hackers. Stuff that matters.
Re:Handmade Hero: C game from scratch by axotty on Thursday November 13, 2014 @10:02PM (#8605616)
Wow. I can't even begin to express how much the premise behind this series resonates with me. I've been looking for something just like this.

My only issue is that, although in C, the preview/introduction video seems pretty centered around visual studio[0]. In the FAQ you say that multi platform support for *nix systems will be added later.

How exactly will this work for those of us who want to follow along, but don't have Windows?

[0] https://www.youtube.com/watch?v=F3ntGDm6hOs

Re:Handmade Hero: C game from scratch by AlexeyBrin on Friday November 14, 2014 @01:17AM (#8606049)
Judging by the initial video, you won't be able to follow this without a Windows machine. The author plans to implement a game from scratch (no third party library will be used) in C on Windows, which means he will use Win32 functions (OS specific code) for creating a window, reading/showing image files etc ...

If you want to follow along from day one I suggest you install Windows in a virtual machine (you can download a legal copy of Windows and use it for about a month, just make sure you regularly save the code on your main OS). Alternatively, you can wait until the author will present how to do the same thing (window creation etc ...) on a Unix like OS.

Re:Handmade Hero: C game from scratch by mcb3k on Friday November 14, 2014 @11:38AM (#8607993)
You can actually use an unactivated copy of Windows 7 for longer by using "slmgr /rearm" in cmd (which needs to be run by right clicking cmd.exe and choosing the "run as administrator" option). You can extend the license 3 times (leading to 120 total days). It should be noted that you can apply it after the temporary licensing has expired.

I'm not sure if this applies to Windows 8 or 8.1, however.

Re:Handmade Hero: C game from scratch by tdsamardzhiev on Friday November 14, 2014 @07:32AM (#8606823)
He'll probably use SDL for that kind of stuff.

P.S. EMACS!!!

Re:Handmade Hero: C game from scratch by AlexeyBrin on Friday November 14, 2014 @08:40AM (#8607020)
I doubt he will use SDL, the author mentions in another video that he is interested in implementing his own render. Also, he claims he won't use DirectX or OpenGL.
Re:Handmade Hero: C game from scratch by melling on Friday November 14, 2014 @09:28AM (#8607242)
He said he might you some OpenGL near the end. Hopefully, he does because using the GPU will allow for so much more performance. I guess he can make that a separate class.
Re:Handmade Hero: C game from scratch by rootlocus on Friday November 14, 2014 @08:32AM (#8606992)
Yeah, because SDL is not an engine, so he can still boast he made it from scratch.
Re:Handmade Hero: C game from scratch by 1qaz2wsx3edc on Friday November 14, 2014 @02:18AM (#8606163)
Re:Handmade Hero: C game from scratch by thelinked on Thursday November 13, 2014 @10:24PM (#8605669)
Answered in the Q&A video that followed the one you linked to. The project will be avoiding OS specific code as much as possible so I can't see a there being a dependency on visual studio. http://youtu.be/I5fNrmQYeuI?t=11m21s
Re:Handmade Hero: C game from scratch by tbrock on Friday November 14, 2014 @09:40AM (#8607302)
Good luck writing anything but C89 with visual studio. This project sounds amazing and I'm going to probably try it but Microsoft has abandoned C for a while now so visual studio is a complete turn off for this use case.
Re:Handmade Hero: C game from scratch by fundamental on Friday November 14, 2014 @09:57AM (#8607371)
I'm reasonably certain that this has started to change in MSVC 2013. They have stated that they have improved the C99 library support and unless I'm mistaken they have finally permitted mixed code and declarations.
Re:Handmade Hero: C game from scratch by pjmlp on Friday November 14, 2014 @01:30PM (#8608656)
They have implemented the C99 parts required by C++14 standard, plus few extra parts required by some well known open source projects. It remains open if they will ever implement the rest in MSVC++.

However, VS 2015 will have clang integration.