Live data from Hacker News

Scala on LLVM

greedy.github.io

11–20 of 41 posts

Re: Scala on LLVM

#11
post #5

A small clarification: this an older project that is not directly related to my upcoming ScalaDays talk [1]. More updates to come in next few months, stay tuned. [1] http://event.scaladays.org/scaladays-nyc-2016#!#schedulePopu...

Wow, sounds really interesting. I can't wait for the talk!

Re: Scala on LLVM

#12
post #5

A small clarification: this an older project that is not directly related to my upcoming ScalaDays talk [1]. More updates to come in next few months, stay tuned. [1] http://event.scaladays.org/scaladays-nyc-2016#!#schedulePopu...

This sounds very interesting, allot of very interesting develoment is happening in Scala/JVM land, Dotty, Akka, Lagom etc

For those of you that havnt heard about Dotty, the next generation Scala compiler, I can recommend this link:

http://www.scala-lang.org/blog/2015/10/23/dotty-compiler-boo...

Re: Scala on LLVM

#13
This may sound ridiculous, but I am literally sick of Java/JVM land. I would beg for native Scala backend (and it would be my first choice for doing pretty much every thing).I don't know people does share this opinion or not ,but I literally hate JVM.Slow Start up.Tremendously slow/unresponsive java app(I am talking about big apps, like android studio). Ridiculously bad font handling in Swing(there is no way to disable hinting).

Syntactically and semantically Scala is one of the best language's I have ever worked with (although I spend little time with it).It's middle approach to OOP and FP is best approach for enterprise projects.It does not try to shove FP in your throat, but provide best platform to do FP when it is much more efficient than simple OOP. However when it comes to JVM (especially in Linux desktop). My answer is big fat NO.

Of course, I am talking about desktop experience.JVM in server side is great and robust, I don't have anything against it, other than praise.

Re: Scala on LLVM

#14
post #13

This may sound ridiculous, but I am literally sick of Java/JVM land. I would beg for native Scala backend (and it would be my first choice for doing pretty much every thing).I don't know people does share this opinion or not ,but I literally hate JVM.Slow Start up.Tremendously slow/unresponsive java app(I am talking about big apps, like android studio). Ridiculously bad font handling in Swing(there is no way to disab…

Well in my experience for heaps greater than 10-12GB server side Java apps can have long and unpredictable GC pauses. As for desktop apps I do not think many will share your opinion ,mainly because in large enterprises such as where I work, Java app not freezing every single time it is invoked would be considered a great experience.

Re: Scala on LLVM

#15
This is a cool direction. Other than previous Scala knowledge, what are some advantages of using some sort of scala-native over Rust? I've used Scala and I always imagined that I'd use Rust if I wanted something similar without the ecosystem of JVM libraries.

Re: Scala on LLVM

#16
The other announcement[1] from EPFL last week was the establishment of Scala Center, which is already staffed: http://search.epfl.ch/ubrowse.action?acro=SCALA-GE

The Center's mission: "Organize open source projects around Scala".

About scala-native, no details are given on whether it targets scalac or Dotty (which another talk [2] describes as a couple years away from production-ready). The situation could change if, say, Akka or Play announced a Roadmap for Dotty.

[1] Martin Odersky: "Scala in 2016". http://files.meetup.com/18712511/Scala2016.pdf

[2] ScalaSphere: Guillaume Martres "Hacking on Dotty: a live demo". https://www.youtube.com/watch?v=0OOYGeZLHs4

Re: Scala on LLVM

#18
post #15

This is a cool direction. Other than previous Scala knowledge, what are some advantages of using some sort of scala-native over Rust? I've used Scala and I always imagined that I'd use Rust if I wanted something similar without the ecosystem of JVM libraries.

Not to forget about Julia http://julialang.org/ and its high-performance JIT compiler.

A comparison with some of Julia's features:

(1) Multiple dispatch: providing ability to define function behavior across many combinations of argument types

Scala has the Cake Pattern

(2) Built-in package manager

SBT, anyone?

(3) Automatic generation of efficient, specialized code for different argument types

Dotty's Linker is on the horizon, https://d-d.me/talks/scaladays2015/#/

Re: Scala on LLVM

#19
post #13

This may sound ridiculous, but I am literally sick of Java/JVM land. I would beg for native Scala backend (and it would be my first choice for doing pretty much every thing).I don't know people does share this opinion or not ,but I literally hate JVM.Slow Start up.Tremendously slow/unresponsive java app(I am talking about big apps, like android studio). Ridiculously bad font handling in Swing(there is no way to disab…

My opinion is exactly the opposite. The best thing about Scala is that it brings some niceties from FP-land while not looking entirely alien to Java developers, and you get to keep the JVM/Java ecosystem.

Were it not for the Java-land compatibility & ecosystem requirement (and all the baggage associated with it, such as not alienating Java OOP programmers), I wouldn't use Scala. I'd probably ditch the OOP part of the FP+OOP hybrid that causes problems in Scala, and use something like Haskell instead.

I honestly have no interest in a native/JVM-less Scala. There are better languages for that out there.

Re: Scala on LLVM

#20

The other announcement[1] from EPFL last week was the establishment of Scala Center, which is already staffed: http://search.epfl.ch/ubrowse.action?acro=SCALA-GE The Center's mission: "Organize open source projects around Scala". About scala-native, no details are given on whether it targets scalac or Dotty (which another talk [2] describes as a couple years away from production-ready). The situation could change if,…

If you're interested in Dotty, other talks with more information are listed at https://github.com/lampepfl/dotty/wiki/Getting-Started#talks...
Post reply on HN