3 ms·
The more time I spend with Python, the more it seems to me that a language defined abstractly and having multiple implementations (none "official") seems to be
by z77dj3kl 6y ago
The more time I spend with Python, the more it seems to me that a language defined abstractly and having multiple implementations (none "official") seems to be the healthiest compared to one with a reference compiler/interpreter. D seems to have one "reference compiler" and just a "reference manual".
- gmfawcett 6y agoYou wouldn't have two or more reference compilers -- that would defeat the point. There are three popular D compilers, one of which (DMD) can be considered the reference. As for "reference manual" -- well, every tool should have a reference manual. The "reference" here has a different connotation. I think you might be conflating "reference manual" with "formal specification", which is not accurate in this case (and in most cases).
- mhh__ 6y agoI'm not sure how this actually applies to D? There are definitely niggles with how dmd is currently implemented but they are usually quite hard to bump into day to day.
- djwatson24 6y agoD has three fully functional compilers on Linux, and is probably in better shape than python, rust, even c++ in that regard.
- qznc 6y agoThere is only one frontend though. The advantage of multiple compilers is that people find subtle differences which humans miss by only reading the spec. Since D has only one frontend, it does not get that benefit although it can technically claim to have three compilers.
- p0nce 6y agoThis is a valid criticism; yet a spec is "code" that has to be maintained and created, so in the context of open source someone has to do it. An ISO-quality spec needs a lot of efforts to happen. Thing have been getting slowly better over time, with this small specification: https://dlang.org/spec/intro.html https://dlang.org/spec/intro.html
- aldanor 6y agoThere's definitely more D compilers than Rust compilers... that automatically implies D is 'the healthiest'?