Your Program as a Transpiler
Offered By: Devoxx via YouTube
Course Description
Overview
Explore the concept of transpilers and their relationship to compilers in this Devoxx conference talk. Dive into the world of GraalVM and native-first frameworks like Quarkus, learning how to optimize application performance by distinguishing between static and dynamic code processing. Discover the compiler-like aspects of your own programs and gain insights into the future developments of the Drools rule engine and jBPM platform. Examine various examples, including a quick dependency injection framework, configuration files, and ORM libraries, to understand compilation phases and proper code generation techniques. Learn how to recognize compiler passes in your code, write build plug-ins, and implement annotation processors for dependency injection. Gain valuable takeaways on improving startup times and leveraging the Submarine Initiative for better performance.
Syllabus
Intro
Boot-time vs. Run-time
Example: A Quick DI Framework
Example: Boot Time
Transpilers vs. Compilers
Are transpilers simpler than compilers?
The distinction is moot
Compiler-like workflows
What's a compilation phase?
Configuring the application
Application wiring
Compiling a programming language
Recognize your compiler passes
What makes a compiler a proper compiler
Example. A Configuration File
Example. An ORM Library
Example. A DI Framework
Compilation Phases
Use proper code generation tooling
Write a build plug-in
DI: Annotation Processor
The Submarine Initiative
Startup Time
Take Aways
Resources
Taught by
Devoxx
Related Courses
CompilersStanford University via Coursera Compilers
Stanford University via edX Computation Structures 2: Computer Architecture
Massachusetts Institute of Technology via edX Compilers: Theory and Practice
Georgia Institute of Technology via Udacity Architecture, Algorithms, and Protocols of a Quantum Computer and Quantum Internet
Delft University of Technology via edX