Re: [Vala] Vala vs Mono performance benchmark project



I think the GValueArrays are helpful because they provide run time
type information,
and they do the work of collect the arguments.

Just out of curiosity: How does Dova implement signals and argument forwarding?
In case those are supported of course.

I did not see signals working in dova yet, but I'm a couple of weaks
lagged with my dova & vala updates.

best regards,


On Mon, Jan 31, 2011 at 11:14 AM, Jan Hudec <bulb ucw cz> wrote:
On Mon, Jan 31, 2011 at 17:35:09 +0000, Aleksander Wabik wrote:
Hi Pancake,

I'll play with signals for a moment - will the marshallers be gone when
using g_signal_emit()? I guess that they are generating much overhead...

Unfortunately, no, they won't. They are there because C cannot do argument
forwarding. The, IMHO somewhat unfortunate, choice of using GValue arrays
instead of working with the va_args directly is what is causing the overhead.

Note, that with va_args, any language binding could still provide it's own
set of marshallers to handle conversion to anything they need.

--
                                                Jan 'Bulb' Hudec <bulb ucw cz>
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



-- 
Mój klucz publiczny o identyfikatorze 1024D/E12C5A4C znajduje się na
serwerze hkp://keys.gnupg.net

My public key with signature 1024D/E12C5A4C is on the server
hkp://keys.gnupg.net

Attachment: signature.asc
Description: PGP signature



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