Why is lockless concurrency so large (in clojure)?

I was told that clojure has lock - free concurrency, which is important

I use a lot of languages, but I don't realize that they perform locking behind the scenes

Why is this an advantage of clojure (or any language with this feature)?

Solution

I can't talk about clojure in particular, but... It means you don't have to wait for others to do something before you start working Which is better?

Usually, it is implemented through immutable types If nothing can be modified, you really don't have to wait until someone else completes it to access it

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>