Scala.js, write in Scala for the browser

  • September 4, 2014 · 7:00 PM
  • EPFL

With Scala.js, Scala has joined the big family of languages compiling to JavaScript. More than a compiler though, Scala.js is a dialect of Scala specifically designed for interoperating almost transparently with JavaScript code, without sacrificing the powerful language features of Scala.

This talk will give an overview of Scala.js and its eco-system, with a mixture of live coding and demos showing how applications can be prototyped in the browser, developed in IDEs, unit tested, and optimized for production.

Sébastien Doeraene is a compiler/runtime systems hacker and a Scala enthusiast. He is a Ph.D. student at EPFL in the programming methods laboratory (LAMP) led by Martin Odersky, also known as the Scala team, where he designs and develops Scala.js. He holds bachelor and master degrees in computer science engineering from Université Catholique de Louvain in Belgium. When he is not busy coding, he sings in choirs and a cappella groups, or he plays unicycle basketball. 

Join or login to comment.

  • Sébastien D.

    New Scala.js library for Angular: https://github.com/greencatsoft/scalajs-angular Since you asked about Angular and Scala.js during the meetup, I'm just mentioning this new library published today by one of our users.

    1 · September 6

  • François De G.

    Thanks for the nutshell !
    I do see your point with 'the async thing' in particular...

    September 5

  • François De G.

    Sorry I had to leave right after the presentation. Congratulations Sébastien for this amazing piece of work.
    However, the main question remains, besides all scala.js performance advantages you showed us :
    - in a nutshell, what are the main advantages of the Scala language, which would move a JavaScript developer to build his application logic not in JS but in Scala ?
    -- the OO/functional mix ? (and why?)
    -- the robustness and readability of class inheritance modeling ?
    -- the static typing compiler in line feedback ?
    -- closures 'à la Scala' ?
    -- scope definition ?
    -- anything else that a large single page application developer cannot do without ?

    September 5

    • Sébastien D.

      Well, I would say: all of them! Or whatever subset appeals to any individual developer. There are many reasons you can love (or hate) Scala for. Just pick the ones that apply to you.
      My personal subset is: immutability by default, great collections library (also immutable by default), static typing, and my personal favorite: implicits. For Scala.js in particular, because of all the async thing: futures, for comprehensions and scala-async (a Scala macro library that allows you to compose asynchronous computations with a direct style: https://github.com/sca...­)

      September 5

  • François C.

    Intéressant, mais il est dommage que nous ayons dû passer à l'anglais pour une seule personne. La richesse d'un échange entre francophones est un bien dont nous devrions profiter aussi souvent que possible.

    1 · September 5

  • Philippe Brodier Y.

    I'm so sorry I couldn't make it! First day at a new job and the time just flew by...

    September 4

  • olivier m.

    Yeap, have to cancel too... to busy prepare my holidays :( Hope to cross Sébastien at EPFL

    September 4

  • Benoit C.

    Arg, have to cancel :( Enjoy!

    September 4

  • Andy M.

    Going to miss this one :(

    August 25

Our Sponsors

  • BugBuster

    BugBuster met à disposition la salles et offre l'apéritif.

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more
Rafaël

We just grab a coffee and speak French. Some people have been coming every week for months... it creates a kind of warmth to the group.

Rafaël, started French Conversation Group

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy