ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

A Fast, Compliant JSON Pull Parser for Writing Robust Applications - Jonathan Müller - CppCon 2023

Автор: CppCon

Загружено: 2023-12-26

Просмотров: 9156

Описание: https://cppcon.org/
---

A Fast, Compliant JSON Pull Parser for Writing Robust Applications - Jonathan Müller - CppCon 2023
https://github.com/CppCon/CppCon2023

There are, by now, several well-established C++ JSON libraries, for example, boost.JSON, rapidjson, and simdjson. C++ developers can choose between DOM parsers, SAX parsers, and pull parsers. DOM parsers are by design slow and use a lot of memory, SAX parsers are clumsy to use and the only well-known pull parser simdjson does not fully validate JSON documents and also has high non-constant memory usage. Our open-source JSON parser fills the gap between the existing parser libraries. It is a fully validating, fast, pull parser with O(1) memory usage.

Its main contribution, however, is the API design. All existing parsers verify that a parsed document is valid JSON. But most applications require the data to have a specific structure, for example, that an object has specific required keys while other keys may be optional. Their associated values in turn are expected to be, for example, strings, objects or arrays. Currently, developers need to implement their own checks and their own error handling on top of the existing parser APIs.

Our API forces developers to express these semantical constraints, providing automatic error handling in return. The resulting code concisely documents the required JSON structure and always handles errors correctly. We have found this to be extremely useful in practice.

This talk will show the JSON parser API in practice, compare it to the established parsers, and will demonstrate some elegant generic programming C++ techniques to beginners and intermediate C++ developers.
---

Jonathan Müller

Jonathan is a library developer at think-cell. In his spare time, he works on various C++ open source libraries for memory allocation, cache-friendly containers, or parsing. He also blogs at foonathan.net and is a member of the C++ standardization committee.
---

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk
---

Registration for CppCon: https://cppcon.org/registration/

#cppcon #cppprogramming #cpp #json

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
A Fast, Compliant JSON Pull Parser for Writing Robust Applications - Jonathan Müller - CppCon 2023

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Effective Ranges: A Tutorial for Using C++2x Ranges - Jeff Garland - CppCon 2023

Effective Ranges: A Tutorial for Using C++2x Ranges - Jeff Garland - CppCon 2023

Грамматики, синтаксический анализ и рекурсивный спуск

Грамматики, синтаксический анализ и рекурсивный спуск

Advanced SIMD Algorithms in Pictures - Denis Yaroshevskiy - CppCon 2023

Advanced SIMD Algorithms in Pictures - Denis Yaroshevskiy - CppCon 2023

Noexcept? Enabling Testing of Contract Checks in C++ - Pablo Halpern & Timur Doumler - CppCon 2023

Noexcept? Enabling Testing of Contract Checks in C++ - Pablo Halpern & Timur Doumler - CppCon 2023

What if everything was

What if everything was "Async", but nothing needed "Await"? | The Par Programming Language

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Parsing JSON Really Quickly: Lessons Learned

Parsing JSON Really Quickly: Lessons Learned

Linkers, Loaders and Shared Libraries in Windows, Linux, and C++ - Ofek Shilon - CppCon 2023

Linkers, Loaders and Shared Libraries in Windows, Linux, and C++ - Ofek Shilon - CppCon 2023

Как строили корабли для мирового господства

Как строили корабли для мирового господства

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Back to Basics: (Range) Algorithms in C++ - Klaus Iglberger - CppCon 2023

Back to Basics: (Range) Algorithms in C++ - Klaus Iglberger - CppCon 2023

Что такое JSON?

Что такое JSON?

The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter

The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

Lexy: A DSL Library For C++ Parsing - Jonathan Müller  - ACCU 2024

Lexy: A DSL Library For C++ Parsing - Jonathan Müller - ACCU 2024

Branchless Programming in C++ - Fedor Pikus - CppCon 2021

Branchless Programming in C++ - Fedor Pikus - CppCon 2021

Почему у самолётов моторы именно ТАМ? Крыло против ХВОСТА

Почему у самолётов моторы именно ТАМ? Крыло против ХВОСТА

Back to Basics: Iterators in C++ - Nicolai Josuttis - CppCon 2023

Back to Basics: Iterators in C++ - Nicolai Josuttis - CppCon 2023

Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023

Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]