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.
- Maven 3
- JDK 1.8
- Groovy 2.4.8 (maven plugin compiler)
- Kotlin 1.3 (maven plugin compiler)
mvn clean package && cd target/classes
- Inspect the bytecode through
javap -v -p org.nirvana.xxx.XXXXXX
Java
Groovy
Kotlin
- Kotlin Dataclass View
- Kotlin Function Default Values View
- Kotlin NullSafety View
- Kotlin Range View
- Kotlin Singleton View
- kotlin String Interpolation View
- Kotlin TypeCheck View
- Kotlin Lambda View
- Kotlin Coroutine View
Scala