Earlier quoted context omitted.
Personally, my biggest beef would be that the go developers specifically stood against generics on account of compiler complexity => slow compiling. It seems they accepted this sacrifice for some other unimportant feature* *edit: Looks as though the feature they sacrificed performance for was writing Go in Go.
> It seems they accepted this sacrifice for some other unimportant feature [writing Go in Go] Writing Go in Go is a huge feature, not an unimportant feature. Writing the runtime in Go means we write the runtime in a much safer language. We found and fixed lots of bugs just by rewriting the runtime. Everybody, every user benefits from this tremendously. Writing the runtime in Go means you can have a precise garbage co…
Golang on ARM
51–60 of 71 posts
Re: Golang on ARM
#52Earlier quoted context omitted.
The way the post you're responding to was phrased is indeed hyperbolic. But I think there is a valid point that compiler performance concerns are a pretty unconvincing reason to not have generics, especially in light of a demonstrated high tolerance for compiler performance regressions.
Why not consult the go faq to find their reasoning for omitting generics? > Generics are convenient but they come at a cost in complexity in the type system and run-time. We haven't yet found a design that gives value proportionate to the complexity, although we continue to think about it. The word performance doesn't appear in that paragraph.
Re: Golang on ARM
#53Re: Golang on ARM
#54Earlier quoted context omitted.
> Writing to LLVM in no way restricts you to a backend. You simply need a language-level IR that you can retarget to different backends as you would like. It still ignores toolchain flexibility. Especially given the specific needs of Go's managed runtime.
[deleted]
Key word being "now".
I think you understood rather well.
Also have a look at the supported architectures paragraph in the documents you linked.
Re: Golang on ARM
#55Earlier quoted context omitted.
Why not consult the go faq to find their reasoning for omitting generics? > Generics are convenient but they come at a cost in complexity in the type system and run-time. We haven't yet found a design that gives value proportionate to the complexity, although we continue to think about it. The word performance doesn't appear in that paragraph.
[deleted]
Re: Golang on ARM
#56Earlier quoted context omitted.
Russ Cox wrote a great comment[1] on HN about why using the Plan9 toolchain rather LLVM or even GCC was a competitive advantage for them in terms of speed to delivery, control, and iteration. "Most importantly, it has been something we understand completely and is quite easy to adapt as needed. The standard ABIs and toolchains are for C, and the decisions made there may be completely inappropriate for languages with…
> For example, no standard ABIs and toolchains supported segmented stacks; we had to build that, so it was going to be incompatible from day one. If step one had been "learn the GCC or LLVM toolchains well enough to add segmented stacks", I'm not sure we'd have gotten to step two." LLVM now supports both segmented stacks [1] and precise garbage collection with patchpoints [2]. Tweaking support for segmented stacks is…
Re: Golang on ARM
#57Re: Golang on ARM
#58Earlier quoted context omitted.
[deleted]
> which LLVM now supports Key word being "now". I think you understood rather well. Also have a look at the supported architectures paragraph in the documents you linked.
Re: Golang on ARM
#59Re: Golang on ARM
#60Earlier quoted context omitted.
What is the problem with solaris/amd64?
../../Sirupsen/logrus/text_formatter.go:28: undefined: IsTerminal The logrus library we use for logging doesn't support Solaris.
https://github.com/Sirupsen/logrus/blob/master/terminal_sola...