Functional C++ - Gašper Ažman - C++Now 2024

Описание к видео Functional C++ - Gašper Ažman - C++Now 2024

https://www.cppnow.org​
---

Functional C++ - Gašper Ažman - C++Now 2024
---

The talk runs through the basic elements of functional programming, why we want to do it, and some compositional patterns.

It then switches to explain these concepts on std::optional (the Maybe monad), std::expected (the Error monad), and briefly mentions ranges. It also introduces the validation monad (a kind of std::expected with composable errors) and the Choice monad (and how it differs from std::variant). I really want to extend it to the async monad (std::execution), but I haven't given that part before.

The talk was generally well received, but I want to extend it and deepen it.

A great deal of attention is paid to examples, as I want to impress upon the audience how we can use this programming paradigm together with generic programming in c++, and what kind of support we need from the language to do it well in the future.

The desired outcome of this talk is a newfound appreciation of what c++ can be, how provable the code written in this way becomes, and why c++ can also be a reasonably good functional language, if given the right tools.
---

Slides: https://github.com/boostcon/cppnow_pr...

Sponsored by Undo: Debug your hardest C++ bugs with time travel debugging → Learn more at http://bit.ly/cppnow24
---

Gašper Ažman

Ecosystem engineer at Citadel Securities. I cultivate a diverse development ecosystem and the heavy machinery to do it.
---

C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - https://www.cppnow.org
  / cppnow​  
  / cppnow  
  / cppnow  
  / cppnow  
https://mastodon.social/@cppnow
Video Sponsors: millennium and think-cell
---

Videos Filmed & Edited By Bash Films: https://bashfilms.com/
YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk
---

#boost #cpp #functionalprogramming #cppprogramming #cplusplusprogramming

Комментарии

Информация по комментариям в разработке