scala - Vert.x - Scala 缺少什么?

标签 scala clojure vert.x

Vert.x documentation说 Scala(和 Clojure)将“很快”得到支持。 将它与 Scala 一起使用实际上缺少什么?

最佳答案

所以,as of 2013/11/04 :

Scala support has everything up to Vert.x 2.0.2-final plus DNS support. So you need 2.1M1 of Vert.x core and the 0.2.0 release of Scala. We need to add UDP support, EventBus timeouts (mostly done, but there seems to be a bug in the vert.x core project: https://bugs.eclipse.org/bugs/show_bug.cgi?id=420850 ), provide asynchronous registerHandler methods (as these changed to async style) and provide a solution for the unregisterHandler problem we were facing (probably use the asynchronous registerHandler to provide a RegisteredHandler object that has an unregisterHandler() method).

a followup

Update: EventBus timeouts are done, waiting for review in pull request https://github.com/vert-x/mod-lang-scala/pull/77 I forgot to mention that HTTP Compression was also missing. Just added another PR to review here: https://github.com/vert-x/mod-lang-scala/pull/78 Also added docs for both of them.

To recap what's still missing:

  • UDP support + test + docs
  • asynchronous registerHandler methods + test + docs
  • unregisterHandler issue + tests + docs (I guess this should be done with the asynchronous registerHandler providing a AsyncResult[RegisteredHandler] => Unit callback)

还有 announced today :

I'm really proud to announce the release of Vert.x Scala 0.2.0 which includes full Vert.x 2.0 API support as well as new DNS API support coming up in Vert.x 2.1. This means that mod-lang-scala 0.2.0 now requires Vert.x 2.1.

The amazing API work has been driven by the tireless Joern Bernhardt and his colleague Sascha Schmidt. Between them two they've added all the missing APIs and reworked the testsuite to add Scala specific testtools. This was a big tasks and both Joern and Sascha deserve full credit for pulling this off. Kudos to both for this fantastic work!! :). On top of this, we've also added the capability to deploy Scala scripts into Vert.x, bringing the Vert.x Scala examples in line with other languages.

For next release, 0.3.0, we'll be focusing on polishing some these APIs, adding new APIs that Vert.x 2.1 brings, documentation and more examples :)

While we complete the documentation, the best place to get started with the Scala language module is to look at the README file in the Vert.x mod-lang-scala repository.

关于scala - Vert.x - Scala 缺少什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19768042/

相关文章:

scala - 为什么 "type class"称为 "type class"?

algorithm - 用于解决动态规划算法的惯用 Clojure

ios - CodenameOne 是否支持除 Java 之外的其他 JVM 语言?

rest - Quarkus 中的 MicroProfile Rest 客户端与 Vertx 客户端

websocket - Vertx SockJs 事件总线身份验证

scala - 如何在 Scala 中为子类实现 DRY 复制构造函数?

scala - play2 制作一个 Enumeratee 将一个 Promise 转换为另一个 Promise

java - 如何以 scala 方式解析基于行的文本文件(.mht)?

clojure - 多机分布式Clojure的现状?

java - 未知配置格式: hocon (supported formats are: [json,原始,属性]