Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Martin Krauskopf
Chris Nelson wrote: Cool. It's a plan! Martin, here's one idea for how we can collaborate. Since test cases are my favorite kind of documentation, maybe we can us them to help us get started. Here are some different approaches we could use depending on where things are at now: Good: If y

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Martin Krauskopf
Chris Nelson wrote: Hi Martin, I recognize you from Netbeans Issuezilla :) It's great to hear someone has already started on this. Sounds I'm starting at the same place you did: looking at the ruby-debug-base c code and looking for the native methods we would need to implement in JRuby. Ch

Re: [jruby-dev] ByteList Lexer support patch

2007-08-17 Thread Thomas E Enebo
On 8/17/07, Tor Norbye <[EMAIL PROTECTED]> wrote: > On Aug 15, 2007, at 1:15 PM, Thomas E Enebo wrote: > > > I implemented a patch which allows a bytelist to be read directly by a > > lexersource. This ends up with the following (plusses and minuses): > > > > + We do not convert the bytelist to a

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Thomas E Enebo
On 8/17/07, John Wells <[EMAIL PROTECTED]> wrote: > > - "Kenneth McDonald" <[EMAIL PROTECTED]> wrote: > > However, last I heard, Groovy was really quite absurdly slow in > > places, > > Is it also feasible to assume that you can use other ORM frameworks, like > Hibernate, safely from within JR

Re: [jruby-dev] ByteList Lexer support patch

2007-08-17 Thread Tor Norbye
On Aug 15, 2007, at 1:15 PM, Thomas E Enebo wrote: I implemented a patch which allows a bytelist to be read directly by a lexersource. This ends up with the following (plusses and minuses): + We do not convert the bytelist to a String in order to parse during evals + We do not save a copy o

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread John Wells
- "Kenneth McDonald" <[EMAIL PROTECTED]> wrote: > However, last I heard, Groovy was really quite absurdly slow in > places, The typical response I get from the Groovy community on this is that if you ever hit a slow point, you can simply drop back to Java, code it, and be done. What's conf

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Bill Dortch
On 8/17/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > Kenneth McDonald wrote: > > > A related question on the efficiency front. Let's say that, purely for > > my Ruby code, I define a new subclass of JButton, 'class MyButton < > > javax.swing.JButton; . . .; end'. Now, I can use those ne

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Raphaël Valyi
On 8/17/07, Chris Nelson <[EMAIL PROTECTED]> wrote: > > Cool. It's a plan! > > Martin, here's one idea for how we can collaborate. Since test cases are > my favorite kind of documentation, maybe we can us them to help us get > started. Here are some different approaches we could use depending on

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Raphaël Valyi
On 8/17/07, Kenneth McDonald <[EMAIL PROTECTED]> wrote: > > > I think the above is, while fairly accurate, a little harsh. Groovy was > designed with Java in mind, and its semantics offer effectively all of > the advantages of Ruby, while integrating with Java much more cleanly. > In addition, Groo

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Charles Oliver Nutter
Kenneth McDonald wrote: Yes, someone on the know please clarify if Java will be able to see JRuby subclasses of Java classes. This would be a Good Thing (and I'm guessing it will happen) It already does happen. If you extend JButton and implement your own versions of JButton methods, your ver

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Charles Oliver Nutter
Kenneth McDonald wrote: If you need to do efficient web dev and think Rails is great for that, if you like Ruby as a language to use, if you don't want to take too much risk with a language who has a very small community (Groovy vs Ruby communities). If you want to get rich and save the world f

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Chris Nelson
Probably this is the wrong mailing list to start a Groovy vs Ruby language debate, but since the can of worms is open, I feel obligated to point out that it is at best a highly subjective statement to claim that Groovy has "all the advantages of Ruby", and at worst, misleading. It's obvious that G

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Kenneth McDonald
Raphaël Valyi wrote: - What can't you do with Java integration and JRuby today? No big limit as far as I know. I think if you extend a Java class in Ruby, then that class won't look extended from Java. Only Ruby will see those extensions. Of course changing an object from JRuby also cha

[jruby-dev] [jira] Created: (JRUBY-1279) Serialization/Persistence Fix

2007-08-17 Thread Alan McKean (JIRA)
Serialization/Persistence Fix - Key: JRUBY-1279 URL: http://jira.codehaus.org/browse/JRUBY-1279 Project: JRuby Issue Type: New Feature Components: Core Classes/Modules Affects Versions: JRuby 1.0.0

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Chris Nelson
Cool. It's a plan! Martin, here's one idea for how we can collaborate. Since test cases are my favorite kind of documentation, maybe we can us them to help us get started. Here are some different approaches we could use depending on where things are at now: Good: If your code does not have tes

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Charles Oliver Nutter
Chris Nelson wrote: Hi Martin, I recognize you from Netbeans Issuezilla :) It's great to hear someone has already started on this. Sounds I'm starting at the same place you did: looking at the ruby-debug-base c code and looking for the native methods we would need to implement in JRuby. Ch

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Chris Nelson
Hi Martin, I recognize you from Netbeans Issuezilla :) It's great to hear someone has already started on this. Sounds I'm starting at the same place you did: looking at the ruby-debug-base c code and looking for the native methods we would need to implement in JRuby. Charles, is this headius br

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Charles Oliver Nutter
Martin Krauskopf wrote: But it's one big mess, since I started in very similar position as you. A lot of Java coding, some Ruby coding, 8+ year ago C coding. So I'm still deleting and rewriting what I wrote as I'm getting into the JRuby APIs (BTW purely documented guys! ;) ) Ups. Should be "p

