Maintainer of the extension here. Happy to answer any questions about VS Code or the Go support specifically.
How does it play with things like glide, gb, and godeps?
Visual Studio Code for Go
221–223 of 223 posts
Re: Visual Studio Code for Go
#222Maintainer of the extension here. Happy to answer any questions about VS Code or the Go support specifically.
Hi there! I'm giving the Go plugin (latest) for VS Code (latest) a try but I'm not being able to rename code occurrences. "Cannot rename due to errors: Error: Command failed /foo/go/bin/gorename -offset /Users/foo/go/src/github.com/foo/hello/hello.go:#79 -to helloNurse" "rename: -offset \"/Users/foo/go/src/github.com/foo/hello/hello.go:#79\": no identifier at this position" Do I have to do anything specific for it to…
Re: Visual Studio Code for Go
#223Earlier quoted context omitted.
> It's also potentially faster and more efficient than goroutines, because it packs the state to be shared on context switches into what is typically a very tight structure instead of saving the entire stack. A context switch to another goroutine doesn't need to "save the entire stack". The stack is already there. The runtime just needs to keep a pointer to the stack of the suspended goroutine. And the stack is usual…
You have to keep the stack around in memory, as opposed to having a fixed structure. And fixed structures really pull away when you think about allocation: you can use a segregated fit/free list structure, whereas you can't with a variable sized thing like a stack. If the stack starts small and grows, you're paying the costs of copying and reallocation whenever it does: another loss. Allocation in a segregated fit sc…
https://www.usenix.org/legacy/events/hotos03/tech/full_paper...