3 ms·
It has an LLVM IR backend, which you can then translate to WASM. Not sure if I've seen any examples of anyone doing this though.
by chrisseaton 4y ago
It has an LLVM IR backend, which you can then translate to WASM. Not sure if I've seen any examples of anyone doing this though.
- yarg 4y agoDoes it? I know it supports executing LLVM IR - but that's not the same as a target platform. https://www.graalvm.org/22.1/reference-manual/llvm/ https://www.graalvm.org/22.1/reference-manual/llvm/ Sorry, seems that you're right: https://www.graalvm.org/22.1/reference-manual/native-image/LLVMBackend/ https://www.graalvm.org/22.1/reference-manual/native-image/L...
- a1369209993 4y ago> I know it supports executing LLVM IR - but that's not the same as a target platform. Specifically, that's a source platform, which is basically the opposite of target platform.
- chrisseaton 4y agoGraal also has LLVM as a target platform, is what I said.
- gavinray 4y agoWell, that's new. That is really cool and opens up some neat usecases.
- a1369209993 4y agoThat's what you said: > It has an LLVM IR backend [ie, LLVM IR as a target platform] The quote in my previous comment was from yarg, and (as stated) was describing a source platform.