Re: [jruby-dev] JRuby cruise control

2007-08-17 Thread Nick Sieger
On 8/13/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > Edwin Wong wrote: > > Hi Charles, > > > > I was wondering how Bamboo is giving false positives? Is it reporting > builds > > as failed when they completed successfully, or the other way around? > > > > If you could perhaps let us know

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Martin Krauskopf
Martin Krauskopf wrote: Chris Nelson wrote: Guys, This sounds like an awesome list of stuff, but a feature that I think would help a lot of with JRoR projects would be to improve the debugging experience. Right now the only way to get JRuby on Rails debugging to work in NetBeans is by setti

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Martin Krauskopf
Chris Nelson wrote: Guys, This sounds like an awesome list of stuff, but a feature that I think would help a lot of with JRoR projects would be to improve the debugging experience. Right now the only way to get JRuby on Rails debugging to work in NetBeans is by setting an undocumented proper

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Charles Oliver Nutter
John Wells wrote: Thanks for the great replies...I'm pondering your answers, but would like a little clarity on this: After the core team, JRuby classes would be VERY VERY tricky to un-obfuscate so JRuby could be a very good way to achieve Ruby obfuscation even if nobody should do closed

Re: [jruby-dev] JRuby 1.1 Roadmap

2007-08-17 Thread Charles Oliver Nutter
Kenneth McDonald wrote: I think even half of that would more than justify a .1 release. Very impressive! Something I've been wondering about recently, that is definitely related to a couple of the points below; any guesses as to what sorts of speedups we can see in the future, and where these

Re: [jruby-dev] Heads Up: JRuby 1.0.1 release around the corner

2007-08-17 Thread Nick Sieger
On 8/16/07, Alan McKean <[EMAIL PROTECTED]> wrote: > > Serialization/Persistence, please. We are proposing a talk at > RubyConf and are in the middle of doing allocations of resources here > at GemStone. It would really help if we knew that JRuby was > compatible with our plans. Is the contents o

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Charles Oliver Nutter
Chris Nelson wrote: Guys, This sounds like an awesome list of stuff, but a feature that I think would help a lot of with JRoR projects would be to improve the debugging experience. Right now the only way to get JRuby on Rails debugging to work in NetBeans is by setting an undocumented proper

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread John Wells
Thanks for the great replies...I'm pondering your answers, but would like a little clarity on this: > > After the core team, JRuby classes would be VERY VERY tricky to > > un-obfuscate so JRuby could be a very good way to achieve Ruby > > obfuscation even if nobody should do closed source a

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Charles Oliver Nutter
Raphaël Valyi wrote: - Could you design a Swing application in, say, Matisse, and then use JRuby for implementing the business logic that drives that application? i.e. instead of using something like Cheri to write a Swing app entirely in Ruby...we would seek a hybrid approach (so

[jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Chris Nelson
Guys, This sounds like an awesome list of stuff, but a feature that I think would help a lot of with JRoR projects would be to improve the debugging experience. Right now the only way to get JRuby on Rails debugging to work in NetBeans is by setting an undocumented property in a config file. And

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Raphaël Valyi
On 8/17/07, John Wells <[EMAIL PROTECTED]> wrote: > > Hi guys, > [...] > > - Could you design a Swing application in, say, Matisse, and then use > JRuby for implementing the business logic that drives that application? > i.e. instead of using something like Cheri to write a Swing app entirely > in

[jruby-dev] What can't JRuby do?

2007-08-17 Thread John Wells
Hi guys, This email is part of a larger discussion I've been having on the Groovy user list. Charles and I had discussed some things off-line, and he recommended I post some questions here. Feel free to respond to me off-list if you'd feel more comfortable. A bit of background: I'm the CIO o