yeah, Java comes from a different school of thought/history etc, where most 
things are done via frameworks and libs. 
The idiomatic way of doing something in Java (imho) is to get an already 
optimized lib and tested framework, and Java
makes this easy for you via many build tools like maven,grails... Go goes the 
opposite way, but even then as it 
grows (Go is 8 years old, Java has 23 under its belt), it finds the need for 
dependencies, as work around go mod has shown.

In Java you can use the standard libs but you need to know what your'e doing 
for tasks like networking and threading. 
Most of the time people look for a well tested lib that does the job (see 
https://mvnrepository.com/).

If you're going to compare two languages you need to write in each language's 
idiomatic way.
Also Java runs on the JVM with a JIT that requires a decent warmup before 
taking any numbers into account.



-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to