[HN Gopher] Embedding Truffle Languages
___________________________________________________________________
Embedding Truffle Languages
Author : nirvdrum
Score : 16 points
Date : 2022-05-10 14:56 UTC (2 days ago)
(HTM) web link (nirvdrum.com)
(TXT) w3m dump (nirvdrum.com)
| pestatije wrote:
| I wish Graal target wasm platform
| chrisseaton wrote:
| 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.
| alex7o wrote:
| There is wasm support already.
| https://www.graalvm.org/22.1/reference-manual/wasm/
| nirvdrum wrote:
| That's a Wasm interpreter for the GraalVM. I believe the OP
| is looking for Graal to generate Wasm instructions rather
| than x86_64 or AArch64 code.
| chrisseaton wrote:
| If you've heard of Truffle or Graal you probably know that it can
| run as a JIT or produce a standalone executable, but there's
| actually so many more configurations it can run in - it's a true
| universal runtime system.
___________________________________________________________________
(page generated 2022-05-12 23:01 UTC)