News for hackers. Stuff that matters.
Re:Zero-cost futures in Rust by pcwalton on Thursday August 11, 2016 @05:44PM (#12271801)
Fair enough, but kernel stacks are 8K. 10K user + kernel size is a far cry from the 2MB default pthread stack size people usually talk about when they talk about 1:1.

I don't know of any benchmark comparing Go vs. a 1:1 implementation with 2K pthread stack sizes, but I would be surprised if the performance difference is large at all.

Re:Zero-cost futures in Rust by JoshTriplett on Thursday August 11, 2016 @05:48PM (#12271828)
> Fair enough, but kernel stacks are 8K.

And getting even cheaper than that, with the effort to make kernel stacks use virtual memory. As I understand it, once kernel stacks use virtual memory, they'll start out at a single 4k page.

Re:Zero-cost futures in Rust by kibwen on Friday August 12, 2016 @10:48AM (#12276112)
Is there a writeup somewhere of the progress towards this, or a prospective timeline?
Re:Zero-cost futures in Rust by sciurus on Friday August 12, 2016 @02:25PM (#12277703)