[Nix#9689] Use C++ modules #76

Closed
opened 2024-03-16 06:44:47 +00:00 by lix-bot · 2 comments
Member

Upstream-Issue: NixOS/nix#9689

Perhaps a duplicate issue.

C++ modules seem objectively better than headers.

Perhaps some of the stuff that Nix does with headers can't be
replicated with modules but it seems like you can use them both at the same time.

For reference: https://clang.llvm.org/docs/StandardCPlusPlusModules.html

Upstream-Issue: https://git.lix.systems/NixOS/nix/issues/9689 Perhaps a duplicate issue. C++ modules seem objectively better than headers. Perhaps some of the stuff that Nix does with headers can't be replicated with modules but it seems like you can use them both at the same time. For reference: https://clang.llvm.org/docs/StandardCPlusPlusModules.html
lix-bot added the
devx
imported
labels 2024-03-16 06:44:47 +00:00
Owner

This would be nice but it's blocked on meson and it is unlikely that will change soon enough to track this as a practical work item.

This would be nice but it's blocked on meson and it is unlikely that will change soon enough to track this as a practical work item.
jade closed this issue 2024-04-06 04:47:32 +00:00
Owner

Actually it seems Meson is working on C++ modules more than I thought; there is apparently some support with GCC and MSVC now? https://github.com/mesonbuild/meson/issues/5024#issuecomment-2038233157

Still, probably won't be production ready for a while though yeah.

Actually it seems Meson *is* working on C++ modules more than [I thought](https://git.lix.systems/NixOS/nix/issues/9689#issuecomment-597); there is apparently some support with GCC and MSVC now? https://github.com/mesonbuild/meson/issues/5024#issuecomment-2038233157 Still, probably won't be production ready for a while though yeah.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#76
No description provided.