Hi Wang Rui,

My approach would be to do the ports and see just how big the
footprint is, and if it's OK then your job is done, no need to spend
extra time optimizing stuff that isn't an issue. Memory footprint is
an issue that I have been expecting to arise as a problem on the
embedded space, but so far I haven't heard from those doing ports
citing it as a problem.

We are early days of course, it may turn out to be an issue for enough
developers that effort in porting to an alternative to STL might be
warranted.  If it's relatively easy to do then the the threshold for
forcing one to move across needn't be so high.

There are lots of other things we could do to reduce footprint as
well.  However, I would recommend doing the port then accessing what
problems there are, then looking at the various approaches that might
be able to resolve these.

Robert.

On Mon, Nov 15, 2010 at 2:07 AM, Wang Rui <[email protected]> wrote:
> Hi all,
>
> In the past few months I saw that OSG was ported to iPhone and worked
> well. It is also being prepared to be migrated to more mobile
> platforms like Android and Symbian (e.g. a new OpenThreads
> implementation with Qt). With these in mind, I'm now considering if we
> could provide a lightweighted STL library instead of the normal one
> while porting OSG to mobile devices.
>
> The STL library itself may be too large for developing with memory
> limitation. Although memory size is not so important in modern desktop
> and mobile platforms, we can still benifit from the maximum saving of
> resources, and make use of possibly cleaner and faster code,
> especially in the rendering back-end. I've had a glance of the uSTL
> library (http://ustl.sourceforge.net/) and thought it might be a good
> start.
>
> I haven't planned for any implementations about merging uSTL into OSG
> or implementing another one to replace the normal STL library when
> required for mobile developing, but just would like to start a
> discussion at present. One of my friend is working in Nokia and he
> provides me some useful information of the concept of uSTL, and a
> portable version of it under Symbian. I really hope somebody
> (including myself :-) can give more suggestions and solutions, and
> work out a usable mobile version of OSG in the future.
>
> Cheers,
>
> Wang Rui
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to