Development Question
-
I was wondering if the developers uses JS or C#, cause i know they are using Unity. And if will be open source some day, that I strongly think that is not the answer. if they are looking for people to work on. Thanks!
-
Unity is slowly dropping support for JS, so I'd assume they're most likely using C#.
-
@nelchael Yeah, I was thinking that they are using C#, but JS would be better for database and multiplayer.
-
Besides, as far as I'm aware, SpatialOS only supports C#. I'm not 100% sure, but that's how I remember it.
-
@nelchael Oh didn't know about that, but it doesn't change the fact that JS is better than C# to make this connection, I think só... of course C# is better for the game itself
-
I really hope they did not failed like CoE developing with JS.
-
@finland said in Development Question:
I really hope they did not failed like CoE developing with JS.
How/why is that a failure?
-
@logain @nelchael said in Development Question:
I really dislike JS language except for web integrations. It's my point of view obviusly.
C and Python for games are the best.
Like I prefer PHP for web Projects.
-
@finland Well, since CoE isn't using Unity but Unreal Engine, Unity dropping JavaScript support is kind of a moot point for CoE?
Each programming language has its merits and its disadvantages, just like a nail and a screw. Both are great tools, just for different reasons (and different use case scenarios).
What edge do you think Python has over JavaScript?
-
@logain UE4 has born for C if you can do something with JS it's possible by a plugin. About python I find it way more performing
-
@finland said in Development Question:
@logain UE4 has born for C(...)
Most of the time you'd work with Blueprint, but I agree, deep changes on the engine should certainly be done with C++. Just that this should be very sporadic (else you're better off creating your own engine, or using one that better suits your needs).
@finland said in Development Question:
(...)if you can do something with JS it's possible by a plugin(...)
CoE runs TypeScript/JavaScript in Node.JS inside Docker containers and for a good reason. As I said in my previous post, each language has specific use case scenarios, and this is a perfect example. You wouldn't want to expose the ability to write C/C++/C# code to the customer for both security reasons and having to basically rewrite a framework to run the code in a trusted, secure, instanced environment, when it is available for free right out of the box (saving your sparse monetary funding).
So, I'm going to repeat myself again, how exactly is this a failure?@finland said in Development Question:
(...)About python I find it way more performing
If you're talking performing in the sense of benchmarks, it depends on the engine running JavaScript, which likely enough would be V8 in this case. Which means JS is faster, even without relying on asm.js.
-
Hi all, difference between Python and Javascript is fundamental
Python is an object language it could be autonomous once compiled to be executed by your Operating system (like a C/C++ program, in fact Python have a C/C++ in core)
Javascript is a script language and need an interpreter core to be executed, it couldn't be autonomous by itself (or with some bad trick) it deserve to be used on some actions, not to control an entire game (java would be better and java and javascript are different in multi-ways).