--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The short answer is no, there is no Clojure support for Vert.x 3 that I know of.
The longer answer: I wrote the Clojure language module for Vert.x 2, which had a pretty low usage rate, partially because core.async was released around the same time. When Vert.x 3 was being written, the Vert.x team asked me if I wanted to build a Clojure module for it. I declined because I didn't think there was enough interest to warrant the effort, and because Vert.x 3 moved to a code generation system for language modules that was geared towards object-oriented languages, which would have been difficult to use for generating a Clojure api.- Toby
On Thu, Dec 28, 2017 at 10:53 PM, Feuer Au <chenge...@gmail.com> wrote:
Hi All,--Curious about Vert.x is officially supported?We tried to use some new languages on JVM e.g. Scala, Kotlin etc.and be interested in using some relatively purely functional programming languages and so far Clojure is our best betbut unfortunately couldn't find native Clojure api on Vert.x but got official support for Kotlinso just wonder is there any official support for Vert.x in Clojure?Cheers!--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
Is vert.x an absolute (external) requirement, or is that a tool you want to use to achieve some goal? If the latter, maybe there are other tools in the Clojure ecosystem that you could use instead?
On 29 December 2017 at 13:49, Toby Crawley <to...@tcrawley.org> wrote:
The short answer is no, there is no Clojure support for Vert.x 3 that I know of.
The longer answer: I wrote the Clojure language module for Vert.x 2, which had a pretty low usage rate, partially because core.async was released around the same time. When Vert.x 3 was being written, the Vert.x team asked me if I wanted to build a Clojure module for it. I declined because I didn't think there was enough interest to warrant the effort, and because Vert.x 3 moved to a code generation system for language modules that was geared towards object-oriented languages, which would have been difficult to use for generating a Clojure api.- Toby
On Thu, Dec 28, 2017 at 10:53 PM, Feuer Au <chenge...@gmail.com> wrote:
Hi All,--Curious about Vert.x is officially supported?We tried to use some new languages on JVM e.g. Scala, Kotlin etc.and be interested in using some relatively purely functional programming languages and so far Clojure is our best betbut unfortunately couldn't find native Clojure api on Vert.x but got official support for Kotlinso just wonder is there any official support for Vert.x in Clojure?Cheers!--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.
Hmm....yes it is almost an absolute requirement since we have already invested a lot in Java, Kotlin, Javascript and other languages based on Vert.x
and for Clojure & Haskell are pretty new candidates for us, we need to find a way to persuade our programmers to use these languages
and Vert.x is almost the only way to persuade our lovely programmers to give it a try
If we dont use Vert.x, those guys may resist to try a new language since they need to get used to many new softwares e.g. maven -> leiningensome times people may not like changes^_^
(ns examples.simple-http-server)
(require
'[io.vertx.clojure.core :as vertx.core]
'[io.vertx.clojure.vertx :as vertx.vertx]
'[io.vertx.clojure.http-server :as server]
'[io.vertx.clojure.http-server-request :as request]
'[io.vertx.clojure.http-server-response :as response])
(defn handle-request [req]
(response/end
(request/response req)
"Hello from Vert.x!"))
(defn start [vertx]
do
(def http-server (vertx.vertx/create-http-server vertx))
(server/request-handler http-server (vertx.core/handler handle-request))
(server/listen http-server 8080))
The short answer is no, there is no Clojure support for Vert.x 3 that I know of.
The longer answer: I wrote the Clojure language module for Vert.x 2, which had a pretty low usage rate, partially because core.async was released around the same time. When Vert.x 3 was being written, the Vert.x team asked me if I wanted to build a Clojure module for it. I declined because I didn't think there was enough interest to warrant the effort, and because Vert.x 3 moved to a code generation system for language modules that was geared towards object-oriented languages, which would have been difficult to use for generating a Clojure api.- Toby
On Thu, Dec 28, 2017 at 10:53 PM, Feuer Au <chenge...@gmail.com> wrote:
Hi All,--Curious about Vert.x is officially supported?We tried to use some new languages on JVM e.g. Scala, Kotlin etc.and be interested in using some relatively purely functional programming languages and so far Clojure is our best betbut unfortunately couldn't find native Clojure api on Vert.x but got official support for Kotlinso just wonder is there any official support for Vert.x in Clojure?Cheers!--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
The short answer is no, there is no Clojure support for Vert.x 3 that I know of.
The longer answer: I wrote the Clojure language module for Vert.x 2, which had a pretty low usage rate, partially because core.async was released around the same time. When Vert.x 3 was being written, the Vert.x team asked me if I wanted to build a Clojure module for it. I declined because I didn't think there was enough interest to warrant the effort, and because Vert.x 3 moved to a code generation system for language modules that was geared towards object-oriented languages, which would have been difficult to use for generating a Clojure api.- Toby
On Thu, Dec 28, 2017 at 10:53 PM, Feuer Au <chenge...@gmail.com> wrote:
Hi All,--Curious about Vert.x is officially supported?We tried to use some new languages on JVM e.g. Scala, Kotlin etc.and be interested in using some relatively purely functional programming languages and so far Clojure is our best betbut unfortunately couldn't find native Clojure api on Vert.x but got official support for Kotlinso just wonder is there any official support for Vert.x in Clojure?Cheers!--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
(ns examples.simple-http-server)
(require
'[io.vertx.clojure.core.core :as core]
'[io.vertx.lang.clojure.vertx :as vertx]
'[io.vertx.lang.clojure.http-server :as server]
'[io.vertx.lang.clojure.http-server-request :as request]
'[io.vertx.lang.clojure.http-server-response :as response])
(defn handle-request [req]
do
(def response (request/response req))
(response/put-header response "content-type" "text/plain")
(response/end response"Hello from Vert.x!"))
(defn start [vertx]
do
(def http-server (vertx/create-http-server vertx))
(server/request-handler http-server (core/handler handle-request))
(server/listen http-server 8080))
--
(ns examples.simple-http-server)
(require
'[io.vertx.clojure.core.core :as core]
'[io.vertx.lang.clojure.vertx :as vertx]
'[io.vertx.lang.clojure.http-server :as server]
'[io.vertx.lang.clojure.http-server-request :as request]
'[io.vertx.lang.clojure.http-server-response :as response])
(defn handle-request [req]
(let [response (request/response req)]
(response/put-header response "content-type" "text/plain")
(response/end response "Hello from Vert.x!")))
(defn start [vertx]
(let [http-server (vertx/create-http-server vertx)]
(server/request-handler http-server (core/handler handle-request))
(server/listen http-server 8080)))
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.