Backend nearly entirely converted to D
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Nov 6 23:00:01 UTC 2018
On Tue, Nov 06, 2018 at 02:12:02PM -0800, Walter Bright via Digitalmars-d-announce wrote:
> With the recent merging of the last of the big files machobj.d:
>
> https://github.com/dlang/dmd/pull/8911
>
> I'm happy to say we're over the hump in converting the backend to D!
>
> Remaining files are minor: tk.c, cgen.c, dt.c, fp.c, os.c, outbuf.c,
> sizecheck.c, strtold.c and mem.c. I'll probably leave a couple in C
> anyway - os.c and strtold.c. sizecheck.c will just go away upon
> completion.
>
> Thanks to everyone who helped out with this!
Awesome news!
> Of course, the code remains as ugly as it was in C. It'll take time to
> bit by bit refactor it into idiomatic D.
What sort of refactoring are we looking at? Any low-hanging fruit here
that we non-compiler-experts can chip away at?
> The more immediate benefit is to get rid of all the parallel .h files,
> which were a constant source of bugs when they didn't match the .d
> versions.
Finally!
T
--
Do not reason with the unreasonable; you lose by definition.
More information about the Digitalmars-d-announce
mailing list