While the post may be better directed to one of the Android_porting lists, a similar discussion has erupted in our organization. We are trying to port Android onto a new set of hardware and are trying to re- utilize existing C++/STL-based code in porting the HAL to Android. Are you able to share some of the profiling that Google has done on STL? There is considerable pressure being generated to port an STL library to Android for use throughout the organization and would like to share any existing info that has generated decisions by the Android team.
Thanks On Nov 12, 6:49 am, "David Turner" <[EMAIL PROTECTED]> wrote: > First, please note that Android does *not* support native code development > at the moment. > > Even the open source tree doesn't provide a real STL library at this point. > > While many parts of the system are written in C++, we profiled and avoided > using STL there > because it easily generates *very* large binaries that run very poorly on > embedded CPUs > like the ARM that have tiny instruction caches. We thus had to provide our > own templatized > containers instead. > > That doesn't mean you absolutely can't develop a native application, but: > > 1 - it will have to statically link to your own version of the STL > 2 - it will not be easily installable to supported Android devices, like the > G1 > 3 - don't expect it to be small or run very fast. > > We may provide native development support in the future, but I doubt this > will include full STL support. > > On Wed, Nov 12, 2008 at 3:40 AM, [EMAIL PROTECTED] < > > > > [EMAIL PROTECTED]> wrote: > > > Hello, > > Our organization just moved to Android and we have lot of legacy code > > that was built around STL Containers. > > > I have been searching through blogs and android source trees but > > couldn't find support for STL in Android latest release. STL seems to > > be limited to <pair> and some basic string manipulation functions. > > > I am curious if anyone has run into this issue and has found ways to > > get around it. > > > Does android provide STL support including Container classes, Vector > > and <std> namespace. > > > Thank You > > Sanjay- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---