News for hackers. Stuff that matters.
Re:Writing New System Software by mynameismon on Saturday January 01, 2022 @06:22AM (#29757430)
> You may like STL, but that doesn’t change the fact that a huge number of companies have policies against using it.

Sources? I haven't heard of any company disallowing it, on the contrary, have heard of companies promoting its use.

edit: fixed formatting

Re:Writing New System Software by drainyard on Saturday January 01, 2022 @06:40AM (#29757513)
A lot of game companies don't use STL. I assume theremust be plenty of system software companies doing the same.
Re:Writing New System Software by jcelerier on Saturday January 01, 2022 @06:45AM (#29757536)
https://www.youtube.com/watch?v=6hC9IxqdDDw

anecdotally in the last ten years I haven't seen a single C++ codebase not using the stl, except arduino-level stuff

Re:Writing New System Software by drainyard on Saturday January 01, 2022 @12:52PM (#29760785)
I assume a lot of people roll their own containers and use STL algorithms, which makes a lot of sense if you need control over allocations but still want to utilise the STL.
Re:Writing New System Software by flumpcakes on Monday January 03, 2022 @06:49AM (#29779828)
Yes. I think this is so common that Rust, positioning itself as an option for a systems programming language, has the #![no_std] macro to not link with the full standard library.
Re:Writing New System Software by ncmncm on Saturday January 01, 2022 @09:25PM (#29765117)
Certain game companies decades ago had a house STL.