Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9249 > unrolled thread

What is better Java with Python or Java with Ruby ?

Started bysahm <sahm007@gmail.com>
First post2011-10-27 08:34 -0700
Last post2011-11-03 11:42 -0500
Articles 10 — 7 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  What is better Java with Python or Java with Ruby ? sahm <sahm007@gmail.com> - 2011-10-27 08:34 -0700
    Re: What is better Java with Python or Java with Ruby ? markspace <-@.> - 2011-10-27 09:37 -0700
    Re: What is better Java with Python or Java with Ruby ? Robert Klemme <shortcutter@googlemail.com> - 2011-10-29 13:27 +0200
    Re: What is better Java with Python or Java with Ruby ? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-01 22:25 -0400
    Re: What is better Java with Python or Java with Ruby ? Lew <lewbloch@gmail.com> - 2011-11-02 07:36 -0700
      Re: What is better Java with Python or Java with Ruby ? Robert Klemme <shortcutter@googlemail.com> - 2011-11-02 17:40 +0100
        Re: What is better Java with Python or Java with Ruby ? Lew <lewbloch@gmail.com> - 2011-11-02 17:11 -0700
          Re: What is better Java with Python or Java with Ruby ? RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-11-03 09:43 +0000
          Re: What is better Java with Python or Java with Ruby ? Robert Klemme <shortcutter@googlemail.com> - 2011-11-03 14:57 +0100
          Re: What is better Java with Python or Java with Ruby ? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-11-03 11:42 -0500

#9249 — What is better Java with Python or Java with Ruby ?

Fromsahm <sahm007@gmail.com>
Date2011-10-27 08:34 -0700
SubjectWhat is better Java with Python or Java with Ruby ?
Message-ID<e08346fb-59a4-432c-959e-284d103ea99a@z22g2000prd.googlegroups.com>
Hi every one

I'm tying to use out script in java code. and I want to be OS
Independent
sometime function which is java can not provide it like e.x. ICMP

So I was wondering if any one can help me with this
what is better ?
Java with Python
or
Java with Ruby

Best
Salim

[toc] | [next] | [standalone]


#9250

Frommarkspace <-@.>
Date2011-10-27 09:37 -0700
Message-ID<j8c1bt$88b$1@dont-email.me>
In reply to#9249
On 10/27/2011 8:34 AM, sahm wrote:
> Hi every one
>
> I'm tying to use out script in java code. and I want to be OS
> Independent


I'd try to not use either one, actually.  Installing a second runtime 
package doesn't sound like something an end user would want to do.  Plus 
ICMP is an often- and easily-abused protocol.  I'd stay the heck away 
from it.

Off the top of my head, I think both provide about the same level of OS 
independence.  If you must choose, pick either and then just use it.

[toc] | [prev] | [next] | [standalone]


#9294

FromRobert Klemme <shortcutter@googlemail.com>
Date2011-10-29 13:27 +0200
Message-ID<9h26a9Fsd9U1@mid.individual.net>
In reply to#9249
On 27.10.2011 17:34, sahm wrote:

> I'm tying to use out script in java code. and I want to be OS
> Independent
> sometime function which is java can not provide it like e.x. ICMP

I would assume that you cannot use this from Python or Ruby either if 
the JVM does not support it.  And if the JVM supports it why would the 
Java standard library lack support?

> So I was wondering if any one can help me with this
> what is better ?
> Java with Python
> or Java with Ruby

I haved successfully used JRuby to script Java code and would recommend 
it any time.  I can't speak for Python.

Kind regards

	robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

[toc] | [prev] | [next] | [standalone]


#9356

FromArne Vajhøj <arne@vajhoej.dk>
Date2011-11-01 22:25 -0400
Message-ID<4eb0a9ff$0$294$14726298@news.sunsite.dk>
In reply to#9249
On 10/27/2011 11:34 AM, sahm wrote:
> I'm tying to use out script in java code. and I want to be OS
> Independent
> sometime function which is java can not provide it like e.x. ICMP
>
> So I was wondering if any one can help me with this
> what is better ?
> Java with Python
> or
> Java with Ruby

ICMP may be supported in CPython or CRuby. But I would
expect Jython and JRuby to have the same limitations as
Java.

So I doubt that either will solve your problem.

(if you run the script in a separate process, then you can
probably just as well run the ping executable the same way)

Arne

[toc] | [prev] | [next] | [standalone]


#9371

FromLew <lewbloch@gmail.com>
Date2011-11-02 07:36 -0700
Message-ID<9270340.114.1320244584057.JavaMail.geo-discussion-forums@prep8>
In reply to#9249
sahm wrote:
> I'm tying to use out script [wtf?] in java code. and I want to be OS
> Independent
> sometime function which is java [sic] can not provide it like e.x. ICMP
> 
> So I was wondering if any one can help me with this
> what is better ?
> Java with Python
> or
> Java with Ruby

