you are viewing a single comment's thread.

view the rest of the comments →

[–]fschmidt[S] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (4 children)

What is wrong with Java and JVM? I looked at Rust and Go a long time ago. I hate Rust. Go is okay.

[–]fatman 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (3 children)

Java build system is outdated and painful.

What other languages ran for nearly 10 years with their most common logging package allowing remote code execution?

Java is the only language I have ever used where I import a package for something relatively simple and somehow the entire 4GB heap gets consumed.

Also the code is so verbose , but for what benefit? At least in Rust with the extra verbosity you get guarantees about data races not being possible, etc...

[–]fschmidt[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (2 children)

Why does one need a fancy build system? I just use "make" or compile all.

Why did you link to JNDI? I replaced Log4j.

All modern libs are bloated, you can't blame Java for that. Java with my libs is lean enough.

Rust looks really horrible to me. No garbage collection, for example. Also see this.

[–]fatman 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (1 child)

Why does one need a fance build system? I just use "make" or compile all.

When you need to create and distribute self-contained executables for multiple OS that bundles dependencies (and their dependencies, and their dependencies, and resolves conflicts between all of them). In Rust and Go it's simple ... like 'cargo build' or 'go build' and everything is handled. What are you doing? Treading through a hellscape of jar, javac, and god forbid maven or gradle commands and tons of XML files?

Why did you link to JNDI? I replaced Log4j.

Because most java programs use Log4j, and since that JNDI change in 2013, most of those programs were left wide open to remote code execution. This got exploited in the wild at a massive scale. How pathetic... a logging package led to countless people and enterprises getting hacked... java is a piece of shit.

Rust looks really horrible to me. No garbage collection, for example. Also see this.

No garbage collection is a feature IMO. It's just faster. Also the language makes it easy to get rid of your resources, like automatically dropping locks or running destructors when you exit a closure, etc. (This is the Drop trait in Rust)

[–][deleted] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 2 fun -  (0 children)

muh dependencies