Fork me on GitHub
#graalvm
<
2020-02-24
>
borkdude17:02:33

This was just shared on twitter. Could ease FFI between clojure and Rust / C even more! https://github.com/rust-lang/rust/issues/31134

zilti20:02:06

according to the GraalVM website you can compile Rust programs so they run on the GraalVM and can use the polyglot API

littleli20:02:25

There is a LLVM bitcode interpretter, so you can run anything that compiles to LLVM bitcode

zilti20:02:15

Well, not really anything though... I tried to compile Chicken Scheme, and GraalVM's bitcode interpreter failed miserably ^^

borkdude21:02:26

I haven't used the polyglot bits yet, only the native-image capabilities

littleli21:02:54

@zilti I believe the latest LLVM is not supported, but I actually didn't check status

zilti21:02:24

Hmm. I did compile using the GraalVM-provided toolchain though. Does it internally use the system Clang?

littleli21:02:09

I would recommend double check...

zilti21:02:30

Yea, one of these things in the list could be it, or multiple... Though since Chicken Scheme compiles to C first it rules out the first one