Remix.run Logo
adastra22 4 hours ago

C++ has evolved immensely in that same time. I still would NEVER use C++ for anything new, now that Rust exists.

Why should I use Fortran, for anything that isn't maintaining legacy code?

pjmlp a minute ago | parent | next [-]

Rust might exist, but it isn't shipping in console devkits, or industry reference game engines, just to quote two examples where it has yet to achieve parity with C++.

noobermin an hour ago | parent | prev | next [-]

Fortran is nowadays a DSL for computational codes. If you don't know why you would or could use it, you're not the target audience for it.

Calling it a DSL is a bit rich given the history of computing but at least that way at least CS and developer types will know how to regard it.

atemerev 2 hours ago | parent | prev [-]

I like modern C++ much better than Rust. I am 3 times more productive in it and don't have to fight the compiler for hours. And RAII is a simple idiom that prevents 95% of actual problems.

adastra22 an hour ago | parent [-]

Your C++ is full of bugs that rustc was telling you about.

atemerev an hour ago | parent [-]

Well yes, the code I didn't wrote (because I was 3x slower) surely has no bugs.