1 / 15

Scala vs Clojure

Scala vs Clojure. ( Scala’s better) Bryan Gilbert $ curl http:// api.bryangilbert.com /profile . Joke. What do you call clojure developers?? CloJERKS !. Statically Typed. (awesome) Type Inference Variance / CoVariance Higher Kinded Types Abstract Types. Multi-Paradigm.

garry
Télécharger la présentation

Scala vs Clojure

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ScalavsClojure (Scala’s better) Bryan Gilbert $ curl http://api.bryangilbert.com/profile

  2. Joke What do you call clojure developers?? CloJERKS!

  3. Statically Typed • (awesome) Type Inference • Variance / CoVariance • Higher Kinded Types • Abstract Types

  4. Multi-Paradigm • Functional

  5. Multi-Paradigm • Object Oriented

  6. Efficient • Easy to move “down to the metal” • Java Arrays • Unboxed Primitives (@specialed) • Ensure Single Dispatch Code • Compiled Jump Tables • Good at imperative “bottoms” where needed • Akka for Concurrency and Parallelism • Actors, Agents, STM (Yea that’s right), Futures

  7. ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) “foo”)

  8. Java Interoperability • Dead simple and straight forward • Scala defined classes are easy to use from java • All object oriented concepts map into java • Excellent implicit conversions with java collections

  9. MACROS!!!  • Play 2 Json Inception • Spire • ScalaAsync • Scalaxy Loops • Quasiquotes!

  10. Large Ecosystem • Akka • Play 2 (typesafe) • Spray • Finagle (twitter) • Scalding • Summingbird • Lift • Spark • Many More!

  11. Massive Adoption • Siemens • Sony • Klout • Gilt • Airbnb • Meetup • Autodesk • Many More! • Typesafe • Twitter • Foursquare • LinkedIn • The Guardian • Tumblr • Novell • Xerox

  12. Clojure Adoption • Rich Hickey • 3 Other dudes. • Mark

  13. What else? • Option • Try • For Comprehensions • So. Much. More • Type Classes • Duck Typing • Self Typing • Implicits • Value Classes • Lazy Streams • Pattern Matching • String Interpolation • So Much More!

  14. Go forth and make Scala

  15. Not Clojure

More Related