51 ms·
Looks cool, but could somebody explain what this would be used for? I'm guessing in situations between Native Code and JS? Looks a bit like .NET's IL. ADD: Loo
by DanielBMarkham 11y ago
Looks cool, but could somebody explain what this would be used for? I'm guessing in situations between Native Code and JS? Looks a bit like .NET's IL.
ADD: Looking at the other comments, this is useful also as a platform to create languages, sort of a universal IL, yes?
- masklinn 11y ago> ADD: Looking at the other comments, this is useful also as a platform to create languages, sort of a universal IL, yes? Not to my knowledge, it's solely an optimisation and codegen backend for webkit's FTL JIT (and possibly some other JIT sections in the future)
- pcwalton 11y agoIt's more like a tiny stripped-down (hence "bare bones") LLVM workalike for applications that value compilation speed highly, as far as I can tell.
- eliben 11y agoI'd say that due to the input (JS), they also have a fairly limited set of IR constructs they really need to support. The B3 IR looks very simple for this reason. IOW, they figured out that for realistic code they don't need the full, heavy weight of LLVM and can just implement some simple basics.