|
|
|
|
|
by Leotard6963
994 days ago
|
|
"adapting to the platform" is mostly related to the goroutine topic, as we are working on the js/wasm support and these applications prefer async/await operations. re: goroutines the official go runtime spawns goroutines during program startup, which makes the usage of M:N goruntine mandatory, and they have to call lockOSThread()[1] before initializing packages for certain applications (mostly GUI application). We like the design of goroutines (especially the idea of a `g` register), but `pcz` currently doesn't have goroutine support, and we are making it possible to spawn goroutines with custom allocator (with or without gc) and scheduler attached, so you can chose 1:1, M:N model for goroutines on your own (as decided by the scheduler attached). you can find more details in the project ROADMAP.md[2] [1]: https://github.com/golang/go/blob/352c8835e7609ad72872b5a63b...
[2]: https://github.com/primecitizens/pcz/blob/master/ROADMAP.md |
|