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.

Type safety for core Scala – based on Definitional Interpreters

1 pointsby jedharrisover 9 years ago

3 comments

jedharrisover 9 years ago
Also! I did not know that Odersky &amp; associates are working on a clean reimplementation of Scala called &quot;Dotty&quot; that is named after exactly this kind of type theory (Dependent Object Types or DOT).<p>They just got their compiler to self-host, see <a href="https:&#x2F;&#x2F;github.com&#x2F;lampepfl&#x2F;dotty" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lampepfl&#x2F;dotty</a> and <a href="http:&#x2F;&#x2F;www.scala-lang.org&#x2F;blog&#x2F;2015&#x2F;10&#x2F;23&#x2F;dotty-compiler-bootstraps.html" rel="nofollow">http:&#x2F;&#x2F;www.scala-lang.org&#x2F;blog&#x2F;2015&#x2F;10&#x2F;23&#x2F;dotty-compiler-boo...</a>
jedharrisover 9 years ago
The first formal type system that works for (simplified) Scala.<p>More generally, shifting from term rewriting to operational semantics (i.e. proving interpreters correct) seems like a big improvement. Instead of working in a completely different semantic domain, we work in one closely allied to our implementations.
jedharrisover 9 years ago
As the post says at the bottom, this solves a problem that has been open for over a decade.