This is not the only advantage. The Standard C++ Library containers have well defined behavior and performance characteristics. Depending on the implementation they are usually very well tested. Unlike Irrlicht, they actually have test suites to verify behavior, performance and portability.wyrmmage wrote:As has been mentioned, it is not that the containers are necessarily faster, but that they COULD BE faster
IMO this would be a bad idea. This would require more effort by the Irrlicht dev team. There is the time to do the initial implementation, then time to do maintenance. That doesn't include the time it would take to write a test suite.wyrmmage wrote:why not take the time it would take to convert the Irrlicht engine to using the STL and instead work on improving the existing implementation of Irrlicht's containers?
It depends on what you mean by thread safe. There are two types of thread safety.wyrmmage wrote:It's been pointed out that they are multi-threaded (which the STL is generally not), and therefore they could be faster, given some more work.
Typically a library will guarantee minimal [level 1] thread safety. This means that any access to global or static data is safe. This is true of most implementations of the Standard C++ Library implementations.
This standardization is quite important. It means that you can expect consistent behavior between implementations. As I mentioned above, there are performance guarantees, and there is a lot of documentation. The standard containers have been used in many applications for more than two decades.wyrmmage wrote:So far, the only real reason that I see you giving to use the STL is "it's standard!". My response is: so what? Why does that make it better? Writing in assembler was standard until C came along, it doesn't make it better
Travis