perf and pprof.
> and the world would certainly be a better place if everybody coding C or Go switched to Rust Perhaps. Let's engage in a thought experiment. Sorry for moving slightly off-topic, but the line I quoted made me think…
It's up to the application author in that case, unfortunately. stat() enters the kernel and resolves in one shot, so it requires a whole thread. I haven't read into it very carefully, but on Linux, perhaps the new…
The most important property of Go for me is that the language is not red/blue. [1] This enables I/O interfaces to be truly universal, covering just about everything from files on disk, to pipes, to in-memory buffers, to…
I've used OpenGrok for this in the past. These days, I like to run it in a container, so I don't have to deal with Java and Tomcat myself.
Sub-1ms STW pauses, even for very large heaps.
I like my HTTP package to actually speak as good an approximation of HTTP as it can, so fasthttp wouldn't be my first option. Furthermore, the HTTP stack doesn't show up on most web servers' profiles. net/http is better…
It opens a ~190 MB JSON file[0] in about 2 seconds on my machine. Scrolling and jumping around the file feels very smooth. Editing is also crisp. Writing the file back to disk takes about as long as opening it. [0]:…
I use GOPATH=$HOME. All the code (Go and other languages) lives under $HOME/src.
Under certain conditions, it does not. https://golang.org/pkg/net/#hdr-Name_Resolution
Balance (194) ^<.*>$|^<<.*>>$|^<<<.*>>>$
perf and pprof.
> and the world would certainly be a better place if everybody coding C or Go switched to Rust Perhaps. Let's engage in a thought experiment. Sorry for moving slightly off-topic, but the line I quoted made me think…
It's up to the application author in that case, unfortunately. stat() enters the kernel and resolves in one shot, so it requires a whole thread. I haven't read into it very carefully, but on Linux, perhaps the new…
The most important property of Go for me is that the language is not red/blue. [1] This enables I/O interfaces to be truly universal, covering just about everything from files on disk, to pipes, to in-memory buffers, to…
I've used OpenGrok for this in the past. These days, I like to run it in a container, so I don't have to deal with Java and Tomcat myself.
Sub-1ms STW pauses, even for very large heaps.
I like my HTTP package to actually speak as good an approximation of HTTP as it can, so fasthttp wouldn't be my first option. Furthermore, the HTTP stack doesn't show up on most web servers' profiles. net/http is better…
It opens a ~190 MB JSON file[0] in about 2 seconds on my machine. Scrolling and jumping around the file feels very smooth. Editing is also crisp. Writing the file back to disk takes about as long as opening it. [0]:…
I use GOPATH=$HOME. All the code (Go and other languages) lives under $HOME/src.
Under certain conditions, it does not. https://golang.org/pkg/net/#hdr-Name_Resolution
Balance (194) ^<.*>$|^<<.*>>$|^<<<.*>>>$