Re: DMD now incorporates a disassembler

2022-01-07 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 08, 2022 at 07:39:54AM +0100, ag0aep6g via Digitalmars-d-announce wrote: > On 07.01.22 22:41, Walter Bright wrote: > > Compile with -vasm to see it! Enjoy! > > With feature creep in full swing now, when can I expect to read my email > with DMD? You already can: echo 'import

Re: DMD now incorporates a disassembler

2022-01-07 Thread ag0aep6g via Digitalmars-d-announce
On 07.01.22 22:41, Walter Bright wrote: Compile with -vasm to see it! Enjoy! With feature creep in full swing now, when can I expect to read my email with DMD?

Re: DMD now incorporates a disassembler

2022-01-07 Thread Brian Callahan via Digitalmars-d-announce
On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote: Compile with -vasm to see it! Enjoy! For the file test.d: int demo(int x) { return x * x; } Compiling with: dmd test.d -c -vasm prints: _D4test4demoFiZi: : 89 F8 mov EAX,EDI 0002:

Re: Added copy constructors to "Programming in D"

2022-01-07 Thread Tejas via Digitalmars-d-announce
On Saturday, 8 January 2022 at 02:07:10 UTC, Ali Çehreli wrote: 1) After about three years, I finally added copy constructors: http://ddili.org/ders/d.en/special_functions.html#ix_special_functions.copy%20constructor [...] Thank you very much for creating and maintaining such an amazing

Added copy constructors to "Programming in D"

2022-01-07 Thread Ali Çehreli via Digitalmars-d-announce
1) After about three years, I finally added copy constructors: http://ddili.org/ders/d.en/special_functions.html#ix_special_functions.copy%20constructor Of course, now I stress that postblit is discouraged. 2) The other noteworthy change in the book is my now-different stance on variables:

Re: DMD now incorporates a disassembler

2022-01-07 Thread Elronnd via Digitalmars-d-announce
On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote: : 89 F8 mov EAX,EDI Feature request: octal.

Re: DMD now incorporates a disassembler

2022-01-07 Thread Dukc via Digitalmars-d-announce
On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote: Compile with -vasm to see it! Enjoy! For the file test.d: int demo(int x) { return x * x; } Compiling with: dmd test.d -c -vasm prints: _D4test4demoFiZi: : 89 F8 mov EAX,EDI 0002:

Re: DMD now incorporates a disassembler

2022-01-07 Thread dd via Digitalmars-d-announce
On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote: Compile with -vasm to see it! Enjoy! Oh very nice! I need to finish my debugger/disassembler project.

DMD now incorporates a disassembler

2022-01-07 Thread Walter Bright via Digitalmars-d-announce
Compile with -vasm to see it! Enjoy! For the file test.d: int demo(int x) { return x * x; } Compiling with: dmd test.d -c -vasm prints: _D4test4demoFiZi: : 89 F8 mov EAX,EDI 0002: 0F AF C0imulEAX,EAX 0005: C3