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 and Android Development

50 pointsby kmccarthabout 14 years ago

5 comments

stephenjudkinsabout 14 years ago
There are a few obstacles to easily using Scala on Android. Namely, the Scala standard library is too large to be easily "dexed" by the Android toolchain. Using Proguard or a similar treeshaker removes unused classes, but it's a bit of a hassle to set up manually.<p>However, I've found that using the SBT Android plugin (<a href="https://github.com/jberkel/android-plugin" rel="nofollow">https://github.com/jberkel/android-plugin</a>) makes the entire process relatively painless. I recommend starting with that approach.
评论 #2515598 未加载
评论 #2515544 未加载
joeburkeabout 14 years ago
"generally easier to understand"<p>"Ultimately, more Scala used means more modern Android development. "<p>The author has a clear chip on his/her shoulder and is making statements that are pretty controversial, even within the Scala community itself.<p>Thinking that using a certain language automatically leads to "more modern development" (whatever that means) is pretty ludicrous in itself.<p>If language advocates spent less time advocating and more time actually producing the cool stuff they claim that their language enables, they might actually get heard.
评论 #2515822 未加载
GrooveStompabout 14 years ago
&#62; Ultimately, more Scala used means more modern Android development. One would assume that Google would have a vested interested in at least aiding the Boston Android’s project, but they have yet to send a representative to a meet-up thus far.<p>I find this to be a pretty naive statement. I've never once thought of Scala on Android as being anywhere near official, and I don't see why Google would jump on the chance to officially support it. Now, having a Googler show up of their own volition - that's a different matter altogether. Maybe there just aren't any interested Googlers in the area?
tszmingabout 14 years ago
In fact, Mirah implementation also available: <a href="https://github.com/sattvik/decafbot/tree/master/jvm-lang/mirah/src/decafbot/mirah" rel="nofollow">https://github.com/sattvik/decafbot/tree/master/jvm-lang/mir...</a>
EricButlerabout 14 years ago
I'm excited to try Scala for Android development but haven't had the time to figure out a new build system, etc. I hope it'll eventually be integrated into Intellij IDEA.
评论 #2515551 未加载