Due to significant platform differences from the JVM to Node.js (no real 
threads, everything needs callbacks) you'd probably be better off writing 
something more javascript-y. Porting Ring is probably not likely since 
everything is async and Ring is not. Same goes for Compojure but that is 
mostly macro stuff so it could probably fit in somehow.

Running something on Node.js requires a completely different (async) way of 
thinking, which you don't nescessarily do on the JVM. You'd probably be 
better of using something from the node.js ecosystem. Iits not like you 
could ever take any Clojure Ring Handler and plug it into 
ClojureScript/Node, at least not likely as soon as you do something with IO.

Just my 2 cents,
/thomas

On Monday, December 8, 2014 3:50:48 PM UTC+1, Matthew Molloy wrote:
>
> Dear Community,
>
> I love making Clojure web apps, however their startup time is a serious 
> drawback when used with a transient hosting service such as Heroku.  My 
> thought is to port Ring and Compojure over to Clojurescript so that can get 
> their nice abstractions hosted on the Node.js runtime.
>
> Any thoughts or suggestions?
>
> Matthew
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to