Postmodern immutable data structures - Juan Pedro Bolivar Puente [C++ on Sea 2019]

preview_player
Показать описание
The C++ elites have been talking for years about value semantics, immutability, and sharing by communicating. A better world without mutexes, races, observers, command patterns and so more lies ahead! When it comes to doing it in practice, it is not so easy. One of the main problem lies in our data structures...

We are presenting Immer, a C++ library implementing modern and efficient data immutable data structures.

In this session, we will talk about the architectural benefits of immutability and show how a very efficient yet powerful persistent vector type can be built using state of the art structures (Relaxed Radix Balanced Trees). We will also show an example application (a text-editor) built using the architectural style here proposed. Not only is its code extremely simple, it outperforms most similar programs. Don't believe it? Come and see!
---
Juanpe is a Berlin based freelance consultant and engineer, with a focus on interactive software, modern C++, functional programming and open source strategy. Before he worked for Ableton and he has been involved in various music technology projects. He has also developed for the GNU project and cofounded a Hacklab in Granada.

Рекомендации по теме
Комментарии
Автор

VS Code is actually one of the best editors for large files that I tried ("large" = 3-5 gigabytes of text). It's very quick. Some other editors (Notpad++) can display and scroll the file quickly, but cannot perform search or replace. Yet others (Sublime Text) just can't handle it at all.

VioletGiraffe