News for hackers. Stuff that matters.
Re:Kerbal Space Oddities by robbyt on Friday July 28, 2017 @08:59AM (#14873906)
Maybe it's laggy because apps in Unity are written in c# instead of c+?
Re:Kerbal Space Oddities by freehunter on Friday July 28, 2017 @09:38AM (#14874163)
I don't think there's any reason why C# can't be comparable to C++, or any reason to think a programmer using C++ would be able to write significantly more efficient code than if they were using C#.

We're not talking about Python here, C# is a JIT compiled language not an interpreted one. The performance could be roughly comparable given the same code.

Re:Kerbal Space Oddities by steveadoo on Friday July 28, 2017 @11:37AM (#14875005)
True, but Unity is still using an old Mono runtime.

I think they actually just released a new version that supports a more newer runtime but I doubt KSP upgraded.

Re:Kerbal Space Oddities by Kurtz79 on Friday July 28, 2017 @11:39AM (#14875024)
A lot of AAA games use scripting languages for implementing game logic (notably Lua), even if the heavy lifting (graphics, physics, AI, etc...) is done with C++.