Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's also strange that a language that wants to encourage parallelism requires for loops, and specifies that they always run sequentially. Java 8 can put map/reduce with a thread pool in the standard library precisely because it doesn't use a for loop; imagine how tedious and repetitive the Go version would be: https://docs.oracle.com/javase/tutorial/collections/streams/...


To be fair, I don't think Go prioritizes parallelism as much as it does concurrency.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: