Live data from Hacker News

Viewing profile — typical182

typical182

HN member
Joined
Tue, Sep 03, 2019, 7:01 PM UTC
HN karma
674
Public activity
96 items

About typical182

No profile information was provided.

Recent public activity

  1. 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…

  2. 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 …

  3. 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…

  4. 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…

  5. 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…

  6. story
  7. 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…

  8. 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…

  9. 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…

  10. story
  11. comment
    Comment #46294258

    Draft 1.26 release notes: https://tip.golang.org/doc/go1.26

  12. story
  13. 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…

  14. 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…

  15. story
  16. 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…

  17. 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,…

  18. story
  19. 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…

  20. 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 …

  21. 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 …

  22. 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…

  23. 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…

  24. 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' …

  25. 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…