Why C++ for Unreal 4?

C# is non portable.
That is it.
It is that simple.
[/]

I’m sure the Mono and Xamarin people are devastated to learn that what they’re doing is impossible.

[=EruArnold;136298]
Sorry guys - last one before I leave…

Hmmm…

(Just had to…)
[/]

Which part you don’t understand?

[=The_E;136532]
I’m sure the Mono and Xamarin people are devastated to learn that what they’re doing is impossible.
[/]

Mono is over.

[=caner_ozdemir;136738]
Mono is over.
[/]

Really? That’s quite astonishing news, given that the latest Mono release was on September 4th.

[=;136599]
Which part you don’t understand?
[/]

The par I quoted you in that reply, about C# being somehow “less portable” then C++, given that Unity supports many more platforms than UE4 does…
You see the contradiction?
Your view is that C# can’t run in other platforms.
Reality shows that it runs on more platforms than your beloved C++ engine does…

[=EruArnold;136835]
The par I quoted you in that reply, about C# being somehow “less portable” then C++, given that Unity supports many more platforms than UE4 does…
You see the contradiction?
Your view is that C# can’t run in other platforms.
Reality shows that it runs on more platforms than your beloved C++ engine does…
[/]

You really don’t understand the point. The point being not to which platform you can deploy your game but on which platform you can run your engine.
Let me shout it to you:
C# IS NOT PORTABLE!!! GET IT!!!

[=;136878]
You really don’t understand the point. The point being not to which platform you can deploy your game but on which platform you can run your engine.
Let me shout it to you:
C# IS NOT PORTABLE!!! GET IT!!!
[/]

Are you using some weird definition of “portable” that the rest of us is unaware of? I mean, usually it’s defined as “can be run on multiple platforms”, something that C# code can do due to the valiant efforts of Mono.

[=The_E;136921]
Are you using some weird definition of “portable” that the rest of us is unaware of? I mean, usually it’s defined as “can be run on multiple platforms”, something that C# code can do due to the valiant efforts of Mono.
[/]

And the results are very, very unsatisfactory with regards to performance. I already mentioned that in one of my previous posts.

And yes, from the discussion I am having with you and “the rest of guys like you” I see that you are unaware of many, many things.

Answer to the Op and based in this unity page http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-in-unity/http://
C# runtime performance still lags behind C/C++
Garbage collection can cause pauses while running
C++ compilers and linkers provide a vast array of advanced optimisations previously unavailable.
Fundamentally, it differs from the current implementation in that the IL2CPP compiler converts assemblies into C++ source code. It then leverages the standard platform C++ compilers to produce native binaries.

I’ll repeat what I said during the West Coast DevCon: All programming languages suck. They just suck in different ways :slight_smile:

And by the way, programming in general sucks :wink:

I like blueprints :cool: Btw you can think that programming in general sucks but you have to prove the vicious engine script, this a another level, regarless to my love to vicious engine multiplatafom support.

[=gmpreussner;136998]
And by the way, programming in general sucks :wink:
[/]

Oh what a roller coaster this thread has been. Starting from mild curiosity, to entertainment, then dismay, pleading, turning into a deep self introspective journey into the ability of the human race to find common ground and find peace, the possibility of life on Mars, then back to entertainment and mild curiosity. That link there was about the best thing I’ve read in weeks. And let me tell you, I just read a SciFi book that was highly rated by over 2,000 amazon reviews which I believe I could have achieved better during my morning constitutionals by doodling on excess toilet paper, collecting the scraps, and shipping the collection to Random House Publishing. So, I needed that short masterpiece in writing in multiple ways.

[=;136878]
You really don’t understand the point. The point being not to which platform you can deploy your game but on which platform you can run your engine.
[/]

What? If you can deploy a game to a given platform then the engine must run on that platform - or you can’t deploy your game to that platform. “Deploy” is not just “copy the files over and stare at them,” it is “install and run on a given platform.”

[=;136878]
You really don’t understand the point. The point being not to which platform you can deploy your game but on which platform you can run your engine.
Let me shout it to you:
C# IS NOT PORTABLE!!! GET IT!!!
[/]

If so, I think you should give Unity-Technologies a call, and demand that they stop violating the space-time-continuum, with their (non-)existing business of (non-)existing hundreds of millions of game-installs on every platform imaginable, because this should not be possible according to your infallible-logic.
Really, what they are doing is blasphemy, and they are risking the entire fabric of the universe, destabilizing the foundation of existence, with such empirically-inconsistent phenomenons…

Reality must adapt itself to your perception of it, it’s inevitable - I stand corrected…

[=gmpreussner;136998]
And by the way, programming in general sucks :wink:
[/]

Was laughing for more then I laughed for a long, long time. It is absolutely brilliant. :wink:

[=VegasRich;137037]
What? If you can deploy a game to a given platform then the engine must run on that platform - or you can’t deploy your game to that platform. “Deploy” is not just “copy the files over and stare at them,” it is “install and run on a given platform.”
[/]

You can’t even imagine how wrong you are.

[=;137462]
You can’t even imagine how wrong you are.
[/]

Maybe you want to read this: Forums - PC Perspective!

Amazing how many of those are found in your posts. But worst of all, what you’ve been doing lately isn’t even listed there, which is completely refuse to debate. If this wasn’t the internet, you’d have been booed out of here a long time ago.

[=Gigantoad;137722]
If this wasn’t the internet, you’d have been booed out of here a long time ago.
[/]

Sure, by people like you who can’t accept the fact that they’ve made wrong choice and do not want to take time to learn something better. Agreed.

[=;137850]
Sure, by people like you who can’t accept the fact that they’ve made wrong choice and do not want to take time to learn something better. Agreed.
[/]

There are two main ways two conduct a successful line of discussion in a debate. You either use superior rhetoric, or superior facts; and over the entire course of your engagement here, you have failed at providing or utilizing either. All you’re doing is repeating “I am right, you are wrong” over and over again. This only serves to prove one point: That you have a lot of opinion and nothing to actually back it up. Hell, there’s an entire company and thousands of developers out there who are very successful and whose main product is predicated on you not being as right as you think you are.