Rust is going to be the next Java in programming.

  • Thread starter Thread starter Deleted member 923340
  • Start date Start date
D

Deleted member 923340

Guest
If you are watching the "programming space" as I do - you should notice that RustLang is getting huge traction in the past year.

It is as fast as C++. In some cases faster than C++.
It is memory safe. It has no garbage collection.

Rust is coming to everything. It is even coming to web dev supporting web-assembly.

Very tough learning curve (took me a month to grasp most o the things and I'm still learning).

If you are looking to learn something - you should learn Rust
 
Comparing anything with C++ is ... silly.
Do not do that, please. :)

Test with mandelbrot.
 
Comparing anything with C++ is ... silly.
Do not do that, please. :)

You don't know what you are talking about.
Rust has outperformed c++ in several benchmarks. Doing a bit of google search is enough to find those.

Let's just say for the sake of argument c++ wins on benchmark codes (fibonacci and what not)

Rust aims to be fast and SAFE. And how easy do you think developing memory safe applications in C++.

Most performance critical apps are moving towards rust. (Discord recently did - i wonder why they didn't choose C++)
 
I heard the community tends to be extremely toxic (I tend not to believe this since everything has toxicity to it). But that's second-hand information so /shrug. /g/ keeps telling me if you learn rust you will want to cut your penis off, (there was a huge push by transvestite coding groups to push rust in the past), so the meme made me chuckle.

Anyway, If it's fast, any chance of it being used in game dev? Kind of looks ideal for that? The syntax looks a bit scary tbh but I'm always pro anything that makes memory management easier to deal with.
 
I apologize. Haven't had my morning coffee.

That's fine.
My point is that not all types of apps are good in C++, as in Rust, and vice versa (won't even talk about Go).

Game dev != socket app != web app != security app ... you get my point I hope so.

Rust isn't bad, but saying that Rust > C++ just cuz Discord is using it isn't a valid argument to me.
 
Rust isn't bad, but saying that Rust > C++ just cuz Discord is using it isn't a valid argument to me
You didn't get anything from my post or thread. Really. Please don't skim through and pick up words like u read a documentation.

My title was - why rust is going to be next java (in the sense enterprise companies are going to adopt to rust like they did to java in my opinion) .

I highlighted that rust is fast and in some cases faster than c++.
 
You didn't get anything from my post or thread. Really. Please don't skim through and pick up words like u read a documentation.

My title was - why rust is going to be next java (in the sense enterprise companies are going to adopt to rust like they did to java in my opinion) .

I highlighted that rust is fast and in some cases faster than c++.

If the title is the point - no idea, never worked in java.
Anyhow, you didn't mention java even once in your original post (first one).
But ye, I'll leave your thread to yourself. :) Have fun!
 
Rust is horrible! Might aswell stick to Dota and Minecraft!
 
'Very tough learning curve (took me a month to grasp most o the things and I'm still learning). '
Very impressive. However, IMO, the trend of program language is easier, it couldn't be popular if it's hard to learn. The first language I learned is Fortran 77. It is too complicated to be accepted by most developers.
 
The performance of the language alone will not make it adopted... should be built around powerful frameworks to build multiple purposes cross platforms apps ... for instance when c# start losing its rank xamarin framework (Mobile development) and unity (game framework ) brought more attention to c# ...
 
Modern C++ is memory-safe. It has first class Webassembly support. In fact, the Alon Zakai (Creator of WebAssembly) is a C++ programmer (He didn't like Rust).

The benchmarks that compare Rust and C++ are dishonest. If you check the benchmarks, you can find one of following,

1 ) They don't use compiler optimization
2 ) The Rust code use Unsafe code blocks
3 ) Inline Assembly

Don't listen to lies of Rust people. They have huge soviet style propaganda, dishonest statements.

You don't have to manage memory manually on C++ anymore. C++ has become more like Python (or Javascript).

it however lacks Package manager, but C++20 modules going to change that.

It has Zero Cost Abstractions. It has RAII.

Rust people claims Modern C++ unsafe by sharing unsafe code blocks. I can do that same in Rust and claim Rust is unsafe.

Code:
#include <iostream>



int main() {

   std::cout << "Hello from Modern C++" << "\n";
 
}


You can build web servers that are faster than Rust ones in C++. I personally build my website in C++.


Rust has Python level Hype, Elixir level Penetration. Lot of likes but no serious use.

The ones that are used get the hate while the hotness gold digger type languages gets the love.
 
Back
Top