i have played with rust for about 20 hours in total. actually it is nice, the base ideas are very sane.
but it is very verbose, so i wouldn't use it unless i had a real low level target to achieve.
This was just shared on twitter. Could ease FFI between clojure and Rust / C even more! https://github.com/rust-lang/rust/issues/31134
The accompanying Rust code: https://doc.rust-lang.org/1.2.0/book/rust-inside-other-languages.html
according to the GraalVM website you can compile Rust programs so they run on the GraalVM and can use the polyglot API
There is a LLVM bitcode interpretter, so you can run anything that compiles to LLVM bitcode
Well, not really anything though... I tried to compile Chicken Scheme, and GraalVM's bitcode interpreter failed miserably ^^
I haven't used the polyglot bits yet, only the native-image capabilities
@zilti I believe the latest LLVM is not supported, but I actually didn't check status
Hmm. I did compile using the GraalVM-provided toolchain though. Does it internally use the system Clang?
I would recommend double check...
hmm, I think this is more of the problem here https://www.graalvm.org/docs/reference-manual/languages/llvm/#limitations-and-differences-to-native-execution-on-top-of-graalvm-ce
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