3 ms·
Guys, remember when language features allowed re-usability?
by glouwbug 10d ago
Guys, remember when language features allowed re-usability?
- shadowgovt 10d agoBarely, and rarely for C++ specifically. I think software engineering in general is in a bit of a discoverability crisis. So many problems actually have solutions implemented... Somewhere. If you know about them. And are speaking the same vocabulary as the original implementer to realize the solution might be applicable to your problem. It's one of the reasons that jokes exist about microservice frameworks (https://www.youtube.com/watch?v=y8OnoxKotPQ https://www.youtube.com/watch?v=y8OnoxKotPQ) and how "We use Hadoop to store the output from our Kafka pipe, that's populated from our Traefik layer, all monitored with Grafana in front of Loki and Prometheus, of course" is a real sentence that has actual meaning and not a fever-dream. LLMs are actually pretty impressive at being able to pull together disparate information from various domains into one place.
- glouwbug 8d agoI'm not sure I follow. C++ just added a SIMD library for this exact problem. And even then, SIMD-intrinsic-free C++ with the right data structures and some basic hardware understanding gets you mostly there in a hardware agnostic portable way.
- shadowgovt 8d agoThey've added a new library to a language and stdlib so crammed full of features that its specification exceeds the size of the King James Bible by wordcount. That's what I mean about "discoverability crisis." This post is how I learned about the existence of the SIMD library.