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

Sylvain Joyeux sylvain.joyeux at dfki.de
Wed May 25 09:07:49 CEST 2011


On 05/24/2011 04:51 PM, Peter Soetens wrote:
> 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
> ?
Mmmm ... good question. Maybe we could only make the lock free logic 
(i.e. buffer and data) type-unsafe and keep the rest typesafe. The 
BufferLockFree<T> could then provide with the 
allocation/deallocation/copy to the type-unsafe GenericBufferLockFree. 
As far as I understood, that is the part that takes ages to expand, right ?

As usual, the main problem with fallbacks is that templating *needs* to 
be instanciated :(
-- 
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------


More information about the Rock-dev mailing list