Disassembling and Decompiling Scala Code
Offered By: Scala Days Conferences via YouTube
Course Description
Overview
Explore the intricacies of Scala compilation and bytecode generation in this 31-minute conference talk from Scala Days Chicago 2017. Delve into the process of disassembling and decompiling Scala code to gain a deeper understanding of how Scala features translate into runnable code. Learn to use tools like javap and decompilers to examine Java bytecode produced by the Scala compiler. Investigate Scala language fundamentals, composition and inheritance, scopes, annotations, and Java interoperability. Discover how to demystify language features and optimize code production through practical examples, including Hello World implementations, case classes, companions, generics, and Future examples. Gain insights into profiler lessons, scalac options, and architecture considerations to enhance your Scala development skills and educate Java developers transitioning to Scala.
Syllabus
Intro
Motivation
Tools
Hello World
Case Class
Defaults via javap
Profiler Lessons
Decompiled Java Bean
Companions
Decompiled Generics
Decompiled WorkerClConfig
Decompiler Lessons
scalac -Xprint:YYY Foo.scala
Future Examples
Architecture
References
Taught by
Scala Days Conferences
Related Courses
Functional Programming Principles in ScalaÉcole Polytechnique Fédérale de Lausanne via Coursera Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera Parallel programming
École Polytechnique Fédérale de Lausanne via Coursera Big Data Analysis with Scala and Spark
École Polytechnique Fédérale de Lausanne via Coursera Functional Programming in Scala Capstone
École Polytechnique Fédérale de Lausanne via Coursera