Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
acln
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
acln
6y ago
perf and pprof.
2.
▲
by
acln
6y ago
> 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 about this. Someo
3.
▲
by
acln
7y ago
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 io_uring busines
4.
▲
by
acln
7y ago
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 sockets. T
5.
▲
by
acln
8y ago
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.
6.
▲
by
acln
8y ago
Sub-1ms STW pauses, even for very large heaps.
7.
▲
by
acln
8y ago
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
8.
▲
by
acln
10y ago
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]: https://githu
9.
▲
by
acln
10y ago
I use GOPATH=$HOME. All the code (Go and other languages) lives under $HOME/src.
10.
▲
by
acln
11y ago
Under certain conditions, it does not. https://golang.org/pkg/net/#hdr-Name_Resolution
11.
▲
by
acln
13y ago
Balance (194) ^<.*>$|^<<.*>>$|^<<<.*>>>$