3 ms·
I'm curious what the story is with (if I have it right) V8 dropping sea of nodes. Is it an argument against sea of nodes or just that it isn't pulling it's wei
by mhh__ 1y ago
I'm curious what the story is with (if I have it right) V8 dropping sea of nodes.
Is it an argument against sea of nodes or just that it isn't pulling it's weight for them at the moment
- pizlonator 1y agoMy take: sea of nodes has no objective benefits over CFG/SSA. Like, none whatsoever. It’s all feels. And it has lots of objective downsides, which are summarized quite nicely in the V8 folks post about dropping it. Let me dig into the no objective benefits bit: there does not exist a compiler transformation or analysis that would be easier to write in the sea of nodes representation. Not even one. Contrast this with SSA versus the alternatives, where SSA saves you hella lines of code that you would otherwise be writing to track use def chains.
- mhh__ 1y agoSoN is SSA no? Or you just mean the trad style of SSA?