Skip to content

Cloud Haskell & Why Compiler Plugin Matters ? A Journey to Scala Compiler Plugin

Photo of Anwar Rizal
Hosted By
Anwar R.
Cloud Haskell & Why Compiler Plugin Matters ? A Journey to Scala Compiler Plugin

Details

To register to this meetup, you can do it through this page, or to event brite. You don't need to register to both.

CLOUD HASKELL

Reactive programming is hip at the moment. Reactive Programming manifesto, http://www.reactivemanifesto.org/ for example, shows how the world of modern application changes. Some key words like scalable, resilient, asynchronous are mentioned again and again. In Scala world for example, we have Akka that is designed to meet these new set of requirements.

Cloud Haskell enables distributed programming seamlessly in a functional programming language like Haskell. Inspired by Actor model introduced in Erlang (and also adopted by Akka), Cloud Haskell introduces some interesting concepts, like type safe messagings and many other cool stuffs. We'll see how Cloud Haskell is used in different distributed environment scenarios. Duncan Coutts (http://www.well-typed.com/people/duncan) (Well Typed) will lead us to this journey.

WHY COMPILER PLUGIN MATTERS ? A JOURNEY TO SCALA COMPILER PLUGIN

Imagine the following use case: You have a service in your cloud that receives custom codes from your clients through web services. You will need somehow to put the execution of the codes in a sandbox environment so that the execution of the codes will not harm the services or other users of the services.

Pascal Cohen will explain how to support this use case for Scala scripts. In Scala, several tools exist for implementing such sandbox environment. Scala macros and Lighweight Modular Staging have brought some light on meta programming through Abstract Syntax Tree (AST) manipulation. But, there is another tool in Scala called Scala compiler plugin that makes the modification of scripts possible. We'll also see the comparison of the approach to Macros, Aspect Oriented Programming, and JAAS.

Photo of Lambda Riviera group
Lambda Riviera
See more events
Amadeus (Auditorium Mistral)
485 Route du Pin Montard, Biot Sophia Antipolis · Nice