News for hackers. Stuff that matters.
Re:ChaiScript – Easy to Use Scripting for C++ by humanrebar on Friday July 26, 2019 @06:07PM (#20538782)
That's what I was saying. I was also saying you basically give up on a stable narrow interface when shipping header only.
Re:ChaiScript – Easy to Use Scripting for C++ by Const-me on Friday July 26, 2019 @06:36PM (#20538961)
> you basically give up on a stable narrow interface when shipping header only.

I agree. But in some cases, you also gain performance not achievable with stable interfaces.

It’s about tradeoffs.

I think modern C++ needs stable ABI and well-isolated modules less than it did 10-20 years ago. 20 years ago people wrote everything in C++. Now C++ lost the majority of the market to higher level and safer languages, it’s only used for components where performance really matters. For such components, runtime overhead of stable ABIs sometimes matters.