conferences | speakers | series

How to write an extension for C

home

How to write an extension for C
FOSDEM 2022

In this talk we will briefly describe how to add your own extension to C, what steps may be needed to do it. And then we will review a small example

We want to summarize our findings, which we gathered during implementation of procedural-parametric extension for C. This work will present a list of examples about how to extend existing structures in clang, and how to map your new constructions from source code to LLVM IR More details about procedural-parametric approach: https://dl.acm.org/doi/10.1145/2556610.2556619 In that article you'll see examples of this extension implemented in Modula-like programming language. It will give you full picture about what we implemented in C

Speakers: Pavel Kosov