Remix.run Logo
freakynit 4 days ago

"If you’re not sure what you want to do, just do Java. It’s a shitty programming language that’s good at almost everything."

- I agree, 100%.

And here's a take that a lot of the folks will disagree, and categorically state that these both belong to two entirely different domains: "Rust, is the evolution of Java. Not Kotlin, not Scala, not clojure, but, Rust".

corvus-cornix 4 days ago | parent | next [-]

I feel like Go has a similar role to Java. Although it's mercifully free of inheritance and the functional stuff they've bolted on.

Rust has a similar role to C++ but reads more like Python and Elixir's lovechild.

nasretdinov 4 days ago | parent [-]

Yeah Go is a new Java essentially. Also arguably it's a much better alternative because of static linking and no JIT

Neikius 4 days ago | parent [-]

Oh I don't know. It's a vision of java if java tried to supplant C and not C++.

I guess jit is bad for a micro service that scales constantly or a lambda. But java does have all of these options now. They just are not useful for most people.

Neikius 4 days ago | parent | prev | next [-]

I disagree about rust.

I would say Rust is a successor to C/C++ for specific use cases.

No real successor to java yet so just keep using it, works fine and has finally evolved.

Point of java was always ease of use. Rust is... Not so.

Maybe golang is kind of an Evolution but into a very specific slightly different direction.

jauntywundrkind 4 days ago | parent | prev | next [-]

The context dependency injection is so so so good. Once we switched over to json & Jax-rs, it made such a great simple direct backend. Good throughput. Just, a bit high memory.

Zak 4 days ago | parent | prev [-]

I hadn't thought about Rust that way before, but I think you might be on to something here. Rust and Java both lean heavily into keeping developers from doing anything dangerous with expressiveness and power being pretty far down the list of concerns.