0
What is the most powerful coding language
I have read that c++ is one if the most. But I would like to know c++ and the most powerful coding languages
8 Respostas
+ 5
HonFu Indeed I can :)
Let's say you have a identical piece of code in Java and in C. Now we compare the steps needed to deploy and run your application.
Java:
1. Compile
2. optional: Install the correct Version of a JRE (they are not fully backwards compatible) that takes at least 300 MB of disk space
3. Run the application
C:
1. Compile for release (several times but automatically)
2. Run your application
Of course this is simplified but compiling several times is actually no big deal and usually done automatically. And I know, you usually just need to install a JRE once but why can't I simply run a program without an extra runtime? In addition to that this runtime harms the performance (by about factor 2 when compared to C/C++) and that's some serious and very unnecessary overhead in my opinion.
And most importantly, several Java libraries aren't even cross-platform and quite a lot of devices can't even run Java (especially microcontrollers).
So I would say C runs everywhere, but Java certainly doesn't.
+ 4
There's probably nothing like "the most powerful programming language". However you could say that some are certainly more powerful for certain goals.
If speed is your priority you'd use languages like C/C++ or Rust. If you want to run your code on basically any available platform (also microcontrollers) C or Assembly would be the best choices. If you care about safety and reliability you would use languages like Rust or Ada. If you want a language that can do everything (even compile itself) you'd need something like C/C++ or Rust. And if you just care about simplicity Python or JavaScript might win.
In my opinion only low-level languages like C/C++ or Rust should hold this title because higher-level languages like Python, JavaScript or Java come with too many disadvantages in terms of speed and portability and also have very limited features when compared to lower-level languages.
+ 4
No programming language is powerful enough to meet up to every need that you have.
For example: You choose Java, great! It will not only help you make software and improve your programming concepts but also make you develop Android apps.
You choose C++, fantastic! You can make any games you want but now you have to use other libraries like OSMESA or Opengl or even SDL to accomplish it.
For me, I chose C++ because it allows you to have a lot of control as to how you use computer resources, so in the right hands its speed and ability to cheaply use resources should be able to surpass other languages.
+ 3
Aaron Eberhardt, you see problems with the portability of Java although its slogan is 'write once, run anywhere'.
And you name C and C++ although they have to be compiled and equipped with specifics for each system separately, which Java was supposed to alleviate.
Can you elaborate?
+ 2
As far as I know, Python is the one you are looking for :D
+ 2
Well I will stick to c++. Thank you guys so much for helping me with my query
+ 1
Aaron Eberhardt, food for thought, thank you. :)
0
Thx