rameshrajamani at hotmail.com
Wed May 20 08:30:56 EDT 2009
I have few questions to you
1) Can we create a custom library in Ruby language like java?
2) How is the security aspect of Ruby language? Since Ruby is developed using C language and i guess one can also implement pointers which is not allowed in Java language. Correct me if iam wrong...
3) Yesterday you were telling in Java we have different classes and in JRuby we can maintain all the classes in one file. But i some how feel if we segregate the large file and split into different parts even novice can understand the code and modularity can be achieved. Correct me if iam wrong...
4) I tried the blog stuff couple of months back with JRuby in NetBean 6.1 under windows platform. The development work is fast when compare to Java. But i feel the gem update problem is there since Ruby version is looking for new version of NetBean and vice versa...
Iam currently doing SCEA and love to learn new technologies like JRuby. I also would like to know the realtime advantage or problem of using JRuby.
It was a nice presentation yesterday ...
Thanks and Regards,
> Date: Tue, 19 May 2009 21:53:43 -0700
> From: lgleasain at yahoo.com
> To: ajug-members at www.ajug.org
> Subject: [ajug-members] JRuby Versus Python
> Thanks for the question Ann,
> I'm going to answer this on the mailing list in case this question is useful to others.
> Python is a great language. It has a lot of the power of Ruby. When you are off the JVM comparing C-Python to C-Ruby there are definite differences between the two languages that might lead you in one direction or another. For example with Python the garbage collector runs at a set interval for a determinate amount of time. Ruby on the other hand uses a mark and sweep collector that is a lot more like Java. Python on C is also a lot more performant than C-Ruby.
> When you bring both languages on the JVM two other differences come to mind. One, web development frameworks. Ruby has rails, Merb, Camping etc. along with loads of testing frameworks etc.. Python has DJango and a handful of testing frameworks, but also from the benchmarks that I have seen (and Your Mileage May Vary) it appears to be much slower than JRuby on the JVM.
> If you are looking for another language to learn, JRuby is fun. If you are not happy with DJango, need better performance than Jython (but not as much as pure Java would give you), or want to leverage other Ruby code then Ruby would be worth your while.
> If you don't have any specific uses for the language other than curiosity you might want to consider having a look at Clojure, Scala or (if you are really adventurous) Erlang. The functional paradigm will really stretch your mind.
> Thy Python community tends to have more of a scientific/mathmatical slant whereas the Ruby community has a younger start up Web 2.0 type of feel to it........and you are not forced to use all of those tabs with Ruby :)
> PS: Great Blog!
> > Hi Lance,
> > Thanks for your talk and demo of JRuby I actually re-downloaded Ruby
> > tonight to start playing with it again. I was just curious, other than the
> > object oriented aspect from Ruby, have you come across how it compares to
> > other hybrid languages? I use Jython a lot at work and was curious if you
> > have seen or heard how the two compare.
> > Thanks,
> > --
> > Ann
> > http://annalytical.addicks.us/wordpress/
> > "Never trust a programmer with a screwdriver"
> ajug-members mailing list
> ajug-members at ajug.org
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ajug-members