Java Concurrency – Understanding the Basics of Threads
1–10 of 86 posts
Re: Java Concurrency – Understanding the Basics of Threads
#2Re: Java Concurrency – Understanding the Basics of Threads
#3Years ago, I tried learning how to use threads by following tutorials similar to this one, where you are taught how to implement threads from {python, java, c++}. However, it wasn't until I studied operating systems (when I returned to graduate school for computer science) was I able to wrap my mind around threads — from a language agnostic view point, how and what lightweight processes are, how to implement locks an…
Re: Java Concurrency – Understanding the Basics of Threads
#4Re: Java Concurrency – Understanding the Basics of Threads
#5The problem is not the threads, it is the mutations of variables which boost the complexity of the code. So a tutorial on creation of theads actually an invitation to hell. Nothing is cool about it. Cool thing is achieving concurrency without threads/race conditions/shared memory
Re: Java Concurrency – Understanding the Basics of Threads
#6The problem is not the threads, it is the mutations of variables which boost the complexity of the code. So a tutorial on creation of theads actually an invitation to hell. Nothing is cool about it. Cool thing is achieving concurrency without threads/race conditions/shared memory
And achieving concurrency without shared memory is impossible in general case. Sure it is possible to isolate such access to a separate layer and make it transparent for the rest of the program but someone still has to program such layer.
Re: Java Concurrency – Understanding the Basics of Threads
#7Years ago, I tried learning how to use threads by following tutorials similar to this one, where you are taught how to implement threads from {python, java, c++}. However, it wasn't until I studied operating systems (when I returned to graduate school for computer science) was I able to wrap my mind around threads — from a language agnostic view point, how and what lightweight processes are, how to implement locks an…
What books are used in your program?
It's old, but the material holds up well since it covers a lot of fundamentals
Re: Java Concurrency – Understanding the Basics of Threads
#8Re: Java Concurrency – Understanding the Basics of Threads
#9Earlier quoted context omitted.
What books are used in your program?
Idk about GP, but one book I highly recommend is Java Concurrency in Practice - https://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz... It's old, but the material holds up well since it covers a lot of fundamentals
Re: Java Concurrency – Understanding the Basics of Threads
#10The problem is not the threads, it is the mutations of variables which boost the complexity of the code. So a tutorial on creation of theads actually an invitation to hell. Nothing is cool about it. Cool thing is achieving concurrency without threads/race conditions/shared memory
Do you use other paradigm / languages ? (clojure comes to mind, but maybe others)