Anúncio

GraalVM

NexThoughts Technologies
3 de Apr de 2019
Anúncio

Mais conteúdo relacionado

Apresentações para você(20)

Similar a GraalVM(20)

Anúncio
Anúncio

GraalVM

  1. GraalVM
  2. Hello! Hiten Pratap Singh https://github.com/hitenpratap/ https://hprog99.wordpress.com/ hiten@fintechlabs.in https://hitenpratap.github.io 2
  3. 1. What’s GraalVM?
  4. “ GraalVM is an ecosystem and shared runtime offering performance advantages not only to JVM-based languages such as Java, Scala, Groovy, and Kotlin, but also to other programming languages 4
  5. 2. Installation
  6. Instructions for use With JDK JDK 9 ships with Graal 1. Used by AOT by default 2. Can be enabled for JIT -XX:+UnlockExperimentalVMOpt ions -XX:+EnableJVMCI -XX:+UseJVMCICompiler Also JDK 10: -XX:+UnlockExperimentalVMOpt ions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.compiler=graal Without JDK Just download Graal from Oracle’s website: https://www.graalvm.org/downloads/ 6
  7. 3. Architecture
  8. 3. GraalVM Components
  9. This is a slide title ○ Graal: A dynamic just-in-time (JIT) compiler that improves efficiency and speed of applications through unique approaches to code analysis and optimization. ○ Graal Polyglot APIs: APIs for combining programming languages in a shared runtime. contd... 10
  10. This is a slide title ○ Graal SDK: A set of APIs useful for embedding Graal languages and configuring native images. ○ Oracle HotSpot Java Virtual Machine (JVM): A runtime environment for JVM-based languages and supported guest programming languages. 11
  11. 4. GraalVM Features
  12. This is a slide title ○ Run your code faster and more efficiently ○ Interoperate directly with most modern programming languages ○ Embed languages with the Graal SDK ○ Create compiled native images ○ Use a single set of tools to monitor, debug, and profile all your code 13
  13. Thanks! Any questions? Hiten Pratap Singh https://github.com/hitenpratap/ https://hprog99.wordpress.com/ hiten@fintechlabs.in https://hitenpratap.github.io 14
  14. Presentation design References: ○ https://royvanrijn.com/blog/2018/09/part-1-java-to-native-u sing-graalvm/ ○ https://royvanrijn.com/blog/2018/09/part-2-native-microser vice-in-graalvm ○ https://www.graalvm.org/docs/ ○ https://www.graalvm.org/docs/reference-manual/ ○ https://www.graalvm.org/docs/examples/ ○ https://www.graalvm.org/docs/graalvm-as-a-platform/ ○ https://downloads.lightbend.com/website/scaladays/2018/ny /slides/twitters-quest-for-a-wholly-graal-runtime.pdf 15
Anúncio