Re: [Vala] Vala for physics simulations?

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
little naive.

If you use plain C arrays you might be interested in using orc [1] [1a]
with the vapi provided here [2]. It is widely used in e.g. gstreamer.
Orc helps you to apply operations to large arrays of data efficiently.

- fabiand


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]