Re: A stupid jvm question

2011-06-24 Thread Eduardo Julian
You might want to check this out: https://github.com/tinkerpop/tinkubator/tree/master/mutant -- 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 -

Re: A stupid jvm question

2011-06-17 Thread Jason Rogers
I was going to bring up RedBridge as well. Here is Yoko Harada's presentation from RubyConf 2010. Around 14:07 she starts talking about examples of embedding JVM languages within one another (one of the examples is embedding the DataMapper library into a Clojure program). So, it's definitely do-abl

Re: A stupid jvm question

2011-06-17 Thread gaz jones
this page explains a bunch of ways of calling jruby from java: https://github.com/jruby/jruby/wiki/RedBridge think i would have to have pretty good reason before doing this (like wanting to use jruby as a user scripting language in a clojure app maybe)... On Fri, Jun 17, 2011 at 11:08 AM, Phil H

Re: A stupid jvm question

2011-06-17 Thread Stuart Sierra
It's practical. I had a project with Java (source), JRuby, and Clojure all interacting. -S On Friday, June 17, 2011 8:47:09 AM UTC-4, flebber wrote: > > > So it is possible but not practical to call jruby from within a > clojure script? -- You received this message because you are subscribed

Re: A stupid jvm question

2011-06-17 Thread Phil Hagelberg
flebber writes: > On Jun 17, 8:39 pm, Zlatko Josic wrote: >> No one question is stupid. Any jvm language can use jvm byte code. >> For example you can use Java libraries in Scala, Clojure,.. >> Of course sometimes it is not natural fit. >> For example if you use Scala in Java you have to know Sc

Re: A stupid jvm question

2011-06-17 Thread Mikhail Kryshen
On Fri, 17 Jun 2011 03:09:46 -0700 (PDT) flebber wrote: > I apologise for the stupidity of this question in advance. > > Just want to clarify. The jvm is great for other languages to be > hosted on clojure, jruby, scala, jython...etc. But what would be > really cool is if we could use the jvm to

Re: A stupid jvm question

2011-06-17 Thread Zlatko Josic
No, I did'nt mean that. I just talk about if it can be done easily in sence of host language. Write some a code in JRuby, make jar and try it. It's nothing new. Every jvm language use existing libraries. If you want to write a swing application you will use swing library, which is allready writen i

Re: A stupid jvm question

2011-06-17 Thread Ken Wesson
On Fri, Jun 17, 2011 at 8:47 AM, flebber wrote: > On Jun 17, 8:39 pm, Zlatko Josic wrote: >> No one question is stupid. Any jvm language can use jvm byte code. >> For example you can use Java libraries in Scala, Clojure,.. >> Of course sometimes it is not natural fit. >> For example if you use Sc

Re: A stupid jvm question

2011-06-17 Thread flebber
On Jun 17, 8:39 pm, Zlatko Josic wrote: > No one question is stupid. Any jvm language can use jvm byte code. > For example you can use Java libraries in Scala, Clojure,.. > Of course sometimes it is not natural fit. > For example if you use Scala in Java you have to know Scala compiler > will ge

Re: A stupid jvm question

2011-06-17 Thread Zlatko Josic
No one question is stupid. Any jvm language can use jvm byte code. For example you can use Java libraries in Scala, Clojure,.. Of course sometimes it is not natural fit. For example if you use Scala in Java you have to know Scala compiler will generate set/get methods. Zlaja On Fri, Jun 17, 2011

Re: A stupid jvm question

2011-06-17 Thread Ken Wesson
On Fri, Jun 17, 2011 at 6:09 AM, flebber wrote: > I apologise for the stupidity of this question in advance. Usually, the only stupid question is the one you didn't ask. > Just want to clarify. The jvm is great for other languages to be > hosted on clojure, jruby, scala, jython...etc. But what w