TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Implicit Classes in Scala: The Machinery Behind the Semantics (+ Compiler Magic)

2 pointsby gratnerover 8 years ago

1 comment

gratnerover 8 years ago
How does scalac compile implicit classes? Where does the implicit class get de-sugared and how is the implicit method represented inside the compiler? How does scalac search for a matching implicit method? Learn about the machinery behind the language semantics - the phases: parser, namer, typer and the data structures: Compilation Unit, Context, Tree, Symbol, Scope - by jumping into the code.