Clojure Concurrency - Rich Hickey

Sdílet
Vložit
  • čas přidán 15. 12. 2012
  • A presentation by Rich Hickey to the Western Mass. Developers Group on Clojure and concurrency. Brief overview of Clojure, discussion of concurrency issues, locking, and immutabiity. In-depth look at Clojure's refs, transactions and agents. Demonstration and review of code for a multithreaded ant colony simulation.Be sure to grab the slides and code in order to follow along.Thanks to Shawn Fumo for working on this video.
  • Věda a technologie

Komentáře • 34

  • @WalterPelissero
    @WalterPelissero Před 9 lety +168

    Murphy's law says: the skills of the cameraman will be inversely proportional to the value of the presentation.

  • @stcredzero
    @stcredzero Před 10 lety +13

    One way of explaining Clojure references could be the TV show Bewitched. "Darrin" the husband character is like a reference. "Darrin" referred to Dick York at first, then Dick Sargent later on. At no point did the production staff mutate Dick York into Dick Sargent.

  • @andyfingerhut
    @andyfingerhut Před 4 lety +6

    A transcript of this talk with slides and link to code is available here github.com/matthiasn/talk-transcripts/blob/master/Hickey_Rich/ClojureConcurrency.md

  • @redstarlabs
    @redstarlabs Před 10 lety +14

    The code is here: github.com/juliangamble/clojure-ants-simulation

  • @andyfingerhut
    @andyfingerhut Před 4 lety +5

    A transcript of this talk is available here: github.com/matthiasn/talk-transcripts/blob/master/Hickey_Rich/ClojureConcurrency.md

  • @modolief
    @modolief Před 11 lety

    @nsanooj - I get a 404 error with that link to the slides; do you know where I might find them?

  • @cassrox123
    @cassrox123 Před 2 lety +1

    How do you model the structure for removing a node from the base structure?

  • @ASmallTurnip67
    @ASmallTurnip67 Před 7 lety +8

    Rich offers a great explanation here.
    This is less than 250 lines of code in Clojure, but has anyone tried building this same demo in Java using the Hystrix library? I'd be interested to know how many lines of Java would be required to obtain the same result. I'm guessing probably 2 or 3 times more...?

    • @marcelofernandes6501
      @marcelofernandes6501 Před rokem

      What are you objectively trying to imply with lines of code? When you're comparing a dynamically typed language vs a statically typed one the latter will be longer by default. Less line of codes doesn't imply it's more readable, doesn't imply it's faster, doesn't imply it's safer... etc

    • @lowbarbillcraig3689
      @lowbarbillcraig3689 Před 7 měsíci +2

      @@marcelofernandes6501 On the metric that says number of errors per thousand lines of code is constant across languages fewer lines is safer - for bugs, security, whatever else errors imply.

  • @mrseanson
    @mrseanson Před 10 lety

    All these links look broken, and the google suggestion didn't work for me. Anyone else have a link to the slides?

  • @minos001
    @minos001 Před 11 lety +2

    Where are the slides and code? Thanks!

  • @the0captain
    @the0captain Před 11 lety +1

    Please link to slides and code!

  • @jeffras
    @jeffras Před 11 lety +3

    Location of slides: ftp://nat.iem.pw.edu.pl/pub/DOC/clojure/04-ClojureConcurrencyTalk.pdf

  • @konstantinmikheev8049
    @konstantinmikheev8049 Před 8 lety +8

    The lecture iself starts at: czcams.com/video/dGVqrGmwOAw/video.html

  • @tutysara
    @tutysara Před 11 lety +1

    Do we have the code uploaded somewhere?

    • @andrewarderne1567
      @andrewarderne1567 Před 4 lety

      github.com/juliangamble/clojure-ants-simulation/blob/master/src/ants.clj

  • @phyve61
    @phyve61 Před 10 lety

    Where are the slides!?!

  • @panglossism
    @panglossism Před 4 lety +4

    The same video with the slides included: czcams.com/video/nDAfZK8m5_8/video.html

  • @fyveb
    @fyveb Před 11 lety

    SLIDES: dropbox.com/u/6251992/04-ClojureConcurrencyTalk.pdf

  • @seye69
    @seye69 Před 11 lety +4

    do you want ants? because that's how you get ants.

  • @jdbrown371
    @jdbrown371 Před 7 lety

    21:00

  • @TheTerraguil
    @TheTerraguil Před 9 lety +1

    Watch this in .5 speed jfc

  • @nsanooj
    @nsanooj Před 11 lety

    Good stuff. Found the slides here: dl.dropbox.com/u/6251992/04-ClojureConcurrencyTalk.pdf