related to switching to regular stack on each external API call. It seems
to me that the growable stacks of go routines, which are great for
asynchronous (parallel) servers, are no good for other purposes such as
programming games or writing regular desktop applications, that require
calling some external API a lot. Effectively can make such Go app to spend
most of the time on converting back and forth to growable stack.
So I am wondering if it would make a sense to provide kind of "standard
stack" build (linker?) mode, disabling growable stack feature altogether
for built binary, so external, eg. OpenGL, API calls are basically
toll-free, but use of many coroutines is limited, because the standard
stack is simply to big to handle many (thousands) of coroutines.
If I understand correctly, adding stack check preamble to every function is
a Go linker, not compiler, feature, so such "-standard-stack" option would
not require having separate packages in pkg/ for growable and standard
I am sorry if it was already discussed previously, but couldn't find such
discussion here on golang-dev.
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.