Re:I spent a year of my life making an ASN.1 compiler in D
by binaryturtle on Thursday October 23, 2025 @10:49AM
(#45682475)
Isn't D supported by the GNU compiler collection? I personally would prefer this type of tooling over what Rust and Go do (I can't even get their compilers to run on my old platform anymore; not to mention all this dependencies on remote resources typical Rust/Go projects seem to have: which seems to be enforced by the ecosystem?)
[ Parent
| on HN ]
Re:I spent a year of my life making an ASN.1 compiler in D
by pjmlp on Thursday October 23, 2025 @12:01PM
(#45683417)
It is, however keeping LDC and GCC up to date is a volunteer effort with not enough people, so they are always a bit behind dmd.
Still much better than GCCGO, kind of useless for anything beyond Go 1.18, no one is updating it any longer, and may as well join gcj.
Re:I spent a year of my life making an ASN.1 compiler in D
by sfpotter on Thursday October 23, 2025 @12:38PM
(#45683921)
Having written real code in D, I can say that the slight discrepancy between dmd, LDC, and gdc isn't a roadblock in practice.
Re:I spent a year of my life making an ASN.1 compiler in D
by pjmlp on Friday October 24, 2025 @01:28AM
(#45691092)
Depends how creative you happen to be with some features.
For regular common code that is indeed not an issue.
Re:I spent a year of my life making an ASN.1 compiler in D
by 1980phipsi on Thursday October 23, 2025 @01:43PM
(#45684632)
LDC isn't regularly behind DMD lately. The issue lately has been more the release process with respect to DMD. People issues impacting that.
Re:I spent a year of my life making an ASN.1 compiler in D
by pjmlp on Friday October 24, 2025 @01:26AM
(#45691075)
Which was my point, volunteer work without enough people.
Re:I spent a year of my life making an ASN.1 compiler in D
by mhh__ on Thursday October 23, 2025 @11:09AM
(#45682738)
It is
Re:I spent a year of my life making an ASN.1 compiler in D
by fithisux on Friday October 24, 2025 @12:33AM
(#45690795)
It is supported. However on Windows GDC does not work. LDC based on LLVM needs Visual Studio but I maybe wrong since there are clang/llvm distributions based on mingw64. Other than that DMD works fine, a bit slower than the other compilers, but a charm to use.
Re:I spent a year of my life making an ASN.1 compiler in D
by alphaglosined on Friday October 24, 2025 @03:17AM
(#45691810)
Ldc like dmd ships lld and mingw import libraries and has for a few years now.
They both work out of the box without MSVC installed.
It's only ImportC feature that requires MSVC. The work required to get clang working in its place hasn't happened yet.