r/cpp • • Sep 24 '26

Why we should standardise on CPS

To enable any collaboration in the industry, some "social contract" must be signed by all of us.

One of the rules of this contract is binary packaging, to put it simply, if you are a library author you need to either have clean definition on what package you expect to consume or have a "scriptless" implementation like imgui.

If the library exports a pkgconf package, but its dependency exports something else your build will not work. Why should it, what you do makes no sense.

Currently I'm literally forced to package every single dependency I have, which is fine in principle as you want to own your dependencies for security and licensing reasons... But I CAN'T UPSTREAM MY CHANGES which is not fine.

The current situation is a disease, please do remember my talk when you try to build a library like dawn or SDL and it vendors dozens of libraries to create a giant shared library after a long slow build.

0 Upvotes

70 comments sorted by

View all comments

16

u/no-sig-available Sep 24 '26 edited Sep 24 '26

CPS?

Clicks Per Second

Collaborative & Proactive Solutions

Cyber-Physical Systems

Cost Profit System

Child Protective Services

Clean Pipe System? https://www.cps.se/

9

u/robertahleahy WG21, SCC, std::execution, Finance Sep 24 '26

Continuation-Passing Style?

9

u/xiao_sa Sep 24 '26

Mom, can we have Continuation-Passing Style?
No. There is Continuation-Passing Style at home.
Co_ntinuation-Passing Style at home:

1

u/alfps Oct 02 '26

I believe the lazy poster intended to refer to

https://cps-org.github.io/cps/overview.html