Diego Virasoro wrote:
> Hello,
> I was wondering if someone here has had any experience in programming
> for HPC with Ruby, or it's just not feasible.
> 
> Usually many scientific codes, for example, spend most of their time in
> only a few functions, which (from what I understood) could be
> programmed directly in C, letting you use Ruby for the remaining 90% of
> the code.
> 
> That's why I thought it was feasible, or am I on the wrong track?
> 
> And if someone has tried this, how was the experience?

This is a good approach. You can do all the mundane stuff (files, ui, 
config) in ruby, and the interesting stuff in C. Also, ruby is very good 
for writing domain-specific languages (DSLs), which can make it easier 
to use your C library. For example, the DSL could specify your system 
(whatever it is), and that specification would be the input to your C 
functions. Or the specification could even be used to generate C code 
dynamically.

Can you tell us a little more about the area you are working in, the 
problems you want to solve, etc?

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407