Finally came around to install a recent Ruby build and ran a little test
script just to get a feel for the startup time. Looks good, though the
faster the merrier.
~ $ ruby --version
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-darwin10.8.0]
~/dev/tools/rouge $ cat test.clj
(defn square [x] (* x x))
(defn fact [n]
(if (= n 0)
1
(* n (fact (- n 1)))))
(print (fact (square 3)))
(print)
~/dev/tools/rouge $ time bin/rouge test.clj
362880
real 0m0.303s
user 0m0.291s
sys 0m0.011s
~/dev/tools/rouge $ time clj test.clj
362880
real 0m1.103s
user 0m1.683s
sys 0m0.127s
On Friday, October 12, 2012 4:40:28 AM UTC-7, Arlen Christian Mart Cuss
wrote:
> Hi all,
>
> I'd like to announce Rouge, which is an implementation of Clojure on Ruby.
>
> https://github.com/unnali/rouge#readme
>
> The readme above shows example of some Rouge code, most of which is
> currently taken from the boot file of Rouge itself. The thing is fully
> TDDed, so you can read the specs to see how (in)complete it is. :)
>
> I'd love it if you gave it a try, and let me know your thoughts and
> feedback. Even more than that, I'd love your contributions! Clojure is a
> beautiful language, and I'm really happy to be able to combine it with my
> other favourite language.
>
> Cheers,
>
> Arlen
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en