Please log in to watch this conference skillscast.
Look at the clouds, you can see a bright shining light, is the sun? No it is WebAssembly(WASM)!
WASM has shown to be an ideal format for creating platform- and language-independent programs, despite being first created for the web.
Thus this talk shows how Haskell fits in the WASM ecosystem. This brings into focus: Asterius (https://github.com/tweag/asterius). Asterius is a Haskell to WASM compiler. It compiles Haskell source files or Cabal executable targets to WASM+JavaScript code which can be run in Node.js or browsers.
Today there are a number of popular Haskell-based applications, running in the browser like diagrams, ormolu, pandoc, and todomvc. Thus bringing into the great applications provided by Haskell and making them widely accessible with the help of WASM.
Through this talk learn how to compile Haskell applications into WASM and then use that in a web application with the help of a live demo.
The talk will also cover some of the interesting use-cases for this translation including Cloudflare workers, use of Asterius in creation of WASM-based microservices using Spin.
YOU MAY ALSO LIKE:
Haskell in WebAssembly
Shivay Lamba
Shivay Lamba is a software developer specializing in DevOps, Machine Learning and Full Stack Development.