14
Xoka
1y

I'm really enjoying rust now. It was worth the struggles.

I was really surprised to see, a NodeJS server takes around 40-60MB of memory whereas Rust (Actix web) server takes around 500KB-2MB :O whoa! Awesome!

Comments
  • 2
    @qword Pardon my ignorance, but I think, I have to re-learn English to understand your comment :P
  • 4
    I guess the end of c++ is near
  • 5
    @netikras They're trying. Syntax-level metaprogramming will probably take another 10 years at the current pace but if they stick to the original concept with constexpr and inline compile-time C++ it will likely be far better than Rust's proc macros which are difficult to write. I'm hopeful that pattern matching can land in the next standard, which will completely reform the way the language is written. Many compilers already support lifetime warnings for references, and you pretty much never need a raw pointer.

    Rust is formidable competition becaues it's not standards-driven so it gets new features when someone with the right skills gets excited about something. C++ gets new features through fierce diplomacy.

    I hope that C++ will be forced to evolve faster.
Add Comment