u/hmltypin r/haskell • Recommends
Hybrid server/client Haskell web apps / Michael Snoyman
2.6K subscribers • 4 videos on Hallway
Intermediate. Assumes working knowledge.
5.7K views11 years ago1 recommendation
Web developmentProgramming languagesHaskellJavaScriptFull-stack frameworks
Michael Snoyman discusses strategies for bridging Haskell backends with JavaScript frontends, including Haskell-to-JS compilers and type-safe APIs.
Haskell is well known for its strong, static type system. Javascript, by contrast, is a dynamic, weakly typed language. While they share some functional features, the two languages are quite different. But when we write a web app with a Haskell backend, these worlds inevitably collide. How do we bridge these two worlds? In this talk, we'll cover some of the common techniques, including Haskell to JS compilers and well defined cross-language APIs. We'll also describe ways in which we can keep the benefits of strong typing, even when interacting with code that ignores types entirely.u/hmltypin r/haskell • Recommends