Viewing profile — typical182
typical182
HN member- Joined
- Tue, Sep 03, 2019, 7:01 PM UTC
- HN karma
- 674
- Public activity
- 96 items
- HN profile
- View on Hacker News ↗
About typical182
No profile information was provided.
Recent public activity
-
comment
Comment #49146107
And to answer the second half of your request, here is that exact same code as above, but now using the 1.27 generic methods feature (with a runnable example using tip at https://g…
-
comment
Comment #49145618
It's not a great example. I think it's trying to show a mapping operation for a generic container where the container values are of one type and the mapping function is allowed to …
-
comment
Comment #49135591
FWIW, I do remember that quote. It doesn't seem particularly damning to me, though, especially written by Russ Cox in hindsight. It's almost a truism that if you had spent less tim…
-
comment
Comment #49135090
> it finally took convincing Philip Wadler (of Haskell and Java generics fame) to help. Without that lucky break [...] Go probably still wouldn't have generics. Small correction, I…
-
comment
Comment #49129462
From what I've seen, I don't think the core Go team was ignoring the lessons of Java or C#. Here's a sample quote from Russ Cox from 11 years ago on this site: [1] We have spoken t…
- story
-
comment
Comment #46546010
Go modules did not get rid of vendoring. You can do 'go mod vendor' and have been able to do so since Go modules were first introduced. How long the google-run module cache (aka, m…
-
comment
Comment #46545615
> They may be an expert in Go, but from their writing they appear to be misunderstanding (or at least misrepresenting) how things work in other languages Thanks for that link. Base…
-
comment
Comment #46370510
There’s some more context in a proposal from the folks behind this project to upstream the needed Go runtime hooks into Go proper. From what I can tell, the core Go team seems gene…
- story
-
comment
Comment #46294258
Draft 1.26 release notes: https://tip.golang.org/doc/go1.26
- story
-
comment
Comment #44888823
The arena experiment was essentially placed on indefinite hold: > The proposal to add arenas to the standard library is on indefinite hold due to concerns about API pollution. I th…
-
comment
Comment #44650890
> The biggest problem is any string you pass as an argument to the fmt functions is moved onto the heap FWIW, that's not quite correct. For example, a string literal passed as a fm…
- story
-
comment
Comment #42118901
Bluesky and atproto seem to be built to be hackable. Someone in the community recently built a searchable directory of Bluesky "Starter Packs" (which are a way for a user to publis…
-
comment
Comment #38875648
> you can simply forbid pointers into the stack. This means that your GC doesn't need to be moving. I believe that's what Go does I might have misunderstood your comment, but FWIW,…
- story
-
comment
Comment #38171970
The “Personal” in PDS doesn’t mean it is only for self-hosting. Bluesky has a main PDS instance at https://bsky.social that serves almost all of the Bluesky user base. There is a g…
-
comment
Comment #38069633
If I understand the question, I think that is rsc.io/unix/v6unix, which is at https://github.com/rsc/unix/tree/main/v6unix : "Research Unix Sixth Edition (v6) kernel written in Go …
-
comment
Comment #36052896
Effectively yes. A fix for the loop variable closure problem is now in the official proposal process, which is how language changes happen in Go. It’s a concrete proposal from the …
-
comment
Comment #36049958
People should essentially never set GOROOT. It's mostly a holdover. For example, Ian Lance Taylor on the core Go team wrote [0] somewhat recently: "It's a special purpose hook that…
-
comment
Comment #36049764
> Generics seemingly split the community. May be some libraries won’t get used because they picked the wrong side. I haven't really observed that at all. One thing that is going on…
-
comment
Comment #36049283
goda[0] is excellent . You do do things like: # show the impact of cutting any package goda cut ./...:all which prints a sorted ASCII table with stats like 'size:4.4MB loc:134171' …
-
comment
Comment #35745379
There is a pretty complete description of the origination of UTF-8 here: https://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt Rob Pike opens with: > Looking around at some UTF-8 b…