On Sunday, 6 October 2019 at 21:49:59 UTC, Joseph Rushton
Wakeling wrote:
I'm not fluent in assembly so, leaving the error path aside, I
wasn't sure how to interpret the "main path" assembly from the
D and Rust code, and whether they were practically equivalent
(clearly the assembly posted looked different). Can anyone
offer any interpretation there?
Both the D-with-SumType and Rust versions optimize the main path
of the function down to a single array lookup. The reason they
look different is that the assembly for the D version uses AT&T
syntax (which is the default for GNU tools like objdump), and the
assembly for the Rust version uses Intel syntax.
- Re: Blog Post: Beating ... Seb via Digitalmars-d-announce
- Re: Blog Post: Bea... Paul Backus via Digitalmars-d-announce
- Re: Blog Post: Bea... Andrei Alexandrescu via Digitalmars-d-announce
- Re: Blog Post: Bea... Walter Bright via Digitalmars-d-announce
- Re: Blog Post:... Seb via Digitalmars-d-announce
- Re: Blog P... Joseph Rushton Wakeling via Digitalmars-d-announce
- Re: Bl... Joseph Rushton Wakeling via Digitalmars-d-announce
- R... Adam D. Ruppe via Digitalmars-d-announce
- R... Joseph Rushton Wakeling via Digitalmars-d-announce
- R... Paul Backus via Digitalmars-d-announce
- Re: Bl... Seb via Digitalmars-d-announce
- R... Joseph Rushton Wakeling via Digitalmars-d-announce
- R... Andrei Alexandrescu via Digitalmars-d-announce
- R... Paul Backus via Digitalmars-d-announce
- R... Joseph Rushton Wakeling via Digitalmars-d-announce
- R... Paul Backus via Digitalmars-d-announce
- Re: Blog P... Arredondo via Digitalmars-d-announce
- Re: Blog Post:... Paolo Invernizzi via Digitalmars-d-announce
-