Walter's talk on D backend

claptrap clap at trap.com
Wed Sep 25 19:31:01 UTC 2024


On Wednesday, 25 September 2024 at 11:41:59 UTC, Walter Bright 
wrote:
> On 9/24/2024 3:20 PM, Dibyendu Majumdar wrote:
>> But the description provided so far does not show DMD compiler 
>> uses SSA.
>
> And it doesn't. It uses binary trees, which are very much like 
> SSA.

If multiple nodes in the tree can point to the same shared state, 
IE variables, then it's not actually like SSA. In the same way a 
function where the most of the instructions dont access global 
state isnt like a pure function because most of it is pure.





More information about the Digitalmars-d mailing list