According to everyone with half an idea on how to be proffesional in the gaming industry: no, c++ is the absolute best language.BUT IT IS TERRIBLE
According to everyone with half an idea on how to be proffesional in the gaming industry: no, c++ is the absolute best language.BUT IT IS TERRIBLE
Well it is decent for games because it is fast. It is not high-level at all. It is bad. It hurts meAccording to everyone with half an idea on how to be proffesional in the gaming industry: no, c++ is the absolute best language.
Too bad, I would kill for a C++ minecraft.Well it is decent for games because it is fast. It is not high-level at all. It is bad. It hurts me
I would kill for a clojure minecraft. As it would probably perform better than C++ mc because everything could be easily multithreadedToo bad, I would kill for a C++ minecraft.
Also, if you make a tiny mistake in C++ you murder performance. And knowing the mojang team I bet they would mess up somehowToo bad, I would kill for a C++ minecraft.
Again I'm not too sure what Clojure is capable of, but I seriously doubt it would be faster than C++, does it have direct access, support libraries and the ability to embed scripting for easier access later?I would kill for a clojure minecraft. As it would probably perform better than C++ mc because everything could be easily multithreaded
True.Also, if you make a tiny mistake in C++ you murder performance. And knowing the mojang team I bet they would mess up somehow
What do you mean by this? C++ goes through C and then through assembly and then to binary thus not direct accessdoes it have direct access
All Java libraries, and there is a good bit of clojure ones if I am correctsupport libraries
yesembed scripting for easier access later
Direct access to the hardware. I seriously doubt that there would be as much support for Clojure as most gaming hardware and software is built to assume C++. And last time I checked Mojang has a track record of messing up multithreading. Anyway, isn't functional programming stunted for games as it is too high level for fast hardware control? I need to research this more but work has been getting in the way.What do you mean by this? C++ goes through C and then through assembly and then to binary thus not direct access
All Java libraries, and there is a good bit of clojure ones if I am correct
yes
Also, it is easy to make multithreaded code in, and thus would be faster than C++ because multi-threaded almost always beats pure speed. And it being extremely easy the mojang team (hopefully) wouldn't mess it up
That garbage collection makes me cringe so badly though...Java will always be the language in my heart <3
I'm off.
No high-level programming language has this (yes C++ is considered high-level)Direct access to the hardware
That's only consoles, which isn't MC's main platformI seriously doubt that there would be as much support for Clojure as most gaming hardware and software is built to assume C++.
In Clojure almost all of the basic stuff is handled for you making it really easy (research it)And last time I checked Mojang has a track record of messing up multithreading.
It isn't too high level at all. In fact all of computer science is based off the lambda calculus (equivalent to a turing machine). Which is a functional languageAnyway, isn't functional programming stunted for games as it is too high level for fast hardware control?
Wikipedia said:Today, the lambda calculus has applications in many different areas in mathematics, philosophy,[2]linguistics,[3][4] and computer science. It is still used in the area of computability theory, although Turing machines are also an important model for computation. Lambda calculus has played an important role in the development of the theory of programming languages. Counterparts to lambda calculus in computer science are functional programming languages, which essentially implement the lambda calculus (augmented with some constants and datatypes)
It is really interestingI need to research this more but work has been getting in the way.
There is so much wrong with that. In so many waysJava will always be the language in my heart <3
I'm off.
That garbage collection makes me cringe so badly though...
But it has low level manipulation.No high-level programming language has this (yes C++ is considered high-level)
Check the sales numbers. Anyway, according to some quick searches, functional languages have some of java's problems as well, namely garbage collection which is a massive problem with minecraft.That's only consoles, which isn't MC's main platform
I mostly learn this stuff from my professors but I really want to learn more about it, where do you get your sources?Can anyone tell I like programming language theory? And programming philosophy?
True, but you can access C++ and C from Java and thus clojure, so for anything that needs to be very fast it can be implemented thereBut it has low level manipulation.
True, I know a lot of people that play consoleCheck the sales numbers
And you think letting the Mojang team manually manage their memory would be better?Anyway, according to some quick searches, functional languages have some of java's problems as well, namely garbage collection which is a massive problem with minecraft.
Reading, getting interested in new languages and reading reviews and critiques. I would recommend looking at the talks about clojure by the creator of it (Rick something). It is really interestingI mostly learn this stuff from my professors but I really want to learn more about it, where do you get your sources?
All I know is they suck at writing optimised code in general. :/And you think letting the Mojang team manually manage their memory would be better?
Yeah, and Clojure would make it relatively easy for them to do multi-threadedAll I know is they suck at writing optimised code in general. :/
Functional would win out. AlsoIt would be interesting to see people try and create a C++ and a functional based version
Java works for modded. And Clojure would allow great multi-threaded. And then you think putting memory management in the hands of some mod devs would work well *laughs* Yeah definitely.I don't think C++ would be too needed for vanilla, as Clojure really does seem to be able to handle it well, however modded is a different story.
Not like yall wouldn'tFunctional would win out. Also
https://github.com/arcadia-unity/arcadia
We would have unity on our side
Again, the garbage collection problems that functional seems to have seriously makes me doubt that. Also everyone has unity on their side.Functional would win out. Also
https://github.com/arcadia-unity/arcadia
We would have unity on our side
Barely, with a different language, it would make it much possible to prevent so many goddamn performance issues. As for memory management, I would trust the equivalent of forge that comes out to handle it well.Java works for modded. And Clojure would allow great multi-threaded. And then you think putting memory management in the hands of some mod devs would work well *laughs* Yeah definitely.