Re: "D for a @safer Linux Kernel" poster presentation at APLAS

2019-10-04 Thread RazvanN via Digitalmars-d-announce
On Thursday, 3 October 2019 at 17:30:20 UTC, Arun Chandrasekaran 
wrote:

On Thursday, 3 October 2019 at 11:21:41 UTC, RazvanN wrote:

[...]


Good to know. May be you could publish the code on 
GitHub/GitLab and that could attract interest among people who 
care about performance to take a look. It's tricky to measure 
performance at this scale.


The code is public: https://github.com/alexandrumc/d-virtio/pull/1


New Funding Initiatives from the D Language Foundation

2019-10-04 Thread Mike Parker via Digitalmars-d-announce
The latest post on the blog details some new funding initiatives 
from the D Language Foundation. This includes putting some of the 
HR Fund to use and seeding the first two of a set of forthcoming 
Bugzilla bounties.


https://dlang.org/blog/2019/10/04/d-language-foundation-funding-new-platforms-new-bounties/


Re: New Funding Initiatives from the D Language Foundation

2019-10-04 Thread bachmeier via Digitalmars-d-announce

On Friday, 4 October 2019 at 10:22:56 UTC, Mike Parker wrote:
The latest post on the blog details some new funding 
initiatives from the D Language Foundation. This includes 
putting some of the HR Fund to use and seeding the first two of 
a set of forthcoming Bugzilla bounties.


https://dlang.org/blog/2019/10/04/d-language-foundation-funding-new-platforms-new-bounties/


It's good to see D moving forward like this, and to see that 
there are some real dollar amounts to support these important 
projects. Things continue to get better week by week.


Blog Post: Beating std::visit Without Really Trying

2019-10-04 Thread Paul Backus via Digitalmars-d-announce
I was curious how C++17's std::variant compared to the options we 
have in D, like Algebraic and SumType, so I did a simple 
comparison of the generated assembly for each of them. You can 
read about it at the link below. And as you can probably guess 
from the title, D comes out ahead, in the end.


https://pbackus.github.io/blog/beating-stdvisit-without-really-trying.html

This is my first attempt at sharing something like this, so any 
comment or feedback is very much appreciated!


Re: Blog Post: Beating std::visit Without Really Trying

2019-10-04 Thread Meta via Digitalmars-d-announce

On Saturday, 5 October 2019 at 02:59:58 UTC, Paul Backus wrote:
I was curious how C++17's std::variant compared to the options 
we have in D, like Algebraic and SumType, so I did a simple 
comparison of the generated assembly for each of them. You can 
read about it at the link below. And as you can probably guess 
from the title, D comes out ahead, in the end.


https://pbackus.github.io/blog/beating-stdvisit-without-really-trying.html

This is my first attempt at sharing something like this, so any 
comment or feedback is very much appreciated!


I'm not sure if you're aware, but funnily enough, I also wrote an 
article[1] on std::variant vs. the D alternative that references 
Matt Kline's article on std::visit. It seems we're really making 
getting our money's worth from his article.


I really enjoyed this - I think you're right in that it comes 
down to the complexity of implementation, and I suspect that C++ 
forced the developers of std::variant to choose between a usable 
API (usable, not good) and performance.


I've been trying to communicate this major selling point of D to 
my coworkers, but it's a real uphill battle. I haven't even been 
able to convince them that built-in unit tests are a killer 
feature.


As an aside, I actively use your sumtype library and for the most 
part find it very nice to use. Thanks for the great work.


1.https://dlang.org/blog/2018/03/29/std-variant-is-everything-cool-about-d/


Re: commonmark-d: A fast CommonMark and Github Flavoured Markdown parser, translation of MD4C

2019-10-04 Thread zoujiaqing via Digitalmars-d-announce

On Thursday, 3 October 2019 at 08:19:12 UTC, LocoDelPueblo wrote:


d-markdown was actually extracted from vibe-d a a few years



But it is not compatible with commonmark syntax.


Re: Blog Post: Beating std::visit Without Really Trying

2019-10-04 Thread Arun Chandrasekaran via Digitalmars-d-announce

On Saturday, 5 October 2019 at 02:59:58 UTC, Paul Backus wrote:
I was curious how C++17's std::variant compared to the options 
we have in D, like Algebraic and SumType, so I did a simple 
comparison of the generated assembly for each of them. You can 
read about it at the link below. And as you can probably guess 
from the title, D comes out ahead, in the end.


https://pbackus.github.io/blog/beating-stdvisit-without-really-trying.html

This is my first attempt at sharing something like this, so any 
comment or feedback is very much appreciated!


Good one. Any plans to push SumType as a replacement of Phobo's 
Algebraic?