C++ interfaces and D dynamic arrays

2018-01-02 Thread Void-995 via Digitalmars-d-learn
Hi, everyone. I would like to have an interface that can be implemented and/or used from C++ in D. One of the things I would like to keep is the nice feature of D dynamic arrays in terms of bounding checks and "length" property. Let's assume: extern (C++) interface ICppInterfaceInD { ref

Re: D, Game Development, GLSL, Math

2017-07-01 Thread Void-995 via Digitalmars-d-learn
On Saturday, 1 July 2017 at 19:16:12 UTC, drug wrote: 01.07.2017 22:07, Void-995 пишет: (Void-995) Hi, everyone. I'm pretty excited with what have D to offer for game development, especially meta programming, traits, object.factory, signals and bunch of other neat things that may save a lot

D, Game Development, GLSL, Math

2017-07-01 Thread Void-995 via Digitalmars-d-learn
(Void-995) Hi, everyone. I'm pretty excited with what have D to offer for game development, especially meta programming, traits, object.factory, signals and bunch of other neat things that may save a lot of time. Also, i saw support for vector data types and simd, which sounds awesome. The