Scala support

100 views
Skip to first unread message

Matan

unread,
Nov 4, 2013, 11:01:50 AM11/4/13
to ve...@googlegroups.com
Hi, the Vert.x documentation says that Scala (and Clojure) will be supported 'soon'. But what's actually missing for using Vert.x with Scala as is now??

Joern Bernhardt

unread,
Nov 4, 2013, 11:59:03 AM11/4/13
to ve...@googlegroups.com
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).

Tim Fox

unread,
Nov 4, 2013, 5:17:27 PM11/4/13
to ve...@googlegroups.com
On 04/11/13 16:59, Joern Bernhardt wrote:
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).

+1. Hopefully Scala will be available as an "officially" supported language soon. We'd also need docs and examples.



On Monday, November 4, 2013 5:01:50 PM UTC+1, Matan wrote:
Hi, the Vert.x documentation says that Scala (and Clojure) will be supported 'soon'. But what's actually missing for using Vert.x with Scala as is now??
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Joern Bernhardt

unread,
Nov 5, 2013, 1:42:31 AM11/5/13
to ve...@googlegroups.com
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)

Joern Bernhardt

unread,
Nov 5, 2013, 11:12:21 AM11/5/13
to ve...@googlegroups.com
Another update:
Unregistering handlers is waiting here: https://github.com/Narigo/mod-lang-scala/tree/register-async-and-unregister-object
I want to wait until the eventbus timeouts are reviewed and pulled in, as both commits were on the same files. To prevent merge conflicts I'm going to rebase the unregistering handlers implementation later...

So only missing piece (after all the reviewing is done) is UDP + docs.
Reply all
Reply to author
Forward
0 new messages