News for hackers. Stuff that matters.
Re:Tilde, My LLVM Alternative by muizelaar on Friday January 24, 2025 @09:50AM (#42813505)
I thought the sea-of-nodes choice was interesting.

V8 has been moving away from sea-of-nodes. Here's a video where Ben Titzer is talking about V8's reasons for moving away from sea-of-nodes: https://www.youtube.com/watch?v=Vu372dnk2Ak&t=184s. Yasser, the author of Tilde, is is also in the video.

Re:Tilde, My LLVM Alternative by o11c on Friday January 24, 2025 @11:50AM (#42814935)
TL;DW version: sea of nodes requires a scheduling pass, which was taking 20% of their compilation time. But it sounds like there's a lot of legacy baggage, so ...
Re:Tilde, My LLVM Alternative by negate32 on Saturday January 25, 2025 @07:21PM (#42826407)
My GCM doesn't take 20% of my compile times last I checked but even so, V8 is gonna be in a special camp because they're comparing against a compiler that doesn't do much code motion. LLVM does a lot of code motion so that "20%" is still being paid by LLVM during their hoisting and local scheduling passes.