4 ms·
AFAIK Debian isn't very diligent about tagging packages with "implemented-in", but even so: dpkg -l |grep ^ii -c #Installed packages 3608 # packages tagg
by e12e 11y ago
AFAIK Debian isn't very diligent about tagging packages with "implemented-in", but even so:
dpkg -l |grep ^ii -c #Installed packages
3608
# packages tagged as being in c++, and installed:
aptitude search '?tag(implemented-in::c++)' \
|grep ^i -c
930
I'm sure there's lots of c++ in the other 75% (or they depend on a runtime/compiler/library written in c++) -- but at any rate - one in four packages is nothing to sneeze at.
- lultimouomo 11y agoLinux is more of a C than a C++ land, so the figure does not look unreasonable to me.
- lorenzhs 11y agoYour search query needs escaping for the pluses, otherwise it will match 'implemented-in::c' as well (aptitude's matching is weird).
- e12e 11y agoWhoops, you're absolutely right. Eg: '?tag(implemented-in:c\+\+)' On a different desktop right now, so can't check -- but that'll probably lower the count considerably (eg: on a different server I get 226 for "c/c++" and 19 for just "c++" ("c\+\+)").
- melling 11y agoThis is completely irrelevant to the question. Furthermore, most of the code was written a decade ago. Why can't I use Go, for example?