Live data from Hacker News

Using D to Create the World’s Fastest File System

dlang.org

1–10 of 167 posts

Re: Using D to Create the World’s Fastest File System

#5

I discovered D is a secret weapon at several companies, but not all of them want to make it widely known...

Is this true? Mind speaking on which types of projects it was mostly used?

https://medium.com/@NetflixTechBlog/introducing-vectorflow-f...

Re: Using D to Create the World’s Fastest File System

#7
> Our previous company, XIV (that IBM acquired in 2007) used a private version of C that had polymorphism, generic programming, and integrated RPC, for code that was a mixture of XML, C, and weird header files.

Super interesting. XIV was a great system, but "weird" is a good description for some of the source (IBM of course neglected/ruined it). Thought most of the XIV folk went to Infinidat.

In the storage world, C is still king, so nice to see a challenger. But some of the hurdles he describes in the article, ouch. No wonder people stick with un-sexy languages and toolchains.

Re: Using D to Create the World’s Fastest File System

#8
I would have liked to hear more about what exactly made D so great -- reading through it it's kind of vague. He mentions generics and finally getting LLVM support working as a target, and being able to use D at a high and low-level but I don't see anything here that's groundbreaking.

Could someone who uses D

Hate to be that guy, but if you could compare it with rust that would be double A++ good... I know the targets are somewhat different but I find that I can write high level rust and low level rust. Also, I get the feeling that you could very easily have used Go for the same purposes (D was around long before Go IIRC so maybe it was just not being present).

Re: Using D to Create the World’s Fastest File System

#9
post #6

Sounds to me like they would be better off with Rust as they are actively avoiding GC. How are the two languages compare in this problem space?

You can avoid GC with a non-GC standard library that they actually wrote:

https://github.com/weka-io/mecca

Re: Using D to Create the World’s Fastest File System

#10

I would have liked to hear more about what exactly made D so great -- reading through it it's kind of vague. He mentions generics and finally getting LLVM support working as a target, and being able to use D at a high and low-level but I don't see anything here that's groundbreaking. Could someone who uses D Hate to be that guy, but if you could compare it with rust that would be double A++ good... I know the targets…

One of the nice aspects of D is that it interfaces with C++ really nicely. I'm not overly familiar with how Rust handles this, as the last time I tried to glue together Rust and C++ was more than a year ago, and the tooling was in evolution.

From Go / CGo, it can be pretty scary to interface with native C++ code, and it requires lots of annoying boilerplate.

Post reply on HN