Yes.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#9376

FromRobert Klemme <shortcutter@googlemail.com>
Date2011-11-02 17:40 +0100
Message-ID<9hda4tFbosU1@mid.individual.net>
In reply to#9371
On 02.11.2011 15:36, Lew wrote:
> sahm wrote:
>> I'm tying to use out script [wtf?] in java code. and I want to be OS
>> Independent
>> sometime function which is java [sic] can not provide it like e.x. ICMP
>>
>> So I was wondering if any one can help me with this
>> what is better ?
>> Java with Python
>> or
>> Java with Ruby
>
> Yes.

*chuckle*

Lew, since when are you studying Zen? ;-)

Cheers

	robert


-= What's the sound of one hand coding? =-

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

[toc] | [prev] | [next] | [standalone]


#9408

FromLew <lewbloch@gmail.com>
Date2011-11-02 17:11 -0700
Message-ID<25521719.1846.1320279069671.JavaMail.geo-discussion-forums@prap37>
In reply to#9376
Robert Klemme wrote:
> Lew wrote:
>> sahm wrote:
>>> So I was wondering if any one can help me with this
>>> what is better ?
>>> Java with Python
>>> or
>>> Java with Ruby
>>
>> Yes.
> 
> *chuckle*
> 
> Lew, since when are you studying Zen? ;-)
... [snip] ...
> -= What's the sound of one hand coding? =-

/Study/ Zen?  Mu!

I just get off on the way koans stop my mind.  It gives me a rush.

As for the OP's question, really, come on!

Which is better, ice cream or cake?

Which is better, a helicopter or a jet plane?

Which is better, basketball or farming?

Which is better, love or happiness?

Which is better, emacs or vi?

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#9438

FromRedGrittyBrick <RedGrittyBrick@spamweary.invalid>
Date2011-11-03 09:43 +0000
Message-ID<4eb26224$0$2499$db0fefd9@news.zen.co.uk>
In reply to#9408
On 03/11/2011 00:11, Lew wrote:
> As for the OP's question, really, come on!
>
> Which is better, ice cream or cake?

Ice cream AND cake


> Which is better, a helicopter or a jet plane?

Several of each


> Which is better, basketball or farming?

A basketball farm (if you build it, they will come)


> Which is better, love or happiness?

Being happy in love


> Which is better, emacs or vi?

vi.

-- 
RGB

[toc] | [prev] | [next] | [standalone]


#9441

FromRobert Klemme <shortcutter@googlemail.com>
Date2011-11-03 14:57 +0100
Message-ID<9hfktrFlrhU1@mid.individual.net>
In reply to#9408
On 11/03/2011 01:11 AM, Lew wrote:
> Robert Klemme wrote:
>> Lew wrote:
>>> sahm wrote:
>>>> So I was wondering if any one can help me with this
>>>> what is better ?
>>>> Java with Python
>>>> or
>>>> Java with Ruby
>>>
>>> Yes.
>>
>> *chuckle*
>>
>> Lew, since when are you studying Zen? ;-)
> ... [snip] ...
>> -= What's the sound of one hand coding? =-
>
> /Study/ Zen?  Mu!

:-)

This reminds me of a joke my dad told me:

Q: "What's the difference between an elephant?"
A: "And what?"
Q: "Sorry, no helping!"

> I just get off on the way koans stop my mind.  It gives me a rush.
>
> As for the OP's question, really, come on!

+1

As a philosophical side note: people seem to think that "good" and "bad" 
are absolute terms and there is always a way to align arbitrary things 
ordered by their "quality".  This is of course nonsense as many 
(including you, Lew) do not get tired to point out.  The only other 
explanation I have is that people seem to assume readers can not only 
read their newsgroup postings but their minds as well.  That seems as 
unrealistic as the former assumption to me... :-)

For people interested in musings about "quality" here's a nice book 
about the matter:
http://www.amazon.com/dp/0061673730

Cheers

	robert

[toc] | [prev] | [next] | [standalone]


#9454

FromJoshua Cranmer <Pidgeot18@verizon.invalid>
Date2011-11-03 11:42 -0500
Message-ID<j8ug9q$mdb$1@dont-email.me>
In reply to#9408
On 11/2/2011 7:11 PM, Lew wrote:
> Which is better, ice cream or cake?

Obviously, a deliciously fresh batch of cookies.

> Which is better, a helicopter or a jet plane?

Jet planes. They're less noisy.

> Which is better, basketball or farming?

Farming, duh.

> Which is better, love or happiness?

Love. It's easier to manipulate :-)

> Which is better, emacs or vi?

ヴィ, totally.

-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web