News for hackers. Stuff that matters.
Re:Async-await on stable Rust by yepguy on Thursday November 07, 2019 @02:49PM (#21476645)
FFI is slow because the main Go compiler uses a different calling convention than everything else. I couldn't tell you if or how that's related to its concurrency features.
Re:Async-await on stable Rust by bbatha on Thursday November 07, 2019 @03:01PM (#21476767)
Its an important optimization otherwise each go routine would use a lot of memory, but its not required. The stack allocation strategy has changed a couple times in main compiler, gccgo originally support it and CGo functions behave like normal go mod the stack.