C++ Logo

sg15

Advanced search

Re: [isocpp-sg15] State of the modules today

From: Ruki Wang <waruqi_at_[hidden]>
Date: Tue, 25 Jun 2024 22:57:38 +0800
Hi James,

> One particular thing I’m puzzled by is the lack of a standard file
extension accepted by the major compilers.

The build system should be compatible with all known module file
extensions. For example, for xmake, it supports ".mpp", ".mxx", ".cppm",
".ixx".

> Could you share any insights or point me to resources on using modules?
Specifically, I’m interested in working with modules without pre-built
libraries.

We also provides many example projects for building modules.

https://github.com/xmake-io/xmake/tree/master/tests/projects/c%2B%2B/modules

James via SG15 <sg15_at_[hidden]> 于2024年6月24日周一 22:30写道:

> Hi,
>
> I hope you’re doing well. I have a few questions about the current state
> of C++ modules and thought you might be able to help. I'm new around here
> and not sure if this is the correct channel to ask, but I appreciate any
> guidance you can provide.
>
> I’m having a hard time finding good information on how modules are used
> today, especially in cross-platform and cross-compiler setups. One
> particular thing I’m puzzled by is the lack of a standard file extension
> accepted by the major compilers. Additionally, do we have an estimate on
> when modules will be supported well enough for everyone to adopt them?
>
> Could you share any insights or point me to resources on using modules?
> Specifically, I’m interested in working with modules without pre-built
> libraries.
>
> Thanks a lot for your time!
> _______________________________________________
> SG15 mailing list
> SG15_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg15
>


-- 
_______________________________________________
Ruki Wang

Received on 2024-06-25 14:57:53