On Tuesday, 30 September 2014 at 14:19:51 UTC, Araq wrote:
It doesn't mention anything about moving C++ into C#.
Even with IL2CPP, C# has fundamental design trade offs that
make it slower than C++(GC is just one of them), so it
wouldn't make much sense to port engine code to C# unless they
wanted it to run slower.
What are these fundamental design trade offs?
-GC
-no meta programming vs meta programming
-defaults to ref semantics C# vs value semantics C++
-C++ supports unique types, C# does not
-C# lambda automatic/GC, C++ lambda fully customized via capture
list
Guys I beg you, is there any chance I will get my answers? ;)
Sorry no clue what C++ features will be supported! Just glad
that a language is acknowledging how important it is to inter-op
with C++ for once.
C has fundamental design trade offs that make it slower than
Assembly
(function prologs is just of them), so it wouldn't make much
sense to port engine code to C unless they wanted it to run
slower.
I don't really think this is the same situations. I don't think
C# is any higher level than C++. Having a GC does not make it
automatically a higher level language, nor does it make it more
"productive".
That said, I think it is much easier to be productive in C# if
you are starting from scratch, but with the proper setup & in
depth knowledge of C++, it is every bit as productive(especially
in games, where things like GC end up as more of a burden).