1 回答
TA贡献1773条经验 获得超3个赞
Scala除了纵向发展外(Scala本身语言的扩展), 也在横向的发展, 比如Scala.js将Scala语言引入到Javascript中,它可以将Scala语言编译成javascript。因此有理由相信,这个即将发布的项目可以将Scala代码编译成本机代码,这样就可以脱离虚拟机直接运行了。
这个项目会在接下来的几个月发布,但是在即将举行的纽约 Scala Days会议上, Denys Shabalin会介绍一个主题 "Scala Goes Native", 内容为:
Scala has historically been a JVM-centric programming language. The situation has started to change with appearance of the Scala.js that opened a door of front-end development to Scala programmers. This talk will expand the horizons of Scala even more. We’re going to announce a new ahead-of-time compiler and lightweight managed runtime designed specifically for Scala.
可以看到Scala native会提供一个编译器和一个轻量级的受管的运行时,看起来类似Golang,编译的程序会自带这个轻量级的运行时,负责垃圾回收。
- 1 回答
- 0 关注
- 599 浏览
添加回答
举报