5 ms·
Worth remembering that the C++ standards committee hasn't yet drawn up a spec for modules. These are MSVC only for now. Clang has its own implementation.
by nly 11y ago
Worth remembering that the C++ standards committee hasn't yet drawn up a spec for modules. These are MSVC only for now. Clang has its own implementation.
- frozenport 11y agoSo are dlls :-)
- cjensen 11y agoAccording to MS' blog post, this is based on the current modules proposal that the committee is working on. Isn't Clang also following the same proposal?
- msbarnett 11y agoThere are two competing proposals before the committee currently. Microsoft is implementing one of them, clang is driving the other. By pursuing implementations of different proposals the committee hopes to converge on a best compromise design incorporating lessons learned from trying them out in practice. Slightly more info in this write up of the Oct 2015 meeting https://botondballo.wordpress.com/2015/11/09/trip-report-c-standards-meeting-in-kona-october-2015/ https://botondballo.wordpress.com/2015/11/09/trip-report-c-s...
- cechner 11y agocurious - I remember when modules were first proposed I thought Apple was heading up the initiative, based on their work with Objective-C. I remember reading slides someone at Apple prepared describing the likely syntax and everything...
- msbarnett 11y agoThat is, more or less, the current clang proposal.
- DannyBee 11y ago"According to MS' blog post, this is based on the current modules proposal that the committee is working on. Isn't Clang also following the same proposal?" The blog post is just oddly written to make it seem like the proposal MS has implemented was approved. Not sure why it was done, but it's confusing.
- TillE 11y agoThey do make sure to remind you that it is an experimental implementation, which you need to specifically turn on. Definitely not a good idea to write significant amounts of code based on experimental stuff. Microsoft's C++ people are good now, and heavily involved in the standards process. Their eventual non-experimental version of modules will conform to whatever the spec is.