3 ms·
How this library works? There appears a llvm libcxx bundled in as part of the repo. What's the purpose of that libcxx?
by justicezyx 6y ago
How this library works?
There appears a llvm libcxx bundled in as part of the repo. What's the purpose of that libcxx?
- blelbach 6y agoThat involves a few diagrams, but essentially, we have two layers: - the libcu++ layer, which has some of our extensions and implementations specific to our platform. - the libc++ layer, which is a modified upstream libc++. A header in the libcu++ layer defines the libc++ internal macros in a certain way, and then includes the applicable libc++ header. This is the current architecture, but we're moving away towards a more integrated approach where almost everything is in the libc++ layer.