Re:A Java 8 Parallel Calamity
by jayd16 on Thursday April 02, 2015 @05:14PM
(#9313266)
If you're an amateur programmer then you probably don't have to worry about this. Just be aware that threading is complicated. Don't go looking for languages to solve problems you don't have just because of a blog post.
[ Parent
| on HN ]
On the other hand, as a Lisp is the True Way type, I believe there are very good reasons to learn a Lisp early in your study of programming. While Scheme has a lot going for it in this domain, Clojure is not bad at all, and it happens to have a lot of good solutions for concurrent programming.
Everyone should learn a Lisp early in their career. Anyone who actually cares about performance will learn quickly that auto-parallelizing or 'parallel collections/streams' is a joke, with Amdahl's law being the punchline.
Don't worry, done and done. I play with Common Lisp on my machine, and I definitely dream of writing a web app in Clojure and Clojurescript once I finish some Java coursework. Things will slow down and I will understand the underlying Java/JVMisms as well as bonus. (Taking Java for school reqs, not for this reason of course, but it would be nice.)
I wanted to get back into programming largely bc of what I read here and on my collection of programming Reddits. So much interesting and beautiful stuff.
And I know the increasing popularity of the JVM (if it ever wanted), is that the JVM primitives allow for some threading, which means parallel/concurrent use of processors cores at all. Seeing as people whine about Python and Ruby and GIL, native threads have to be found somewhere while also offering the own risks.
But thanks, I like this site because I can get a programmer's education in "what I worry about and what to avoid unless I am ready" while I learn, not after.