News for hackers. Stuff that matters.

RoboSeldon

Re:Ask HN: HMH anti-OOP movement on Tuesday July 28, 2015 @12:49PM (#9962868)
I didn't followed the Youtube comments, however the comments from the Twitch chat are strongly biased to the no-OOP camp ... It is interesting to see how Casey's followers are more vocal than him. While Casey has technical arguments to reject OOP (more or less justifiable) the disciples seem to have (at least some of them) a visceral hate for OOP which I find hard to understand from such inexperienced people (most of them are students).

Ask HN: HMH anti-OOP movement

For some time I follow handmadehero.org where Casey Muratori teaches how to implement a game from scratch (no libraries).I have some trouble conciliating what he (and other people that follow him on Twitch) teaches about OOP with what I've learned in school. Basically they claim OOP is bad, that most C++ is horrible (especially OOP), that the new C++11/14 is unnecessary and that we all should...

( Read More... | 7 comments | 4 points | on HN )
Re:Function overloading in C on Sunday July 26, 2015 @11:07AM (#9951224)
Works with Clang and GCC.

Obviously, Visual Studio doesn't work (they have almost complete support for C99 though, so maybe in a few years they will include C11 support).

Re:Phaser 2.4 Released on Sunday July 26, 2015 @11:03AM (#9951215)
I've had a completely different experience. Phaser is one of the easiest to use JavaScript game engines and the documentation is well written, also they have plenty of examples. If you prefer to learn from a book, there are also a few books available.
Re:Phaser 2.4 Released on Sunday July 26, 2015 @11:01AM (#9951211)
Phaser has a cleaner API, is more popular and has way better documentation.
Re:Phaser 2.4 Released on Sunday July 26, 2015 @10:58AM (#9951197)
Anything that can serve static web pages will work, you can even share it from Dropbox and people will be able to play the game in their browsers.

If you want free, a Github page is a good option.

In a one on one situation at a close range you are right, in theory.
Lets try a metal experiment, you have your knife and 3 enemies attack you at the same time. How many can you neutralize from 5 feet with your knife ? Suppose you have special training and you can throw your knife and kill one of them, you still have 2 ... Try the same mental experiment when you have a firearm in your hand ...

You can inflict much more damage with a firearm even without special training (not everybody can throw a knife and do some damages).

While this may have an influence, it's important to remember that police officers are also trained to be wary of knives

Are you seriously comparing a knife with a firearm ?

I know :) but I still find it amusing. In a similar vein, in most Hollywood movies Romanians are presents as thugs, but with Russian names.
Others were back in Romania only briefly because they needed to take care of paperwork in Budapest.

Hilarious that the author thinks Budapest (this is the capital of Hungary) is in Romania :). Maybe he thought of Bucharest.

Pretty sure if you make more than 1mil per year you can afford to buy VS. The community edition is intended for indies, hobbyists and small enterprises.
You can use Community at work as long as you are a small enterprise (less than 5 dev) and you make less than some (huge) amount per year.
Have a look at VSVim it is a Vim emulation layer for VS if you are really into Vim.
If my understanding is correct you're using VS and writing C#. If that's the case it's just stupid to use VIM.

Please don't call people stupid just because you don't like their workflow. BTW, you can use a Vim emulation layer in VS.

Re:Ask HN: How do you organize teamwork in C? on Saturday July 18, 2015 @12:41PM (#9908011)
There is no pre-made recipe. You define the scope of the project, you split it in a few "modules" with a well defined interface (functions headers in this context) and data structures and you start coding.

You should do some searches to check how big C projects like the Linux kernel (or any of the BSDs kernels) is managed.

Re:GCC 5.2 released on Thursday July 16, 2015 @11:09AM (#9897667)
gfortran which is part of GCC supports modules (this is because Fortran the language supports modules).

If you meant modules for C or C++, no (as far as I know), probably because C and C++ have no standard for modules. In a recent talk Bjarne Stroustroup talks about his hope that C++17 will include support for modules https://www.youtube.com/watch?v=2egL4y_VpYg

Re:Visual Studio 2015 Final Release Event on Thursday July 16, 2015 @08:06AM (#9896657)
Are you on Linux or on a Mac ?

If you are on a Mac, you should definitely give a try to XCode it is, after all, the official Apple IDE. Not even close to Visual Studio, but not as bad (for C++ at least) as many people advertise.

For Linux, Kdevelop seems nice, other Linux C++ IDEs: Eclipse, NetBeans, CLion.

You should also probably try Vim and Emacs at least once, start with their included tutorials.

Re:iTerm2 Shell Integration on Monday July 13, 2015 @05:16PM (#9881156)
Not exactly an iTerm2 clone but pretty close conemu https://code.google.com/p/conemu-maximus5/
Re:Mandelbrot Set with SIMD Intrinsics on Friday July 10, 2015 @08:26PM (#9867878)
Casey has took a week off for a medical urgency in his family.

If you want to see how alive is Hand Made Hero just follow Casey on Twitter and check the Forums from handmadehero.org.

Re:Microsoft to Cut Jobs, Take $7.6B Nokia Writedown on Wednesday July 08, 2015 @06:53PM (#9855143)
Because you can't use .NET CoreCLR as it is on Android. You will need to modify it in order to be able to compile it for Android. Here is a discussion about an attempt to modify .NET CoreCLR in order to be able to compile it for Android https://github.com/dotnet/coreclr/issues/1097

On iOS the situation is even worse you will need to have an AOT compiler for C# in order to be able to ship iOS apps in the Apple Store.

You are making a confusion here. Unity doesn't use Xamarin at all, they have an old license (like really old, since before Xamarin even existed) for Mono for iOS and Android.

Re:Microsoft to Cut Jobs, Take $7.6B Nokia Writedown on Wednesday July 08, 2015 @11:32AM (#9852218)
.NET CoreCLR is indeed open source, but I doubt you can use it for Android or iOS.
Re:Microsoft to Cut Jobs, Take $7.6B Nokia Writedown on Wednesday July 08, 2015 @11:30AM (#9852196)
Xamarin Studio is better than MonoDevelop and (at least this is what they claim) free to use for Desktop (Window and Mac) applications http://www.monodevelop.com/download/ :

For Mac and Windows, you can download Xamarin Studio which is a bundle of MonoDevelop along with Xamarin iOS/Android plugins and branding. Note that a Xamarin license is only required if you develop iOS/Android projects, all other project types are free without restrictions.

Older »