News for hackers. Stuff that matters.

redeyed

Thanks for the source! I was trying to find that list with no luck.
Re:Ancient secrets of computer vision on Wednesday November 10, 2021 @01:04AM (#29171585)
Watched this lectures 2 years ago and It's pretty solid!
Re:Python stands to lose its GIL, and gain a lot of speed on Saturday October 23, 2021 @08:26AM (#28967750)
Again hammer to microscope comparison. Do you realize that your ignorance is bigger than Solar System?
Re:Python stands to lose its GIL, and gain a lot of speed on Saturday October 23, 2021 @07:51AM (#28967561)
I don't think it will happen soon.

But what would be nice currently, is to create map reduce API w/o shared data or just readonly data.

Something like ProcessPoolExecutor but instead of spawning new process and pickling input/output data, create threads w/o GIL w/o pickling input/output data.

Re:Python stands to lose its GIL, and gain a lot of speed on Saturday October 23, 2021 @07:38AM (#28967494)
There is such problem on Windows. When you create new process (spawn) it copies all memory of parent process.
Re:Python stands to lose its GIL, and gain a lot of speed on Saturday October 23, 2021 @07:33AM (#28967461)
Yeah, had the exact problem.

I solved it by using python threads and C function (cv2.resize)

Re:Python stands to lose its GIL, and gain a lot of speed on Saturday October 23, 2021 @07:31AM (#28967451)
> Also I pity the fool who tries to connect a debugger to code using multiprocessing.Pool()

PyCharm works fine

Re:Accidentally quadratic: When Python is faster than C++ on Thursday March 11, 2021 @04:37AM (#26422110)
Not "Python is Faster Than C++" but "When Python is Faster Than C++"