Openapoc: Remove Boost

Created on 1 Aug 2019  路  4Comments  路  Source: OpenApoc/OpenApoc

Nobody likes it, it's not "needed" in most cases, is slow to build and adds lots of dependencies

Enhancement

Most helpful comment

"boost" is a large set of c++ libraries (https://www.boost.org/) - we use a few of them for various things, but I think it may be simpler in these cases to add simple single-function libs instead of the (rather massive) boost framework.

It's often a "staging" point for new libraries proposed to be in the next c++ standard, but also causes it to come with a lot of backwards compatibility cruft we don't need and bloats build and code size.

All 4 comments

what is boost?)

"boost" is a large set of c++ libraries (https://www.boost.org/) - we use a few of them for various things, but I think it may be simpler in these cases to add simple single-function libs instead of the (rather massive) boost framework.

It's often a "staging" point for new libraries proposed to be in the next c++ standard, but also causes it to come with a lot of backwards compatibility cruft we don't need and bloats build and code size.

Anything to streamline the code is good. I am continually amazed that OA does not run much faster on a modern gaming rig than the original did back in the days of DOS.

There's not really anything using boost in performance critical sections, so will likely not change things there. Assuming this is a good idea and will get done.

To be fair, we do a lot more - there were lots of tricks and heuristics that we don't implement, instead just brute-forcing everything (which also avoids some "weird" behavior at times).

And people seem to forget the OG ran at ~18 fps :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Quickmind01 picture Quickmind01  路  3Comments

FilmBoy84 picture FilmBoy84  路  3Comments

FilmBoy84 picture FilmBoy84  路  3Comments

makus82 picture makus82  路  3Comments

FilmBoy84 picture FilmBoy84  路  3Comments