5 ms·
> You can already use multiple cores by writing C extensions Don’t use Python is also my preferred recommendation when I encounter Python.
by forrestthewoods 4y ago
> You can already use multiple cores by writing C extensions
Don’t use Python is also my preferred recommendation when I encounter Python.
- andybak 4y agoThanks but: 1. Learning a new language is non-trivial for many people (and don't sneer - it's about time not competency) 2. The ecosystem matters. If the code you want to interface with is in Python then "don't use Python" is just glib. I'm mainly proficient in Javascript, Python and C#. My choice of language is rarely based on "which is best for this task?" but mostly "want do I need to run on and interface with?"
- anhner 4y agoI think the person you replied to agrees with you, and was just being snark
- gpderetta 4y agoregarding point 1 if we are already at the point that you have to write a C extension to workaround language lossage, we can already assume you know C. At that point it is just easier to rewrite in another language that dealing with FFI.