News for hackers. Stuff that matters.

andresmanz

Re:Magnum: C++11/C++14 and OpenGL Graphics Engine on Tuesday June 07, 2016 @04:42PM (#11857633)
Do so! Especially if you can learn a thing or two. Using bloated engines isn't always the best solution anyway, and yoi seem to be well aware of that.

And don't forget to post it on HN in case you should publish something like that. It sounds awesome.

Re:Bash on Ubuntu on Windows on Thursday April 07, 2016 @05:10AM (#11445850)
Same here. I use Windows maybe once or twice a year, and it's always a pain. "Winux" won't change that for me and to be honest, I don't really want to support Microsoft. Sure, I think VS is a pretty nice piece of software, but that's about it - too few reasons to switch.
Re:Java for Everything (2014) on Wednesday March 30, 2016 @06:09AM (#11388187)
Usually, game consoles and handhelds don't have a JVM installed. I don't see the point in porting (parts of) a JVM to these platforms for your games, especially considering the little benefit (if any at all) that would offer.
Re:Java for Everything (2014) on Wednesday March 30, 2016 @05:20AM (#11388002)
It did alright on PC. The problem I see there is that they had to reimplement it in C++/C# for other platforms, causing the updates to be way behind. Maybe I got that one wrong, but wasn't there some announcement that they'd switch to C++ in the PC version as well?

I'd like to add, though, that I don't generally see a problem with programming games in Java. I just prefer C++ for that, with portability being only one of the reasons.

Re:Vulkan in 30 minutes on Wednesday February 17, 2016 @05:38AM (#11116881)
Oooh, yes. It couldn't get any better, right? The amount of control you have here is just perfect.

If you don't like that, just wait a few days. I'm sure there will be tons of libraries that let you do that with a few lines of code.

Re:GoQt on Monday January 25, 2016 @08:24AM (#10967003)
Nice, I didn't know they'd add the compiler. I tried it back then, during the commercial license trial. But it didn't make much of a difference, if any. I remember being in a hurry, though, so maybe I did something wrong and I'd love to give it another try.
Re:GoQt on Sunday January 24, 2016 @06:32PM (#10964576)
It does, but I'm not sure if material design is ready now. There is qml-material[0] though, and it's pretty good. But: The last time I checked (maybe 5 or 6 months ago), QML/Qt Quick apps on Android took way too long to launch. I couldn't do anything about it, so haven't used it since then.

[0] https://github.com/papyros/qml-material

Re:Kojima Productions on Wednesday December 16, 2015 @09:50AM (#10744550)
Thanks, I'll need it! The chances are low, but hey, why not? I've been planning this for 15 years.
Re:Kojima Productions on Wednesday December 16, 2015 @08:47AM (#10744177)
Wonderful, writing my application now. That's why I learned Japanese in the first place, and some day it has to pay off!

(Well, the experience alone was worth the effort, of course.)

Re:I hate the C++ keyword auto on Tuesday December 08, 2015 @04:12PM (#10699565)
Woah, that line immediately reminds me of JavaScript at work, and one of the reasons why I don't like it.
Re:Remove the ++ and –- operators on Thursday December 03, 2015 @04:38PM (#10672849)
Because beginners could get confused when seeing the operators in other people's code, for example.

I remember the day I first saw a '++'. It was a rainy night, and I was inspecting a colleague's for loop, when suddenly a '++' operator appeared. I asked myself, "What in the holy bacon of Zeus is that?" So I looked it up in my book. My head almost exploded, and I asked myself if I should quit programming immediately. It was simply too complicated. After four months of agony and pain I finally recovered and started programming again. And yet... Sometimes, when it's raining outside, the memories come back. Programming... No, my life will never be the same again.

Re:IncludeOS: C++ unikernel now free and open source on Wednesday December 02, 2015 @05:10AM (#10662034)
I think that was just a comparison, because Linux can be very small.
Re:Mozilla Wants To Split Off Its Thunderbird Email/Chat Client on Tuesday December 01, 2015 @09:16AM (#10655419)
Same here, I'm 26. The industry has changed a lot when people realized you could make a shitload of money with the web/scripting stuff. Coding schools, open source communities and huge companies love HTML and JavaScript and Python and Ruby for their simplicity. Just take a bunch of people, tell them they could make a lot of money by learning some dead simple languages and there you go. Doesn't matter if they write the most disastrous code in the whole universe.

Look at Code Academy, for example. They add new programming languages and technologies every now and then, but basically it's always the same. Just like their audience. They won't add C to that list, because that wouldn't work for this average not-nerdy-enough-for-real-programming audience.

Re:React Native for Android on Tuesday September 15, 2015 @09:03AM (#10220372)
Thank you very much for your detailed answer. That really helps and I will finally learn React now.
Re:React Native for Android on Tuesday September 15, 2015 @06:25AM (#10219820)
I'm sorry for the stupid question, but I'm in a hurry: I don't really want to write the whole app logic in JavaScript. Is it possible in an easy way to have a React Native UI on top of a common C/C++ code base? I don't know React yet, but it gets very interesting now and I'd like to give it a try. Maybe it could completely replace Qt for me.
Re:Node v4.0.0 on Tuesday September 08, 2015 @03:43PM (#10187786)
Cross-platform, open source, lightweight and C(++). The example code on the website could use a little clean-up, but it's fine. Perfect! Thank you, sir.
Re:Unreal Engine 4.9 Released on Monday August 31, 2015 @02:56PM (#10148416)
I think it's a blessing. For me the most wonderful thing about game development is learning. I could learn so many things already and thanks to large engines like UE, I can learn even more every day. The larger engines are often used at huge companies, where they can make use of pretty much every single feature sooner or later.

I love writing everything from scratch just for the sake of learning. And yet I love engines like UE for trying new stuff and real world projects.

In large code bases, automatic testing significantly facilitates adding new features. I don't really know how they test UE, though.

Re:Windows 10 Review on Thursday August 27, 2015 @11:09AM (#10129855)
> Things I'm missing - Can't play Witcher 3 (but apparently a native version is coming soon), and I'll probably miss out on SW: Battlefront.

That's the one single reason why I keep Windows 8.1 on my HD. Over the last 3 years I've used Windows for maybe 13-14 hours in total. Fortunately, more and more games come out on Linux, too. And some games run pretty good in Wine. Fallout 3, for example, runs faster on Linux (with higher settings) than it does on Windows. Even though I updated everything, disabled pretty much anything that could run in the background and don't have much installed.

I can't even imagine how Windows can still be the preferred OS for gaming nowadays. Using Windows is a pain in the butt, and so is playing games on it. The whole OS by default wastes precious resources those games could use, and it gets worse with every new version. On Linux I'm the only person who tells the OS how and when to waste the resources.

Re:Unity Comes to Linux: Experimental Build Now Available on Wednesday August 26, 2015 @01:58PM (#10124830)
I think they are comparable, even if UE often gets presented with a first person view. Here's a large list of UE games that cover many different genres: https://en.m.wikipedia.org/wiki/List_of_Unreal_Engine_games
Re:Unity Comes to Linux: Experimental Build Now Available on Wednesday August 26, 2015 @09:39AM (#10122740)
Yes, and with a little bit of work you can install these packages on pretty much every distro anyway. I've got a few packages on Arch which are only officially supported on Ubuntu, and I never had any problems with them.
Re:Unity Comes to Linux: Experimental Build Now Available on Wednesday August 26, 2015 @08:21AM (#10122391)
Nice, so Unity is finally an option for me. Now it would be nice if the Unreal editor had official Linux support as well. (I know there's Wine, but it didn't work too well for me.)
Re:Cross-Platform UI in GitHub Desktop on Wednesday August 19, 2015 @03:49PM (#10087983)
Well, at least that's what I read all the time. I couldn't confirm it, too, but I always thought that's just because I'm perfectly fine with Qt. QML is also pretty good for responsive UI.

Maybe these companies prefer the web stuff because most developers know it anyway.

Re:Cross-Platform UI in GitHub Desktop on Wednesday August 19, 2015 @02:48PM (#10087603)
Yes, that's not unusual these days. I wonder if they even care when the user experience gets destroyed just for a bit less development time.
Re:OnHub on Tuesday August 18, 2015 @02:58PM (#10081365)
Thanks, but shouldn't these features be optional? I still don't get why I need a Google Account.
Re:Rust web framework, Iron on Sunday August 16, 2015 @07:21PM (#10070643)
> No one would (should!) ever consider writing a webservice in C++

Depends on what kind of web services you're talking about. C++ is widely spread in game development. It's nice to have the client and server code in the same language, so in game development, C++ web services (including multiplayer servers, if you count that as a web service) are not too unusual.

Two years ago, I even had a customer who wanted me to create a C++ backend for a large website. That was a surprise, of course. But it was fun, it's safe, and it works. You can easily test for safety, and the security logic stuff is just what you have in any other language.

Re:Heim – A real-time community platform on Sunday August 16, 2015 @11:47AM (#10069185)
Does IRC count?
Well, they do, kind of. Just that multiple inheritance is only allowed with the use of interfaces. In C++ multiple inheritance is supported, and interfaces are actually pure virtual abstract base classes. And that's what interfaces in Java (and C#, I think) are, just with the addition of some compiler checks for interfaces. Please correct me if I'm wrong, though.

I seldomly use mutiple inheritance in any language, and instead prefer composition.

Re:C2 Programming Language on Saturday August 15, 2015 @05:20AM (#10064819)
I couldn't get used to that form yet. getNumberOfEnemiesOnSamePlatform() is imperative, while numberOfEnemiesOnSamePlatform() is not. I think it's because I'm not a native English speaker, but the get version sounds like 'give me that value' to me, which would make sense. Usually, my function names are imperative (often with the exception of event handling functions) and that feels more natural to me. I'll do some research on the topic, though. There's a presentation where someone explains it, but I couldn't follow last time.

Older »