Skip to content

Some insight upon the secret of these magic languages built on JVM

License

Notifications You must be signed in to change notification settings

berialcheng/jvm-bytecode-insight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JVM Bytecode Insight

Progress

The purpose of this project is mainly give us insight upon the secret of these magic languages built on JVM.

This project is not intent to be an detail bytecode specification, but to reval some of the differences while modern/emerging features implementation upon different JVM program lanaguages. If you dont have any knowledge over JVM class bytecode before, you better check here.

Prerequisite

  • Maven 3
  • JDK 1.8
  • Groovy 2.4.8 (maven plugin compiler)
  • Kotlin 1.3 (maven plugin compiler)

Get Started

  1. mvn clean package && cd target/classes
  2. Inspect the bytecode through javap -v -p org.nirvana.xxx.XXXXXX

Catalog

Java

  1. Java Generic View
  2. Java Lambda View

Groovy

  1. Groovy Closure View
  2. Groovy Lambda View
  3. Groovy Metaclass View

Kotlin

  1. Kotlin Dataclass View
  2. Kotlin Function Default Values View
  3. Kotlin NullSafety View
  4. Kotlin Range View
  5. Kotlin Singleton View
  6. kotlin String Interpolation View
  7. Kotlin TypeCheck View
  8. Kotlin Lambda View
  9. Kotlin Coroutine View

Scala

  1. Scala CaseClass View
  2. Scala High-Order Function View
  3. Scala Singleton View
  4. Scala Trait View
  5. Scala Tuple View

References

About

Some insight upon the secret of these magic languages built on JVM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published