5 ms·
What grabbed my attention the most in terms of Scala is Dotty. New compiler for Scala, who's main goal is simplification and reorganization of language. You kno
by Philipp__ 10y ago
What grabbed my attention the most in terms of Scala is Dotty. New compiler for Scala, who's main goal is simplification and reorganization of language. You know it will be for real when even Martin is working on it! This language has bright future.
Edit: grammar, sry.
- denis1 10y agoWell Martin also worked on scalac, with all its warts & problems, so you can't say that it will be better just because he's also working on it. :) IMO much more important is the fact that Dotty is being developed after several years and iterations of scalac. Ideally this would mean that the problems to be solved, and the different ways to solve them are known. Dotty can do this without having a large legacy inherited code base. To me this is more important.
- doikor 10y agoI think one of the best things about Dotty is that they now have a proven theory that the language works on top of (DOT calculus http://scala-lang.org/blog/2016/02/03/essence-of-scala.html http://scala-lang.org/blog/2016/02/03/essence-of-scala.html). This has allowed them to remove some unsound things (and work around others in a sound way)
- joostdevries 10y agoHave you heard any of his presentations on the new compiler architecture? I'm incredibly impressed with the stewardship of Scala: they did a thorough assessment of the strengths and weaknesses of language and compiler and are working on a complete refoundation of the language semantics and a rewrite of the compiler while also steadily progressing along a multi year roadmap for the current compiler.
- deleted 10y ago[deleted]
- redtuesday 10y ago> This language has bright future. Yeah, it definitely looks good (to me). Dotty looks really promising to a layman like me especially since it's based on the machine-checked DOT calculus, so should have a better foundation than scalac. Then there are big projects like Spark, Akka, Play etc. But what I like the most about Scala at the moment is the continued effort regarding Scala.js, which seems to be one of the best compile-2-javascript projects. I like ur/web, and what comes the closest to it seems to be scala/scala.js. I wonder if the collection redesign which is planned for scala 2.13 helps reduce the file size when compiling to js. Hello world is around ~40 kb (minified and gzipped) but goes to 100-150 kb for more involved things.
- rahilb 10y ago>continued effort regarding Scala.js It's a shame the documentation is so poor for scalajs.
- sjrd 10y agoCould you elaborate on specific points that would require improvements? Most feedback I receive says it's good. If those of you who think it's poor only tell us "it's poor", there is nothing we can do to improve it.
- estefan 10y agoI'm about to start using it again, but one point: the installation page[1] doesn't actually tell you how to install it... [1] http://www.scala-js.org/doc/ http://www.scala-js.org/doc/
- sjrd 10y agoHum, that's because you don't actually need to install Scala.js per se. sbt will download and use it for your project automatically. I agree that the way it is presented on that page is confusing, though. I'll add some explanation about that when I get back from conferences. Thanks for the feedback!