digitalmars.D - C++ to add import, module and export
- deadalnix (3/3) Nov 24 2015 According to this:
- deadalnix (3/6) Nov 24 2015 Also, this module representation may be an opportunity for us to
- Iain Buclaw via Digitalmars-d (6/14) Nov 25 2015 Not sure about Clang, but GCC already knows about modules from Fortran.
- Kagamin (3/5) Nov 25 2015 It's been quite a while already:
- deadalnix (2/19) Nov 25 2015 And templates...
- Daniel Murphy (2/9) Nov 25 2015 For what purpose?
- Stefan Koch (5/17) Nov 25 2015 Compatibility with template-heavy c++ code.
- bitwise (4/7) Nov 24 2015 I think I would prefer if C++ compilers started spitting out D
According to this: https://www.youtube.com/watch?v=RwdQA0pGWa4 There are plan to add these keyword in C++'s module system.
Nov 24 2015
On Tuesday, 24 November 2015 at 23:14:28 UTC, deadalnix wrote:According to this: https://www.youtube.com/watch?v=RwdQA0pGWa4 There are plan to add these keyword in C++'s module system.Also, this module representation may be an opportunity for us to compile D to something a C++ compiler can digest (maybe ?).
Nov 24 2015
On 25 November 2015 at 01:53, deadalnix via Digitalmars-d < digitalmars-d puremagic.com> wrote:On Tuesday, 24 November 2015 at 23:14:28 UTC, deadalnix wrote:Not sure about Clang, but GCC already knows about modules from Fortran. The only difference I forsee is that the dwarf generator will be adapted to emit both modules and namespaces in the same CU - as opposed to just modules or just namespaces.According to this: https://www.youtube.com/watch?v=RwdQA0pGWa4 There are plan to add these keyword in C++'s module system.Also, this module representation may be an opportunity for us to compile D to something a C++ compiler can digest (maybe ?).
Nov 25 2015
On Wednesday, 25 November 2015 at 08:27:22 UTC, Iain Buclaw wrote:Not sure about Clang, but GCC already knows about modules from Fortran.It's been quite a while already: http://clang.llvm.org/docs/Modules.html
Nov 25 2015
On Wednesday, 25 November 2015 at 08:27:22 UTC, Iain Buclaw wrote:On 25 November 2015 at 01:53, deadalnix via Digitalmars-d < digitalmars-d puremagic.com> wrote:And templates...On Tuesday, 24 November 2015 at 23:14:28 UTC, deadalnix wrote:Not sure about Clang, but GCC already knows about modules from Fortran. The only difference I forsee is that the dwarf generator will be adapted to emit both modules and namespaces in the same CU - as opposed to just modules or just namespaces.According to this: https://www.youtube.com/watch?v=RwdQA0pGWa4 There are plan to add these keyword in C++'s module system.Also, this module representation may be an opportunity for us to compile D to something a C++ compiler can digest (maybe ?).
Nov 25 2015
On 25/11/2015 11:53 AM, deadalnix wrote:On Tuesday, 24 November 2015 at 23:14:28 UTC, deadalnix wrote:For what purpose?According to this: https://www.youtube.com/watch?v=RwdQA0pGWa4 There are plan to add these keyword in C++'s module system.Also, this module representation may be an opportunity for us to compile D to something a C++ compiler can digest (maybe ?).
Nov 25 2015
On Wednesday, 25 November 2015 at 15:30:30 UTC, Daniel Murphy wrote:On 25/11/2015 11:53 AM, deadalnix wrote:Compatibility with template-heavy c++ code. other then that I can see no reason to do so. I'd rather see the Opposite happen.On Tuesday, 24 November 2015 at 23:14:28 UTC, deadalnix wrote:For what purpose?According to this: https://www.youtube.com/watch?v=RwdQA0pGWa4 There are plan to add these keyword in C++'s module system.Also, this module representation may be an opportunity for us to compile D to something a C++ compiler can digest (maybe ?).
Nov 25 2015
On Tuesday, 24 November 2015 at 23:14:28 UTC, deadalnix wrote:According to this: https://www.youtube.com/watch?v=RwdQA0pGWa4 There are plan to add these keyword in C++'s module system.I think I would prefer if C++ compilers started spitting out D bindings instead ;) Bit
Nov 24 2015