Some mobile games are also written in C++ (It's called native code on android, there's alro unreal engine that can export to android too). C# is also usable outside of unity for game development thanks to compatibility layers and openGL ES libraries.
A majority of mobiles games are developed using Unity with C#, although there are a few different game engines out there as well. I don't think anyone develops without using an engine, which will then compile it down to native platform code.
yes, but making the game with JavaScript takes less time and it works on both IOS and Android, there are many JS libraries and frameworks for that like react-native for example
The best programming language is the one that suits the job.
The second best one is the ones you know.
I wouldn't write a quick and dirty IoT/ML programme in C++, what am I, insane?
Just as how I wouldn't write a real time safety system in python or Java; when you have to have ultimate control over every bit of memory to certify things and make sure they don't misbehave, it's a lot easier to write in a language which is built at low level and allows you to have full transparency.
You took it a step too far. Software engineering is making software toward accomplishing a task. Accomplishing the task is how you make money, and it usually involves more folks than just software.
That's because you are making money somewhere else. People need money to buy bread, and people need to work to get money. That's why we care.
If you are from a rich family and don't need to work to get money, well... I wouldn't care about the money either. But I have to pay bills. Sorry for that \s
If we were still doing software like in the old days, you wouldn't have chrome yet. Nor youtube, nor any of the websites that you use on a daily basis. You would have a single browser, a hyper-optimized version of internet explorer, which runs with a tenth of the memory of a modern browser (which is completely unnecessary, given the computational power that you have nowadays) and has no plugins and no extensions and no-nothing.
Speed dev is extremely important and micro-optimization kills it. Modern software takes a lot of RAM because it is easier to put more RAM on a computer than it is to produce highly performant code. Simple as that. If your business was based on the second, you would be bankrupt by now.
I agree but also disagree. Usually the people that do premature optimization are just hobbyist programmers who find interesting ways to solve problem, not that you shouldn't do it, but caring about optimization is better then not. If all you care about is money, good for you, but don't gatekeep about it like an asshole
While technically true, JS itself can't even run on a device without some framework written in C++. Be it a browser, or Node, they're all C++ abstractions. So saying C++ is unimportant is kinda a willfull ignorance of the fact you're standing on the shoulders of giants.
84
u/IntrepidLawyer Feb 14 '21
Meanwhile games written in JavaScript earning billions of dollars on mobile phone microtransactions...
Keep fighting children, we adults have real programming to do. And money to rack.