Episode #6 – Concurrency and Parallelism

Summary:

A rambling discussion with two village idiots struggling to come to terms with concurrency and parallelism

Show Notes:

Follow up

  • Thanks again for Micha and his nukes doing a great job on the last episode.
  • A small diversion into the delights of Java 8 interop wherein we mention the nice little library by Mr Andrew Oberstar called ike:

News & Events

Main discussion – Concurrency and Parallelism

  • Things can happen at the same time – shocker! 😉
  • Concurrency – systems can be composed up from asynchronous actions – event driven!!
    • increases the amount of work that can be done on single threaded environments or single core machines
  • callbacks traditionally makes programming awkward … there is a loss of comprehension, error handling is a big problem since callbacks do not retain the original context
  • Parallelism – problems are decomposed into discrete tasks or actions to fulfil a defined goal
    • usually only worth doing if the underlying hardware can run tasks in parallel
    • this increases the amount of work that can be done on multi-threaded environments or multi-core / CPU / GPU machines
  • Major innovations in Clojure
    • Handling shared state – Dynamic Vars / Atoms / Refs / Agents
    • Concurrency … core.async
      • Manifold and Aleph – Mr Zach Tellman – Lingua franca for asynchron
    • Parallelism … reducers

Credits:

Music: Thanks to the very talented ptzery for the permitting us to use his music on the opening and closing of the podcast. This track is Melon Hamburger. You can give his work some ❤️ and hear more on his SoundCloud.

Episode #5 – Hoplon Special with Micha Niskin

Summary:

A Hoplon special with Micha Niskin.

Show Notes:

Follow up

  • We retain our status as the top vegetarian Clojure podcast. Phew.
  • Maria Geller’s video – in which she did a great job of explaining how the CLJS compiler works and provides some interface to the contribution process:

News

  • Euro Clojure – Bratislava tickets are on sale
  • Defn will be there

Main discussion – ClojureScript UI – Hoplon Special

  • Welcome to Micha Niskin – missile expert and co-author of the awesome Hoplon library collection
  • Potted history of Micha and the main goals of Hoplon
  • Hoplon
    • LISP based DOM manipulation

  • Javelin
    • Spreadsheet data flow model
  • Castra
    • CQRS
    • RPC
  • Comparison to React / Rum / Reagent

Credits:

Special Guest: Micha Niskin. Thanks Micha and please look after those nukes.

Music: Thanks to the very talented ptzery for the permitting us to use his music on the opening and closing of the podcast. This track is Melon Hamburger. You can give his work some ❤️ and hear more on his SoundCloud.