Remix.run Logo
dismalaf 7 hours ago

That's why there's nothing that comes close to LLVM and MLIR, right?

If he's such a horrible engineer then we should have lots of LLVM replacements, right?

pbohun 7 hours ago | parent | next [-]

QBE is a tiny project, but I think illustrates a better intermediate language design. https://c9x.me/compile/

dismalaf 4 hours ago | parent [-]

Except performance isn't great and it covers far fewer platforms. It aims for 70% performance but the few benchmarks I've seen show more like 30-50% performance.

It's a cool project and I'd consider it for a toy language but it's far from an LLVM replacement.

levodelellis 5 hours ago | parent | prev [-]

Many compilers including my own uses C89

dismalaf 4 hours ago | parent [-]

You'll still need a C compiler...

levodelellis 3 hours ago | parent [-]

I never heard of hardware without one

dismalaf 3 hours ago | parent [-]

Avoiding interacting with LLVM as a user doesn't mean you've created something equivalent to LLVM.

And if the C compiler you use is clang then you're still literally making use of LLVM.