Re: [Vala] Vala for physics simulations?
- From: Durand <durand1 gmail com>
- To: Fabian Deutsch <fabian deutsch gmx de>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Vala for physics simulations?
- Date: Thu, 12 Apr 2012 22:48:47 +0200
I won't, hehe :)
On 12 April 2012 20:49, Fabian Deutsch <fabian deutsch gmx de> wrote:
Am Donnerstag, den 12.04.2012, 18:59 +0200 schrieb Durand:
Vielen dank für die Antwort :) I've never heard of orc before but it
looks quite useful. I'll definitely consider it for my code.
Most people haven't :) Time to promote it ;)
Don't hesitate to ask for samples.
On 12 April 2012 18:41, Fabian Deutsch <fabian deutsch gmx de> wrote:
Am Donnerstag, den 12.04.2012, 18:16 +0200 schrieb Durand:
I'm considering using Vala to write a stellar evolution code which
needs to be pretty efficient in utilizing memory and cpu cycles. Is
there anything I'd need to be concerned about before using Vala for
this purpose? I guess the main features of the code will be the use of
large arrays. I'm also quite new to writing efficient code so I'm
wondering whether it is sensible to use libgee arrays and maps or to
stick to the basic arrays. As Vala is basically just C, I'm assuming
that efficiency is comparable to native C code but that might be a
If you use plain C arrays you might be interested in using orc  [1a]
with the vapi provided here . It is widely used in e.g. gstreamer.
Orc helps you to apply operations to large arrays of data efficiently.
] [Thread Prev