Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dsymonds
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
dsymonds
12y ago
Per http://golang.org/s/go14android , apps that don't need the Android UI (e.g. if it's only using OpenGL) should not need Java and could be written in pure Go.
122.
▲
by
dsymonds
12y ago
This is a good read, though it curiously omits mentioning that the NSA's twiddling of DES's S-boxes turned out to have made DES stronger rather than weaker. That seems like a pretty important note in the story. ( http://
123.
▲
by
dsymonds
12y ago
Go contributors will not be pushing to the GitHub repository, nor will have direct commit access to the Gerrit hosted git repository.
124.
▲
by
dsymonds
12y ago
In Go's case, we will be using Gerrit (elsewhere) for accepting submissions. GitHub will only be used as a source code mirror, wiki and issue tracker.
125.
▲
by
dsymonds
12y ago
You got downvoted (presumably; I don't have such powers) because you took this off-topic (Go's type system has nothing to do with what version control system is used for its development). What's the point of HN karma if you c
126.
▲
by
dsymonds
12y ago
I just asked him in person. He has.
127.
▲
by
dsymonds
12y ago
I think you mean s/ignorance/rejection/.
128.
▲
by
dsymonds
12y ago
What precisely is it about Go's syntax that you dislike?
129.
▲
by
dsymonds
12y ago
There's a significant speed hit to reflection, but it's going to get lost in the noise if you're making HTTP requests.
130.
▲
by
dsymonds
12y ago
The higher level primitives that Go provides aren't suitable to be used when implementing the runtime. The subset of Go suitable for runtime implementation is pretty close to C in most respects.
131.
▲
by
dsymonds
12y ago
That section is talking about typing. In that sense, a typed constant obeys all the [type] rules of typed values in Go. It's true that dividing by zero is different, but there's lots of other more obvious ones, such as a typed val
132.
▲
by
dsymonds
12y ago
It's interesting that this is one of the things that Go and Rust have agreed upon: that the addresses of zero-sized values are the same (in Go we spell a zero-sized type as "struct{}"). It has some unexpected surprises though
133.
▲
by
dsymonds
12y ago
gccgo sometimes produces faster code than gc, but not always. So no, there's no plans to replace gc with gccgo.
134.
▲
by
dsymonds
12y ago
Those numbers are also for a current average $1k computer; a faster computer would naturally lower those numbers.
135.
▲
by
dsymonds
12y ago
A lot of the "format" for many storage systems is effectively encoded in the hardware (e.g. the speed of a stepper motor, or some thresholding in a signal filter), so short of using, say, an electron microscope there's no way
136.
▲
by
dsymonds
12y ago
It really is a foreign world to me where a loop is considered a "verbose idiom".
137.
▲
by
dsymonds
12y ago
Several security protocols (e.g. Kerberos) depend on systems having a somewhat reliable clock. They'll issue some sort of authentication token on system A that a user is meant to present to system B; the token has some expiry time, and
138.
▲
by
dsymonds
12y ago
That's a common trope, but it doesn't make sense. We don't call the New York Times an advertising company simply because the majority of its revenue comes from ads. Why apply the same standard to Google?
139.
▲
by
dsymonds
12y ago
Several of the initial Go designers were doing "systems programming" in the 1960s under the exact same meaning. I'd also s/didn't actually care/got confused/ in your last sentence too.
140.
▲
by
dsymonds
12y ago
The answer to your first beef is that it would complicate the specification unnecessarily. You would suddenly have to provide a lot more details in the language spec, such as defining what capabilities a filesystem must provide, environment
141.
▲
by
dsymonds
12y ago
Sure. I didn't mean to imply a good distributed FS was unnecessary or easy. Just saying that MR isn't easy.
142.
▲
by
dsymonds
12y ago
MapReduce is difficult to implement well. It's just ironic that the hard part is the part that's not in the name: the shuffle phase.
143.
▲
by
dsymonds
12y ago
Though it seems to be quoting Urs accurately enough. All I can guess is that he meant MR isn't used for some particular context. MR is most definitely still heavily used inside Google.
144.
▲
by
dsymonds
12y ago
"Onerous"? Of all the Go source code on GitHub, there was only one place where an /internal/ path component wouldn't have the desired effect of this change. If you're talking about using this feature with exist
145.
▲
by
dsymonds
12y ago
This is not a language change. It is a new convention enforced by a standard build tool. The compilers/linkers are not affected, nor is the language specification.
146.
▲
by
dsymonds
12y ago
Suggesting "retconning" here makes no sense. You said the Go team "[designed] the language in public". I pointed out that there's only a small amount of difference between the first public unveiling of Go and its cu
147.
▲
by
dsymonds
12y ago
Meh, I can't see anyone honestly getting confused between the two. Apple's HealthKit ( http://www.apple.com/ios/ios8/health/ ) is for developers to work with, and this other HealthKit ( https:/&#
148.
▲
by
dsymonds
12y ago
The Go team has admitted several errors publicly (e.g. var binding for range loops, some standard library design) on multiple occasions. Those errors won't be changed because we consider preserving backward compatibility more important
149.
▲
by
dsymonds
12y ago
This is a dupe from January of this year. Here's the discussion from then: https://news.ycombinator.com/item?id=7024488
150.
▲
by
dsymonds
12y ago
Have you seen https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris... ? It's a well-known parody, but one could also say it's "obviously written to a high standard", for some definitions of &
More ›