Polyglot Microservices
Comparison between Javascript, Scala & Clojure
By Markus Hjort / @mhjort
Maintenance & new development
Javascript, Scala & Clojure
Javascript
Yesterday: Grunt
Today: Gulp
Tomorrow: Something new :)
Scala
Sat...Simple Build Tool
JSON (with and without schema)
Javascript
JAVASCRIPT Object Notation
Scala
Json4s
Play JSON
Zeison
Clojure
parse-string
Clojure code
generate-string
Profit!
Background jobs
Parallel computing often needed
Javascript
No native support
parallel.js library
Scala
List(1, 2, 3).map(_ + 42)
List(1, 2, 3).par.map(_ + 42)
Clojure
(map #(+ 42 %) [1 2 3])
(pmap #(+ 42 %) [1 2 3])
Microcaches
Javascript => Does not scale
Clojure, Scala => Easy (JVM)
Node.js
Bleeding edge or nothing
Awards
I Clojure
II Scala
III Javascript
Polyglot Microservices
Comparison between Javascript, Scala & Clojure
By Markus Hjort / @mhjort