digitalmars.D.announce - DMD backend now in D
- Walter Bright (3/3) Nov 11 2018 As:
- Andrej Mitrovic (2/5) Nov 11 2018 Congrats to everyone!
- Mike Franklin (8/11) Nov 11 2018 This is a significant milestone. Congratulations, Walter!
- Walter Bright (11/17) Nov 11 2018 tk.c
- Jacob Carlborg (10/23) Nov 12 2018 dmd/root/ctfloat.d depends on the "strtold_dm" function defined in
- rikki cattermole (3/32) Nov 12 2018 That module needs a right rethink for dmd-fe as a library purposes.
- Temtaime (4/21) Nov 13 2018 No, as phobos is dependent on C libraries such as a zlib for
- Joakim (4/34) Nov 13 2018 It's possible to reimplement the subset of libc functions that
- Codifies (5/8) Nov 11 2018 by this, does it mean that D is entirely self hosted ?, ie given
- bauss (2/5) Nov 12 2018 This makes me happy.
- Jacob Carlborg (4/7) Nov 12 2018 BTW, this is great news :)
As: https://github.com/dlang/dmd/pull/8946 removes the header files for the old C++ code!
Nov 11 2018
On Sunday, 11 November 2018 at 23:40:16 UTC, Walter Bright wrote:As: https://github.com/dlang/dmd/pull/8946 removes the header files for the old C++ code!Congrats to everyone!
Nov 11 2018
On Sunday, 11 November 2018 at 23:40:16 UTC, Walter Bright wrote:As: https://github.com/dlang/dmd/pull/8946 removes the header files for the old C++ code!This is a significant milestone. Congratulations, Walter! There are still a few .c files in https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's the significance of those? Will there ever be a day when we no longer need a C/C++ compiler to build DMD? Has that day arrived? Mike
Nov 11 2018
On 11/11/2018 3:58 PM, Mike Franklin wrote:This is a significant milestone. Congratulations, Walter!Many people helped out with this, too.There are still a few .c files in https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's the significance of those?tk.c fp.c os.c strtold.c tk/mem.c These could be converted too, but are independent from everything else and hardly seem worth the bother. Sebastian has a PR for os.cd.Will there ever be a day when we no longer need a C/C++ compiler to build DMD?Sure.Has that day arrived?Pragmatically, yes. Technically, no.
Nov 11 2018
On 2018-11-12 03:37, Walter Bright wrote:On 11/11/2018 3:58 PM, Mike Franklin wrote:dmd/root/ctfloat.d depends on the "strtold_dm" function defined in strtold.c [2] when compiling using Visual Studio. That means that the Dub package cannot be compile using Visual Studio without this file. [1] https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/root/ctfloat.d#L167-L170 [2] https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/backend/strtold.c#L138 -- /Jacob CarlborgThis is a significant milestone. Congratulations, Walter!Many people helped out with this, too.There are still a few .c files in https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's the significance of those?tk.c fp.c os.c strtold.c tk/mem.c These could be converted too, but are independent from everything else and hardly seem worth the bother. Sebastian has a PR for os.cd.
Nov 12 2018
On 13/11/2018 12:12 AM, Jacob Carlborg wrote:On 2018-11-12 03:37, Walter Bright wrote:That module needs a right rethink for dmd-fe as a library purposes. https://issues.dlang.org/show_bug.cgi?id=18810On 11/11/2018 3:58 PM, Mike Franklin wrote:dmd/root/ctfloat.d depends on the "strtold_dm" function defined in strtold.c [2] when compiling using Visual Studio. That means that the Dub package cannot be compile using Visual Studio without this file. [1] https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/root ctfloat.d#L167-L170 [2] https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/ba kend/strtold.c#L138This is a significant milestone. Congratulations, Walter!Many people helped out with this, too.There are still a few .c files in https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's the significance of those?tk.c fp.c os.c strtold.c tk/mem.c These could be converted too, but are independent from everything else and hardly seem worth the bother. Sebastian has a PR for os.cd.
Nov 12 2018
On Monday, 12 November 2018 at 02:37:54 UTC, Walter Bright wrote:On 11/11/2018 3:58 PM, Mike Franklin wrote:No, as phobos is dependent on C libraries such as a zlib for example. Also D is dependent on libc.This is a significant milestone. Congratulations, Walter!Many people helped out with this, too.There are still a few .c files in https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's the significance of those?tk.c fp.c os.c strtold.c tk/mem.c These could be converted too, but are independent from everything else and hardly seem worth the bother. Sebastian has a PR for os.cd.Will there ever be a day when we no longer need a C/C++ compiler to build DMD?Sure.
Nov 13 2018
On Tuesday, 13 November 2018 at 20:42:00 UTC, Temtaime wrote:On Monday, 12 November 2018 at 02:37:54 UTC, Walter Bright wrote:DMD doesn't use Phobos.On 11/11/2018 3:58 PM, Mike Franklin wrote:No, as phobos is dependent on C libraries such as a zlib for example.This is a significant milestone. Congratulations, Walter!Many people helped out with this, too.There are still a few .c files in https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's the significance of those?tk.c fp.c os.c strtold.c tk/mem.c These could be converted too, but are independent from everything else and hardly seem worth the bother. Sebastian has a PR for os.cd.Will there ever be a day when we no longer need a C/C++ compiler to build DMD?Sure.Also D is dependent on libc.It's possible to reimplement the subset of libc functions that DMD depends on in D.
Nov 13 2018
On Sunday, 11 November 2018 at 23:40:16 UTC, Walter Bright wrote:As: https://github.com/dlang/dmd/pull/8946 removes the header files for the old C++ code!by this, does it mean that D is entirely self hosted ?, ie given some slightly out of date version of dmd is that all thats needed to build dmd in its entirety ? If so congrats on version one ! :p
Nov 11 2018
On Sunday, 11 November 2018 at 23:40:16 UTC, Walter Bright wrote:As: https://github.com/dlang/dmd/pull/8946 removes the header files for the old C++ code!This makes me happy.
Nov 12 2018
On 2018-11-12 00:40, Walter Bright wrote:As: https://github.com/dlang/dmd/pull/8946 removes the header files for the old C++ code!BTW, this is great news :) -- /Jacob Carlborg
Nov 12 2018