Get the latest tech news

LLVM Clang 19 Lands Support For C23's #embed


Merged today to LLVM Clang 19 Git is support for the #embed resource inclusion mechanism that is an approved C23 feature

Merged today to LLVM Clang 19 Git is support for the #embed resource inclusion mechanism that is an approved C23 feature. Current state of the art for working with such static data in C includes creating files which contain solely string literals, directly invoking the linker to create data blobs to access through carefully named extern variables, or generating large brace-delimited lists of integers to place into arrays. After months of work, that code was merged this morning and now makes LLVM Clang the first of the major open-source compilers supporting this directive.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of llvm clang

llvm clang

Photo of embed

embed

Photo of lands support

lands support

Related news:

News photo

LLVM Clang 19 Adds Arm Neoverse-N3 / Neoverse-V3 / Neoverse-V3AE Support

News photo

GCC 14 vs. LLVM Clang 18 Compiler Performance On Fedora 40