Популярное

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

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

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

Топ запросов

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

Teaching Old Compilers New Tricks: Transpiling C++17 to C++11 - Tony Wasserka [C++ on Sea 2019]

Автор: cpponsea

Загружено: 2019-02-17

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

Описание:

With all the new features C++14 and C++17 offer, it can be frustrating to be stuck with an old compiler that doesn't support them yet. Instead of forgoing structured bindings, fold expressions, and other additions, what if we could use them even on pre-2014 compilers?

Enter clang-from-the-future, a transpiler that reads C++17 programs and outputs standard C++11 source code. When used as a preprocessing step, it allows any compiler with C++11 support to compile a subset of C++14/17 programs. To enable this, CTFT rewrites new language features based on the program's abstract syntax tree and provides drop-in implementations for standard library additions.

In this talk, I will show how specifically this is achieved, how well it works in practice, and what's left to be done in the future.With all the new features C++14 and C++17 offer, it can be frustrating to be stuck with an old compiler that doesn't support them yet. Instead of forgoing structured bindings, fold expressions, and other additions, what if we could use them even on pre-2014 compilers?

Enter clang-from-the-future, a transpiler that reads C++17 programs and outputs standard C++11 source code. When used as a preprocessing step, it allows any compiler with C++11 support to compile a subset of C++14/17 programs. To enable this, CTFT rewrites new language features based on the program's abstract syntax tree and provides drop-in implementations for standard library additions.

In this talk, I will show how specifically this is achieved, how well it works in practice, and what's left to be done in the future.
---
Low-level anything: Tony is a long-term C++ enthusiast who has worked on the console emulator projects Dolphin (GameCube/Wii), PPSSPP (PSP), and Citra (3DS) since 2010. More recently, he has worked on Vulkan graphics drivers for PowerVR graphics processors. His main interest is exploring C++'s zero-cost abstraction capabilities and applying them to create better software for resource-constrained environments.

Currently, Tony is a contractor working on embedded systems in Berlin, Germany.

https://cpponsea.uk/sessions/teaching...

Filmed and Edited by Digital Medium Ltd: https://events.digital-medium.co.uk
Enquiries: events@digital-medium.co.uk

Teaching Old Compilers New Tricks: Transpiling C++17 to C++11 - Tony Wasserka [C++ on Sea 2019]

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

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

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

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

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

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

5 уровней C++

5 уровней C++

Код работает в 100 раз медленнее из-за ложного разделения ресурсов.

Код работает в 100 раз медленнее из-за ложного разделения ресурсов.

Святослав Фельдшеров — «C++, который просто работает: открытый исходный код против крупных технол...

Святослав Фельдшеров — «C++, который просто работает: открытый исходный код против крупных технол...

Почему ваш код не соответствует Python (и как это исправить)

Почему ваш код не соответствует Python (и как это исправить)

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Neovim 0.12: новый менеджер плагинов и минимальный IDE-конфиг

Neovim 0.12: новый менеджер плагинов и минимальный IDE-конфиг

Почему огонь ГОРИТ. Ответ Фейнмана переворачивает реальность

Почему огонь ГОРИТ. Ответ Фейнмана переворачивает реальность

Lightning Talk: Design by Intuition - Timur Doumler - C++ on Sea 2025

Lightning Talk: Design by Intuition - Timur Doumler - C++ on Sea 2025

Самый бюджетный дом за 10 дней. Полный процесс строительства

Самый бюджетный дом за 10 дней. Полный процесс строительства

Что наука знает об Иисусе, если он существовал?

Что наука знает об Иисусе, если он существовал?

Lightning Talk: How to Cook Your CPU with C++ - Conor Spilsbury - C++ on Sea 2025

Lightning Talk: How to Cook Your CPU with C++ - Conor Spilsbury - C++ on Sea 2025

Fading Audio is ROUGH on CPUs

Fading Audio is ROUGH on CPUs

This New Technology Could Kill TSMC and ASML

This New Technology Could Kill TSMC and ASML

Lightning Talk: To Flush or Not to Flush? - That Is the Question - Robert Leahy - C++ on Sea 2025

Lightning Talk: To Flush or Not to Flush? - That Is the Question - Robert Leahy - C++ on Sea 2025

Bought a Broken CNC Lathe They Don’t Want Me to Fix

Bought a Broken CNC Lathe They Don’t Want Me to Fix

Канадский дом за 10 дней. Полный процесс строительства

Канадский дом за 10 дней. Полный процесс строительства

What German Engineers Said When They Examined a Captured T-34

What German Engineers Said When They Examined a Captured T-34

Unbelievable Workers | Working with Talented Engineers . EP6 #construction #adamrose #workers #smart

Unbelievable Workers | Working with Talented Engineers . EP6 #construction #adamrose #workers #smart

Вторжение Китая в Сибирь: угроза для России? | Документальный фильм

Вторжение Китая в Сибирь: угроза для России? | Документальный фильм

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



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



Контакты для правообладателей: infodtube@gmail.com