News for hackers. Stuff that matters.

scienceplease

Re:Async hazard: MMAP is blocking IO on Sunday August 25, 2024 @06:58AM (#41346339)
> cooperative scheduler that isn't using native kernel threads

Can anyone point me towards cooperative thread schedulers that use native kernel threads? Would this effectively mean implementing a cooperative model on top of pthreads?

In the interim, check out basedpyright [1]. It's an up-to-date fork of pyright with some improvements, less arbitrary limitations, and does not require npm to install.

[1] https://github.com/detachhead/basedpyright

Re:VUDA: A Vulkan Implementation of CUDA on Sunday July 02, 2023 @07:33AM (#36560440)
This is really amazing work! Is it still ongoing/funded?
Re:Finally Getting Two's Complement on Saturday June 24, 2023 @08:10AM (#36458005)
"If you interpret that operation as signed math it's computing 254 + 1 = 255, while if you interpret it as unsigned math it was -2 + 1 = -1."

I think the author swapped "signed math" with "unsigned math" here?