4 ms·
I often feel like my primary language, c++, is somewhere between niche and mainstream. It leaves ample opportunities to do something in a niche way. I am often
by e-dant 5y ago
I often feel like my primary language, c++, is somewhere between niche and mainstream.
It leaves ample opportunities to do something in a niche way. I am often disenchanted after reading many open-source, ostensibly high-quality c++ libraries — namely Apple’s WebKit and a few parts of Google’s Filament. That said, there are a few gems of c++ that I can’t describe as anything but archetypally niche.
Nlohhman’s JSON library (also, the constexpr fork of that library), and the CTRE library for compile time regular expressions are absolute gems.
- User23 5y agoCommon Lisp has had compile time regexes for well over a decade.
- bmitc 5y agoSeveral languages support compiled regular expressions. Also, I interpreted the parent comment as talking about the implementation/architecture of the projects, not the projects themselves.
- User23 5y agoThe neat thing about Common Lisp is that cl-ppcre is just a library, but it still builds native code recognizers. That’s neat about C++ templates too which is why I drew the comparison. Personally I think Lisp macros are considerably more readable than C++ templates, especially when it comes to errors, but I’m happy to agree that reasonable minds may differ on that.
- mbrodersen 5y agoThere are 5+ million C++ programmers out there. And the number is going up. So I think it is safe to say that C++ is not a niche language :)
- transfire 5y agoThat’s just sad.
- creatornator 5y agoWhich part of it is sad?
- mbrodersen 5y agoWhy is that sad?