36 karma · joined October 4, 2020
Perhaps you work on llvm or something professionally?
But yeah if you can please provide support for your view. Thanks
```
p = a + b
q = p-c
p = q * d
```
Ssa:
```
p1 = a+ b
q1= p1 - c
p2 = q1 * d
```
Given the above examples how is it not straightforward to use ssa instead of three address code using what the dragon book teaches? What is wrong with the above examples?
In fact section 6.2.4 in the dragon book it says:
“Two distinctive aspects distinguish SSA from three-address code. The first is that all assignments in SSA are to variables with distinct names; hence the term static single-assigment.” The second one is that ssa uses a function to combine two definitions
Lately I’ve been playing chess with a friend and I’m getting the hang of it and im finding chess really fun!
I want to get better now. Chess is fun you all. You should play it!
I know the compiler industry is full of people with masters degrees and PHDs.
then would you say getting at least a BS in math or CS the way to go? or should i aim harder and get a masters or PHD? thanks
check out my scheme to c compiler. I implemented closure conversion and continuation passing style conversion. the architecture is the following: parsing (ast) -> desugaring -> continuation-passing-style -> closure-conversion -> code generation. Take a look and give me some feedback if you can. thanks