Is concurrency an issue for web sites (don't you just get a couple
more mongrels or unicorns or animal of some description?) or for other
uses?

It's sometimes a problem for me. Sometimes you get a metric truckload
of DNA sequences, so you'd like to be able to use multiple CPUs.
Thankfully, system calls can be done concurrently, so I usually have a
glue script that makes system calls to scripts that do much of the
data processing, and I have a script that looks at processed data at
the end.

I might try jruby for bioinformatics purposes some day.

Actually, trying it exposed a bioruby issue
http://github.com/bioruby/bioruby/issues#issue/6 involving the use of
RUBY_PLATFORM. Looking at how RUBY_PLATFORM is used in rails, I
discovered a possible issue with rails, which turned out to coincide
with ticket 3999.

Andrew

On Sun, Apr 25, 2010 at 7:43 PM, Julian Doherty
<[email protected]> wrote:
> Slow. Poor concurrency support. Meta programming black magic makes libraries
> easy to use, but hard to grok.
> That said, it's fast enough for what I want to do, and there are other
> tools/languages that integrate well and help with concurrency.
>
> On 25 April 2010 12:04, Andrew Grimm <[email protected]> wrote:
>>
>> It's a bit confusing, considering that $ sometimes means "global".
>>
>> I tend to use match objects myself, but that's my conservative nature for
>> you.
>>
>> Andrew
>>
>> On Sun, Apr 25, 2010 at 12:01 PM, Korny Sietsma <[email protected]> wrote:
>> > Seriously? I never realised that.  That makes things somewhat better,
>> > though
>> > rather hacky imho.
>> >
>> > - Korny
>> >
>> > On Sun, Apr 25, 2010 at 11:59 AM, Nicholas Jefferson
>> > <[email protected]> wrote:
>> >>>
>> >>> - Perl-like global operators - especially when it comes to regexps, I
>> >>> seem to keep coming back to $1 and the like.  I'd like to think
>> >>> there's
>> >>> a better way to do this, and maybe it just needs more practise on my
>> >>> part, using matcher objects or alternative syntaxes.
>> >>
>> >> $~, $&, $1, etc. are local:
>> >>
>> >> def bar
>> >>  p [:bar, $~, $&, $1]
>> >>  "bar" =~ /(bar)/
>> >>  p [:bar, $~, $&, $1]
>> >> end
>> >>
>> >> p [:foo, $~, $&, $1]
>> >> "foo" =~ /(foo)/
>> >> p [:foo, $~, $&, $1]
>> >> bar
>> >> p [:foo, $~, $&, $1]
>> >>
>> >> Thanks,
>> >>
>> >> Nicholas
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "Ruby or Rails Oceania" group.
>> >> To post to this group, send email to [email protected].
>> >> To unsubscribe from this group, send email to
>> >> [email protected].
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/rails-oceania?hl=en.
>> >>
>> >
>> >
>> >
>> > --
>> > Kornelis Sietsma  korny at my surname dot com
>> > kornys on twitter/fb/gtalk/gwave www.sietsma.com/korny
>> > "Every jumbled pile of person has a thinking part
>> > that wonders what the part that isn't thinking
>> > isn't thinking of"
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Ruby or Rails Oceania" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected].
>> > For more options, visit this group at
>> > http://groups.google.com/group/rails-oceania?hl=en.
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby or Rails Oceania" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/rails-oceania?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to