| ▲ | jcranmer 4 hours ago | |||||||
> If you tools are not updated that isn't the fault of C++. It kinda is. The C++ committee has been getting into a bad habit of dumping lots of not-entirely-working features into the standard and ignoring implementer feedback along the way. See https://wg21.link/p3962r0 for the incipient implementer revolt going on. | ||||||||
| ▲ | amluto 2 hours ago | parent | next [-] | |||||||
Even some much simpler things are extremely half baked. For example, here’s one I encountered recently:
What type is buf? What alignment does that type have? What alignment does buf have? Does the standard even say that alignof(buf) is a valid expression? The answers barely make sense.Given that this is the recommended replacement for aligned_storage, it’s kind of embarrassing that it works so poorly. My solution is to wrap it in a struct so that at least one aligned type is involved and so that static_assert can query it. | ||||||||
| ▲ | 20k 3 hours ago | parent | prev [-] | |||||||
Its happening again with contracts. Implementers are raising implementability objections that are being completely ignored. Senders and receivers are being claimed to work great on a GPU but without significant testing (there's only one super basic cuda implementation), and even a basic examination shows that they won't work well So many features are starting to land which feel increasingly DoA, we seriously need a language fork | ||||||||
| ||||||||