"Fossies" - the Fresh Open Source Software Archive

Member "graal-vm-22.1.0.1/docs/examples/examples.md" (10 May 2022, 1485 Bytes) of package /linux/misc/graal-vm-22.1.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs" side-by-side code changes report for "examples.md": 21.3.0_vs_22.0.0.

Example Applications

Here you will find example applications written in Java, JavaScript, R, Ruby, and other JVM languages to illustrate the diverse capabilities of GraalVM.

The GraalVM compiler, enabled by default in GraalVM, assures performance advantages for highly abstracted programs due to its versatile optimization techniques. Code using more abstraction and modern Java features like Streams or Lambdas will see even greater speedups. Java Performance Examples and Java stream API Benchmark demonstrate this.

The Polyglot JavaScript, Java, R Example Application displays GraalVM's abilities as a polyglot runtime, processing programs written in two or more languages.

The Native Image Examples illustrate GraalVM's unique capabilities to create self-contained executable images that run remarkably fast. Here you can also find an even more sophisticated example of polyglot native executables.

The Java/Kotlin Native Image Example demonstrates how to compile a Java and Kotlin application ahead-of-time, and illustrates the performance gain.

The Oracle Database Example contains instructions on how to run the Oracle Database Multilingual Engine (MLE) which is the integration of GraalVM in the Oracle Database 21c.