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.

Scala on LLVM

148 pointsby ddispaltroabout 9 years ago

10 comments

denshabout 9 years ago
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.<p>[1] <a href="http:&#x2F;&#x2F;event.scaladays.org&#x2F;scaladays-nyc-2016#!#schedulePopupExtras-7571" rel="nofollow">http:&#x2F;&#x2F;event.scaladays.org&#x2F;scaladays-nyc-2016#!#schedulePopu...</a>
评论 #11225809 未加载
评论 #11225702 未加载
oelangabout 9 years ago
This project has been discontinued. But fear not, a new scala-native is on the way, Denys Shabalin a phd student at EPFL is working on completely new implementation of scala-native. His previous work, scala offheap, a way to use off-heap memory on the JVM with type- and memory-safety is very impressive.
评论 #11225374 未加载
评论 #11225578 未加载
0xFFCabout 9 years ago
This may sound ridiculous, but I am literally sick of Java&#x2F;JVM land. I would beg for native Scala backend (and it would be my first choice for doing pretty much every thing).I don&#x27;t know people does share this opinion or not ,but I literally hate JVM.Slow Start up.Tremendously slow&#x2F;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).<p>Syntactically and semantically Scala is one of the best language&#x27;s I have ever worked with (although I spend little time with it).It&#x27;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.<p>Of course, I am talking about desktop experience.JVM in server side is great and robust, I don&#x27;t have anything against it, other than praise.
评论 #11226614 未加载
评论 #11226823 未加载
评论 #11226098 未加载
CheKhovHemingw3about 9 years ago
The other announcement[1] from EPFL last week was the establishment of Scala Center, which is already staffed: <a href="http:&#x2F;&#x2F;search.epfl.ch&#x2F;ubrowse.action?acro=SCALA-GE" rel="nofollow">http:&#x2F;&#x2F;search.epfl.ch&#x2F;ubrowse.action?acro=SCALA-GE</a><p>The Center&#x27;s mission: &quot;Organize open source projects around Scala&quot;.<p>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.<p>[1] Martin Odersky: &quot;Scala in 2016&quot;. <a href="http:&#x2F;&#x2F;files.meetup.com&#x2F;18712511&#x2F;Scala2016.pdf" rel="nofollow">http:&#x2F;&#x2F;files.meetup.com&#x2F;18712511&#x2F;Scala2016.pdf</a><p>[2] ScalaSphere: Guillaume Martres &quot;Hacking on Dotty: a live demo&quot;. <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=0OOYGeZLHs4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=0OOYGeZLHs4</a>
评论 #11226626 未加载
ninjakeyboardabout 9 years ago
Apart from startup times, would this really be faster than the JVM? I don&#x27;t know how the LLVM runtime stacks up - I&#x27;m guessing that there are a few targets eg traits that might be more efficient to implement in native code as Scala would be trying to work around what exists in the JVM and Java Bytecode but I have a feeling that it would be very specific use cases like embedded systems that would be considering LLVM as a target where as the JVM would still be preferred in most circumstances? I&#x27;m asking from a fairly naive place - I&#x27;m genuinely interested and curious to hear some use cases where LLVM would be almost strictly better.
评论 #11228812 未加载
geodelabout 9 years ago
The Github and mailing list shows no activity for &gt;3 years. Either the idea did not work out or all they had was just idea and nobody came forward to pickup and develop working software.<p>In any case Scala seems to have large following among those who love JVM and Java ecosystem libraries.
natriusabout 9 years ago
This is a cool direction. Other than previous Scala knowledge, what are some advantages of using some sort of scala-native over Rust? I&#x27;ve used Scala and I always imagined that I&#x27;d use Rust if I wanted something similar without the ecosystem of JVM libraries.
评论 #11226745 未加载
评论 #11226397 未加载
评论 #11227269 未加载
评论 #11228551 未加载
nkvollabout 9 years ago
While interesting in and of it self, it seems to have seen no changes since mid-2013, looking at its GitHub repository (<a href="https:&#x2F;&#x2F;github.com&#x2F;greedy&#x2F;scala" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;greedy&#x2F;scala</a>)<p><pre><code> &gt; This branch is 211 commits ahead, 10086 commits behind scala:2.12.x. </code></pre> Is there any new context &#x2F; development that makes this extra interesting right now?
__jalabout 9 years ago
I&#x27;ve clearly been paying too much attention to politics. My first scan of headlines here left me asking, in which case before the Supreme Court was LLVM an issue?<p>Although I must admit I would love to read the late Scalia&#x27;s opinion of LLVM.
ape4about 9 years ago
How about compile speed. I found Scala compiled much slower than Java.
评论 #11229704 未加载