www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Data Processing benchmark featuring Rust, Go, Swift, Zig, etc. now D

reply linger <xiao linger.me> writes:
[https://github.com/jinyus/related_post_gen](https://github.com/jinyus/related_post_gen)
Oct 15 2023
next sibling parent reply jmh530 <john.michael.hall gmail.com> writes:
On Monday, 16 October 2023 at 02:37:40 UTC, linger wrote:
 [https://github.com/jinyus/related_post_gen](https://github.com/jinyus/related_post_gen)
There was a post in the learn forum as well [1]. [1] https://forum.dlang.org/thread/kdhnbmmorcxjaspntejo forum.dlang.org
Oct 16 2023
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Monday, 16 October 2023 at 18:24:14 UTC, jmh530 wrote:
 On Monday, 16 October 2023 at 02:37:40 UTC, linger wrote:
 [https://github.com/jinyus/related_post_gen](https://github.com/jinyus/related_post_gen)
There was a post in the learn forum as well [1]. [1] https://forum.dlang.org/thread/kdhnbmmorcxjaspntejo forum.dlang.org
We worked for some days on this. It's nice to see that D is quite competitive.
Oct 16 2023
parent jmh530 <john.michael.hall gmail.com> writes:
On Monday, 16 October 2023 at 18:32:52 UTC, Imperatorn wrote:
 On Monday, 16 October 2023 at 18:24:14 UTC, jmh530 wrote:
 On Monday, 16 October 2023 at 02:37:40 UTC, linger wrote:
 [https://github.com/jinyus/related_post_gen](https://github.com/jinyus/related_post_gen)
There was a post in the learn forum as well [1]. [1] https://forum.dlang.org/thread/kdhnbmmorcxjaspntejo forum.dlang.org
We worked for some days on this. It's nice to see that D is quite competitive.
It's good see see, though I think if you're using a language like C, C++, D, or Rust then benchmarks like these usually come out about the same if you have optimized enough. It just might be that the other versions haven't spent as much time trying to optimize. The Rust one is looking more competitive than it was before, but Rust or C++ code is generally harder for me to follow than D code.
Oct 16 2023
prev sibling parent ryuukk_ <ryuukk.dev gmail.com> writes:
On Monday, 16 October 2023 at 02:37:40 UTC, linger wrote:
 [https://github.com/jinyus/related_post_gen](https://github.com/jinyus/related_post_gen)
D rules! Great performance by default and the code it still is very easy to read! Zig's code matches my experience with it, some nice syntax ideas, but overall the language suffer from poor ergonomics https://github.com/jinyus/related_post_gen/blob/main/zig/main.zig I complain often about D syntax but this benchmark actually makes me realize how i am simply just wrong most of the time, D is great
Oct 18 2023