Clojure Concurrency - Rich Hickey

Поділитися
Вставка
  • Опубліковано 25 сер 2024
  • 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.

КОМЕНТАРІ • 33

  • @WalterPelissero
    @WalterPelissero 9 років тому +174

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

  • @stcredzero
    @stcredzero 10 років тому +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 4 роки тому +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 10 років тому +14

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

  • @andyfingerhut
    @andyfingerhut 4 роки тому +6

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

  • @ASmallTurnip67
    @ASmallTurnip67 7 років тому +9

    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...?

    • @lowbarbillcraig3689
      @lowbarbillcraig3689 10 місяців тому +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.

  • @konstantinmikheev8049
    @konstantinmikheev8049 8 років тому +8

    The lecture iself starts at: ua-cam.com/video/dGVqrGmwOAw/v-deo.html

  • @panglossism
    @panglossism 4 роки тому +4

    The same video with the slides included: ua-cam.com/video/nDAfZK8m5_8/v-deo.html

  • @jeffras
    @jeffras 11 років тому +3

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

  • @cassrox123
    @cassrox123 2 роки тому +1

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

  • @minos001
    @minos001 11 років тому +2

    Where are the slides and code? Thanks!

  • @the0captain
    @the0captain 11 років тому +1

    Please link to slides and code!

  • @mrseanson
    @mrseanson 11 років тому

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

  • @modolief
    @modolief 11 років тому

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

  • @tutysara
    @tutysara 11 років тому +1

    Do we have the code uploaded somewhere?

    • @andrewarderne1567
      @andrewarderne1567 4 роки тому

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

  • @phyve61
    @phyve61 10 років тому

    Where are the slides!?!

  • @seye69
    @seye69 11 років тому +4

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

  • @fyveb
    @fyveb 11 років тому

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

  • @TheTerraguil
    @TheTerraguil 9 років тому +1

    Watch this in .5 speed jfc

  • @nsanooj
    @nsanooj 11 років тому

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

  • @jdbrown371
    @jdbrown371 7 років тому

    21:00