4 ms·
I really struggle with this because I'm a C++/Java dev who is 4/10 with Python. I dont understand why anyone would choose a single threaded language but its jus
by rr808 4y ago
I really struggle with this because I'm a C++/Java dev who is 4/10 with Python. I dont understand why anyone would choose a single threaded language but its just everywhere I can't avoid it.
- synergy20 4y agoso is javascript, single threaded language. somehow these two are super popular. both can do async, both have libs for multithread workloads. I wonder how critical the language itself is as far as multi-threaded goes.
- vb-8448 4y agoCPU-bound tasks are limited to a single core due to GIL but, for sure, it's not single threaded language!
- kmac_ 4y agoI'm C#/Java dev who works with Python and ML devs. I'm amazed how fast they can put things together and solve problems. We've embedded Jupyter to our product recently, and what I can tell, that's the way. Even the integration team started to use it to glue things together. I'm becoming a huge fan, it does the job.
- piyh 4y agoDo you write a lot of multithreaded code that can't use a shared nothing model?
- baq 4y agoIf your problems need threads and raw CPU, you’re doing well, since that obviously isn’t Python’s niche. The thing is, most problems aren’t like that and if some parts are, Python probably has a C extension for it, so it doesn’t matter nearly as much as you think.