Skip to content(if available)orjump to list(if available)

Compiling C++ with the Clang API

Compiling C++ with the Clang API

4 comments

·March 9, 2025

null

[deleted]

fooblaster

This is pretty cool. What are the use cases?

wdpk

compile c++ code at runtime for instance. Lots of use cases, most obvious one specializing/instantiating dense computational kernels on values only known at runtime... but so many more things would be possible if the compiler was just a reusable library.