graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
kulminaator 2020-02-24T07:26:13.034800Z

i have played with rust for about 20 hours in total. actually it is nice, the base ideas are very sane.

kulminaator 2020-02-24T07:26:31.035Z

but it is very verbose, so i wouldn't use it unless i had a real low level target to achieve.

borkdude 2020-02-24T17:11:33.035800Z

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

borkdude 2020-02-24T18:37:05.036400Z

The accompanying Rust code: https://doc.rust-lang.org/1.2.0/book/rust-inside-other-languages.html

zilti 2020-02-24T20:34:06.037Z

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

littleli 2020-02-24T20:49:25.038600Z

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

zilti 2020-02-24T20:54:15.039200Z

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

borkdude 2020-02-24T21:00:26.039800Z

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

littleli 2020-02-24T21:28:54.040500Z

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

zilti 2020-02-24T21:29:24.041Z

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

littleli 2020-02-24T21:30:09.041500Z

I would recommend double check...

zilti 2020-02-24T21:42:30.042800Z

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