Why C++ for Unreal 4?

[=EruArnold;136224]
(Or perhaps this)
https://.com/watch?v=i2fhNVQPb5I
[/]

If pro-C++ people here would be like that they would rether make there own engine using… C :stuck_out_tongue:

Wow this thread is still going. I still recall making my comment a couple months ago on page 1 :slight_smile:

So, of some interest, Unity is now looking into IL2CPP. Some of my acquaintances have went to Unite and have interacted with studios working on professional projects. One complaint I’ve heard is about Garbage Collection spikes which is of some concern. It doesn’t help that Unity has been running on a deprecated version of Mono.

Comparing C# to C++ is a super complicated topic because .NET C# and Mono C# are already too different things. Add Unity to the equation and we are talking bout a deprecated version of Mono until IL2CPP sees the light of day.

https://.com/

[edit] Don’t you guys think it is interesting Unity themselves are looking to generate C++ code instead of C#? Granted, this has more to do with their licensing issues with Mono then anything else.

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.