2 ms·
You can get the semantics of coroutines and no parallelism by setting GOMAXPROCS=1, either via environment variable or set in the program initialization.
by karmakaze 4y ago
You can get the semantics of coroutines and no parallelism by setting GOMAXPROCS=1, either via environment variable or set in the program initialization.
- fathyb 4y agoIt would remove the benefit of running on Go. It would be less efficient than v8 + libuv because your TypeScript on Golang runtime wouldn't be as fast as v8 + JIT to run the application code which is now written in a language built for dynamic dispatch.