Skip to content
0:00 / 0:00

#scala#dotty#compiler

Lighting Talk: Comparison between Scala Compilers

Java

276K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Dimitry Petrashko
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

1.8K views10 years ago2 recommendations

Programming languagesSystems programmingCompilers and interpretersPerformance and optimization

Dimitry Petrashko compares Scala compiler architectures, explaining the design choices behind Dotty's performance improvements.

The uploader added no description.

Why it's here

2 people recommend this

What people say. Recommended as a brief explanation of the architectural choices that make the Dotty compiler faster.

u/zzyzzyxxin r/scala • Recommends

On “Towards Scala 3”

First, thank you for Scala; I'm very much looking forward to version 3! The Dotty compiler has a significantly different architecture based on "fused mini phases" and was claimed to be ~2x faster than the then-current Scala compiler. As Dotty's evolved and features were added, how has that performance changed, and what should we expect for Scala 3? Is there any place we can track compilation performance over time? The Scala benchmark dashboard only shows scalac releases.

u/Ghonesisin r/scala • Recommends

On “Is there an equivalent to distcc for Scala?”

I guess you mean this? I'll have to admit I'm not sure how to 'read' this yet. :/ I'll try to tell you what I think I know: * Odersky explains in his talk how they restructured the compiler and how they achieve this speed. ([This 5-minute talk by Dimitry Petrashko briefly explains one of the design choices, so can judge for yourself]) I don't expect this to suddenly 'go away'. The compiler architecture hasn't changed as far as I can tell and there's been no announcements about it. * It's been while since they've made these claims about the Dotty compiler, though. Last was in 2016. This kind of worries me. I hope they'll give us an update about this soon. * The Dotty compiler hasn't been…