3 ms·
I understand this is a Python-centric source, but without having done my homework I'd have thought Python wouldn't be a particularly great language for dealing
by jjslocum3 3y ago
I understand this is a Python-centric source, but without having done my homework I'd have thought Python wouldn't be a particularly great language for dealing with these low level concerns. Wouldn't it be much easier in C? In java it's as simple as Runtime.getRuntime().availableProcessors()
- mort96 3y agoI mean other than being wrapped in a useless singleton, that's the same as the 'os.cpu_count()' mentioned in the beginning of the article.