I dun a DIP, possibly the best DIP ever
Atila Neves
atila.neves at gmail.com
Tue Apr 28 08:54:51 UTC 2020
On Monday, 27 April 2020 at 22:15:53 UTC, Walter Bright wrote:
> On 4/27/2020 7:41 AM, Atila Neves wrote:
>> On Monday, 27 April 2020 at 13:02:03 UTC, jmh530 wrote:
>>> On Monday, 27 April 2020 at 12:08:11 UTC, Atila Neves wrote:
>>>> [snip]
>>>>
>>
>> I know. Eigen is literally the reason why I can't convince any
>> friends who work at CERN to try D. My dream would be to have
>> dpp somehow enable calling it from D, but I'm not sure that'll
>> ever be possible.
>
> Actually, you can write expression templates in D (I've done it
> as a demo). But it is a bit more limited in D because D doesn't
> allow separate overloads for < <= > >=, for example.
These limitations are one of the reasons why I'm not sure it's
possible to call into Eigen. Another is trying to translate C++
features that don't exist in D such as reference types.
> A far as Boost Spirit goes, more than one person has made a D
> parser generator using mixins that is far better.
I don't think D is even in the same league here and is obviously
better. My point was that ETs are alive and well in C++.
More information about the Digitalmars-d
mailing list