[Rock-dev] 2GB + Autoproj + Ruby 1.9

Peter Soetens peter at thesourceworks.com
Tue May 24 16:51:06 CEST 2011


On Tuesday 24 May 2011 16:30:00 Sylvain Joyeux wrote:
> On 05/24/2011 01:55 PM, Peter Soetens wrote:
> > We might however also rethink how port connections are handled... a
> > single port instantiates everything, itself, the connection (in 3
> > flavors), and the anti-port. I wonder for in-process communication, if
> > we can't just byte-copy in a generic implementation of the channel
> > elements.... still using the copy constructor of the object to hand-over
> > the data from port to the channels.
> 
> I was more thinking about having data elements and channel elements only
> handle void*, with allocation / copy / destruction being provided by
> TypeInfo (which would be given some void*). This would remove the need
> for most of the templating without relying on doing byte-copy for "some"
> types while have more complex types fall back to the costly behaviours.

That's also possible. What would be the fallback in case of no typekit present 
?

Peter


More information about the Rock-dev mailing list