Better HN
topnewbestaskshowjobs
Log inSign up

scienceplease

5 karma · joined Apr 14, 2021 (5y ago) · 4 submissions

Submissions

comment 2y ago · link · parent

> 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?

comment 2y ago · link · parent

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

comment 3y ago · link · parent

This is really amazing work! Is it still ongoing/funded?

comment 3y ago · link · parent

"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?