Please log in to watch this conference skillscast.
Server-side applications are interesting because they concurrently handle multiple requests in parallel. On systems where threads are expensive, it is important to do this without unnecessary blocking of system threads. In this talk, we'll look how to use F# synchronous workflows to implement a simple web server.
Asynchronous workflows is a feature (based on the concept of monad) that make it possible to use all standard F# language constructs in an asynchronous computation that can be blocked and resumed without blocking actual physical thread. We'll also look how to use agent-based design in F# to implement safe concurrency and share state between clients without facing the usual shared memory concurrency issues. The combination of functional programming, asynchronous workflows and agent-based design leads to server-side applications that are not only efficient, but also easy to understand and fun to write.
YOU MAY ALSO LIKE:
- Rethinking Compilers With Live Coding (SkillsCast recorded in August 2018)
- Intro to OCaml (in Online Event on 25th June 2020)
- What’s New in .NET Core 3.0 and .NET 5.0 for Performance and Memory-Aware Folks? (SkillsCast recorded in October 2019)
- Keynote: (Programming Languages) in Agda = Programming (Languages in Agda) (SkillsCast recorded in October 2019)
F# on the server-side
Tomas is a computer scientist and open-source developer. He is a Visiting Researcher at the Alan Turing Institute working on tools for open data-driven storytelling. He wrote a popular book called "Real-World Functional Programming" and is a lead developer of several F# open-source libraries.