4 ms·
Lack of parallelization really doesnt make me feel that sad. I'm constrained by many things while coding but CPU horsepower isnt one of them.
by pydry 2y ago
Lack of parallelization really doesnt make me feel that sad. I'm constrained by many things while coding but CPU horsepower isnt one of them.
- mrkeen 2y agoWhat's stopping your test suite from running instantly?
- meindnoch 2y agoYou realize that by "parallelism" the author is referring to the detection of concurrency issues, and not the parallel running of tests, right?
- k__ 2y agoTypescript/JavaScript libraries are in the list, but JS it's single threaded, so I don't know if there is really something missing here.
- nequo 2y agoConcurrency is not the same as parallelism. I’ve understood TFA to mean concurrency when it mentions parallelism. This would explain the presence of JS libraries which could test for concurrency problems in asynchronous code.
- epolanski 2y agoJS is single threaded, but the process lives in an event loop. You can easily write a JS function that can have a race condition by launching two asynchronous processes (such as writing to local storage in a browser or the file system both operating on the same data). I had this happen just today while scraping different websites writing to the same files and overwriting each other.