Skip to content

This repository contains several small applications. These programs illustrate the capabilities of GraalVM

Notifications You must be signed in to change notification settings

lewurm/graalvm-demos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo @ Uebersetzerbau VO SS2022 at TU Wien

This is an adapted version of https://github.com/graalvm/graalvm-demos

Steps

Download GraalVM at https://www.graalvm.org/

Set JAVA_HOME and PATH accordingly:

$ export JAVA_HOME=$PATH_TO_UNPACKED_GRAALVM
$ export PATH=$JAVA_HOME/bin:$PATH

Download and prepare additional artifacts:

$ gu install python ruby native-image nodejs
$ gu rebuild-images libpolyglot

Lookout for the following note:

IMPORTANT NOTE:
---------------
The Ruby openssl C extension needs to be recompiled on your system to work with the installed libssl.
First, make sure TruffleRuby's dependencies are installed, which are described at:
  https://github.com/oracle/truffleruby/blob/master/README.md#dependencies
Then run the following command:
        $JAVA_HOME/languages/ruby/lib/truffle/post_install_hook.sh

Install language dependencies for polyglot example:

$ gem install svg-graph
$ (cd poly && npm install)

And then have a look at run.sh.

About

This repository contains several small applications. These programs illustrate the capabilities of GraalVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 29.9%
  • JavaScript 23.5%
  • Shell 22.6%
  • Ruby 21.0%
  • Python 3.0%