On Saturday, 1 February 2025 at 00:21:22 UTC, user1234 wrote:
On Friday, 31 January 2025 at 20:05:54 UTC, Jabari Zakiya wrote:
[...]

A first draft of the translation, not very idiomatic D code:

```d
module prime_pairs;
import std;

[...]

Thank you very much!

As you can see, D is not my primary language, but I respect its speed and readability. I also have a faster Crystal version, almost identical (96%) to the Rudy code. I'm implementing it in different languages, partly as a way to learn them with a real task.

I'll study the D code thoroughly to conceptually understand the idioms used int it.
I, like you, also wait to see a "beautiful" version done.

Reply via email to