Better HN
topnewbestaskshowjobs
Log inSign up

diegobernardes

19 karma · joined Sep 1, 2014 (12y ago) · 7 submissions

Submissions

comment 2y ago · link · parent

Go is known by the speed of it's compiler, doing extra work during the compilation would slow it down. I would not mind either to have a "release" flag that would take minutes and produce a more optimized binary.

comment 6y ago · link · parent

Too bad that Nix don't work with fish shell

comment 6y ago · link · parent

This means that the threads can't be blocked forever. The way Go scheduler work is to check during function calls if the current goroutine has executed for some period of time, after that the scheduler will remove the goroutine from the thread and open space for other goroutines to execute. But if you're doing a loop without function calls, imagine a for {}, in this case, the thread will be locked forever. Now with 1.14, this don't happen anymore. In my opinion the expected result will be better tail latencies.

4.

PipeHub: Programmable Proxy Server(github.com ↗)

5 points · by diegobernardes · 7y ago · discuss

5.

Flare: API notification service(github.com ↗)

2 points · by diegobernardes · 8y ago · discuss

comment 9y ago · link · parent

Really can't understant why Lua isn't more used. It play the same role as Ruby, Python and JS and is very fast, at least, much more then Ruby and Python.

comment 12y ago · link · parent

You are mainly talking about web development. Golang is young and we dealt with the same problems at earlier versions of ruby and rails. But, outside web development, in most of my needs, golang was a better choise than ruby. Saved some servers running golang instead of ruby and had cut significantly the month cost of my startup.