ycliper

Популярное

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

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

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

Топ запросов

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

The Challenges of Implementing the C Standard Library in C++ - Siva Chandra Reddy - CppNow 2023

Автор: CppNow

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

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

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

The Challenges of Implementing the C Standard Library in C++ - Siva Chandra Reddy - CppNow 2023
Slides: https://github.com/boostcon
---

We kicked-off LLVM's libc project (https://libc.llvm.org) over three years ago with certain grand goals of making all of it instrumentable with sanitizers, employ modern software development practices while keeping it as modular and configurable as possible. One very interesting decision we took was to implement the libc, a C standard library, in the C++ language. We did not mean or intend to stick to a small C like subset of the C++ language. In fact, the only restriction we imposed was to not use virtual functions. This talk is a demonstration of how we have successfully implemented a C library in pure C++ using modern C++ idioms, constructs and language features. We will show how we have successfully avoided the use of assembly language to implement the startup subsystem of the libc in pure C++. We will show how we have implemented memory routines in C++ while still matching or bettering the performance of hand-crafted assembly implementations of other C standard library implementations. Some of our techniques in the early stages were hacky but have evolved over the years to be more principled. We will show how we were able to eliminate the early hacky solutions and replace them with more maintainable and scalable practices. We will also demonstrate how we use modern C++ idioms for tasks like memory allocations, memory de-allocations etc.

To use C++ to implement a C library was a challenge that we posed to ourselves and pulled it off. With this talk, we intend to share what we have learn't while demonstrating the practical utility of modern C++ constructs in implementing simple, maintainable, and production ready code.
---

Siva Chandra Reddy

Siva Chandra Reddy is a software engineer at Google working on the C++ compiler toolchain team. For most of his professional career, he has worked on various open source and proprietary compiler toolchain systems. He has contributed to GCC, GDB and various LLVM projects with LLVM's libc being his primary focus in the last three years. He holds a master's degree in computer science and a bachelor's degree in electrical engineering.
---

Register Now For C++Now 2026: https://cppnow.org/registration/ *
---

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

CppNow 2024
https://www.cppnow.org
  / cppnow  
---

#boost #cpp #softwaredevelopment

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
The Challenges of Implementing the C Standard Library in C++ - Siva Chandra Reddy - CppNow 2023

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

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

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

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

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

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

Embedded Applications: Seamless Integration of C++ in Conjunction with C - Sindhusha Dhulipala

Embedded Applications: Seamless Integration of C++ in Conjunction with C - Sindhusha Dhulipala

SIMD Libraries in C++ - Jeff Garland - CppNow 2023

SIMD Libraries in C++ - Jeff Garland - CppNow 2023

Modernizing Compiler Design for Carbon Toolchain - Chandler Carruth - CppNow 2023

Modernizing Compiler Design for Carbon Toolchain - Chandler Carruth - CppNow 2023

Exceptions in C++: Better Design Through Analysis of Real World Usage - Peter Muldoon - CppNow 2023

Exceptions in C++: Better Design Through Analysis of Real World Usage - Peter Muldoon - CppNow 2023

Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha  C++Now 2024

Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha C++Now 2024

Luke Valenty - High-Performance Message Dispatch in C++ - emBO++ 2023

Luke Valenty - High-Performance Message Dispatch in C++ - emBO++ 2023

What is Low Latency C++? (Part 1) - Timur Doumler - CppNow 2023

What is Low Latency C++? (Part 1) - Timur Doumler - CppNow 2023

Почему я перестал запускать программы Windows на Linux

Почему я перестал запускать программы Windows на Linux

Writing Python Bindings for C++ Libraries for Performance and Ease of Use - Saksham Sharma - CppNow

Writing Python Bindings for C++ Libraries for Performance and Ease of Use - Saksham Sharma - CppNow

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

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

Adaptix vs Pydantic: или почему код на Python может работать быстро? / Python Mentor Podcast #3

Adaptix vs Pydantic: или почему код на Python может работать быстро? / Python Mentor Podcast #3

Чистая АРХИТЕКТУРА GOLANG — ультимативный гайд на реальном проекте [за 3 часа]

Чистая АРХИТЕКТУРА GOLANG — ультимативный гайд на реальном проекте [за 3 часа]

Thinking Functionally in C++ - Brian Ruth - CppCon 2023

Thinking Functionally in C++ - Brian Ruth - CppCon 2023

Бесплатная Нейросеть Уничтожила ChatGPT (вот пруфы)

Бесплатная Нейросеть Уничтожила ChatGPT (вот пруфы)

История C# и TypeScript с Андерсом Хейлсбергом | GitHub

История C# и TypeScript с Андерсом Хейлсбергом | GitHub

Concurrency in C++: A Programmer’s Overview (part 1 of 2) - Fedor Pikus - CppNow 2022

Concurrency in C++: A Programmer’s Overview (part 1 of 2) - Fedor Pikus - CppNow 2022

Assembly, System Calls, and Hardware in C++ - David Sankel - CppNow 2023

Assembly, System Calls, and Hardware in C++ - David Sankel - CppNow 2023

Composition on Tiny Embedded Systems in C++ - Luke Valenty - CppNow 2023

Composition on Tiny Embedded Systems in C++ - Luke Valenty - CppNow 2023

C++ Memory Model: from C++11 to C++23 - Alex Dathskovsky - CppCon 2023

C++ Memory Model: from C++11 to C++23 - Alex Dathskovsky - CppCon 2023

An Introduction to Multithreading in C++20 - Anthony Williams - CppCon 2022

An Introduction to Multithreading in C++20 - Anthony Williams - CppCon 2022

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



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



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