Skip to content

nachokruss/truffle-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

truffle-tests

Prerequisites

Install GraalVM

Building

mvn clean install

Running

Hello World

Runs a script that prints 'Hello World' to standard output and another one that returns 'Hello World' in Ruby, Javascript and R

java -polyglot -cp target/classes/ com.truffle.tests.HelloWorldTest

Bubble Sort

Bubble sorts 1000 arrays with 1000 elements each in Ruby, Javascript and R

java -polyglot -cp target/classes/ com.truffle.tests.AlgorithmTest

Interop

Same as previous but calls a java implementation of the algorithm from the scripting language

java -polyglot -cp target/classes/ com.truffle.tests.InteropTest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published