Compiling Scala for the Java Virtual Machine

Book image

Livro digital

Título:
Compiling Scala for the Java Virtual Machine

Autor:
Michel Schinz

Categoria:
Tecnologia > Backend

Doador:
Raffaello D. N.

Sinopse:
Compiling Scala for the Java Virtual Machine tackles a hard problem for readers who already know Scala but want to understand how it is made to run well on the JVM, especially once mixins, traits, and runtime types enter the picture. Its table of contents makes that focus explicit from the start: Introduction, Mixins, Run Time Types, Representing Run Time Types, and Compiling Run Time Types, all leading toward performance analysis and related work. The document moves from Scala and JVM background into the mechanics of mixin encoding, code sharing, and compiler phases, then deepens into type erasure, class and array representations, singleton and compound types, and the machinery behind casts, membership tests, and array creation. The structure suggests a single-author academic report, with Michel Schinz presenting a systematic implementation-oriented account rather than a broad language overview. The result is a dense technical guide to compiler design decisions in a Scala-on-JVM setting, with unusually detailed attention to type representation and runtime behavior. Readers get both the conceptual model and the implementation tradeoffs, including where performance costs appear and how the compiler manages them.

Livro digital disponível gratuitamente!
Clique no botão abaixo para receber este livro.
Seja o primeiro a receber este livro
Esse site salva cookies para uma melhor experiência de usuário. Saiba mais lendo nossaPolítica de Privacidade.