Hi Bertrand, On 12/11/06, bertrand greslier <[EMAIL PROTECTED]> wrote:
Of what advanced use of C++ do you talk about excatly ?
Templates is the biggy.
The parsing could be a fork and a first start for the java implementation.
You have to look to the practicalities of parsing C++ and converting to Java and the maintainence thereafter. Personally I think this avenue will just be a nightmare and the branched project would soon collapse. IMHO, one has to think of light weight and maintainable solutions. Rather the above perhaps writing in an intermediate implementation language and tool to generate multiple language implementations from this would be easier than forking the code. I don't of any such solution though.
I think data component is not sufficient, the api is as much important the data and should be specified and standardized.
The API basically creates/read/writes/destroys and does operations on data. If you formalise the data then much of the API for interacting with it follows automatically. If you want to exchange data then formalising this aspect will be key.
But yes only the data can be serialized. If these is a new objects witch doesn't exist in the local language, the user must implement the same or his own implementation for this chunk of data.
Well if there isn't an implementation locally then you'd just have to carry the data around of discard it. With scripting languages data and implementation can actually be very closely coupled so this needn't be so much of any issue, but this is a bit of orthogonal problem.
> This is obviously a major departure from how develop the OSG right > now. I touched on this topic in my Siggraph 2006 talk presented by > Mike Weiblen in our Bird of Feather sessions. Have a look on the OSG > website documentation page for links to this and other presentations. I have just read presentations but it seem me be very poor in informations and how it could be done.
It was only a short presentation, speculating on what future routes might be possible. Its not meant as concrete proposal. My own focus for the next six months will be more the immediate goals of improving the C++ core and interoperability with other languages via osgInterspection. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
