This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-18
Channels
- # 100-days-of-code (10)
- # announcements (2)
- # aws (3)
- # beginners (120)
- # boot (6)
- # calva (6)
- # cider (22)
- # cljsrn (3)
- # clojure (145)
- # clojure-greece (1)
- # clojure-italy (7)
- # clojure-nl (24)
- # clojure-russia (90)
- # clojure-spec (21)
- # clojure-uk (80)
- # clojurescript (175)
- # core-async (1)
- # datomic (17)
- # emacs (8)
- # ethereum (5)
- # figwheel (1)
- # figwheel-main (140)
- # fulcro (137)
- # jobs (6)
- # jobs-discuss (3)
- # luminus (3)
- # mount (1)
- # nyc (3)
- # off-topic (39)
- # onyx (1)
- # pedestal (1)
- # re-frame (21)
- # reagent (13)
- # shadow-cljs (60)
- # spacemacs (25)
- # test-check (4)
- # tools-deps (14)
- # uncomplicate (3)
- # vim (18)
The linux kernel devs are working on some pretty cool lock free data structures these days
I haven't read that article and understood it all, but on a brief scan, it has a lot of occurrences of 'lock', 'synchronize', multi-readers single-writer for something called a "lock free" data structure. Maybe I misunderstand what "lock free" means, though.
lock free just means that even if everything is locked, at least one thread is making progress
I would think that calling that "deadlock free" would be more precise.
Even there, avoiding deadlock is a global property, and a single data structure being deadlock free doesn't guarantee your whole system is. Anyway, I guess names are sometimes confusing.
We have a team of 5 that is evaluating Clojure for transitioning a relatively simple (yet messy, real life) web application. Would you think that it’s best to dive into the deep end and try to do both frontend & backend at the same time (with the benefit of having a single language during the transition) or perhaps we should tackle backend first and focus on the API instead?
Or perhaps a rephrase, does any here have a combination of JS on the browser and Clojure on the backend? If so, how does that work for you?
In my mind the risk of taking on both Clojure and CLJS is that it would be too many moving parts — including the browser and all that jazz for some people.
We use Javascript now — but we have a diverse background. Mostly mid-level to senior people (at least in years of experience).
I have to say, most of the evangelizing that the community provides is comparing Clojure with Java, where Clojure can be an obvious win. In comparison with JS, with its first-class data structures, first-class functions and general freedom, the comparison can be muddied — or at least, harder to get across if the audience hasn’t even used even an FP before.
I.e., the Blub paradox: http://wiki.c2.com/?BlubParadox
Interestingly enough, the best argument so far is asking people to watch Simple Made Easy — this tends to lower their disbelief a little bit to hear what the smart man has to offer.
@mattly The concepts being data-driven, simple, decomplected and so on? Or something more tractable such as immutable data, succession model, concurrency non-issues?
I would say that if you’ve any taste for a programming language that embraces functional paradigms throughout, it’s worth moving to Clojure + ClosureScript.
I think its more the overarching concepts of immutable data, state management with pure functions, etx
It’s great being able to write JS for the server, and for the web. In the same vein it’s lovely using the same syntax for web and server when you’re using CLJS and Clojure
I work with clojure on the JVM, in the browser, with react native, and in node, and having a unified language for those environments is amazing
Is there actually any form of code sharing or is it mostly syntax+paradigm that helps there?
OK, interesting. We have a small separation between frontend/backend so it might not even be the same people working on those (which seems weird for a 5 person team, but it is what it is).
Yeah, I know — figwheel is the bees knees. I have to go to dinner, thanks everyone.