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)
- F# eXchange 2020 (Online Conference on 21st October 2020)
- Haskell eXchange 2020 (Online Conference on 4th - 5th November 2020)
- Applied Domain-Driven Design — Full-Stack Event Sourcing (SkillsCast recorded in July 2020)
- Intro to OCaml (SkillsCast recorded in June 2020)
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.