Live data from Hacker News

Viewing profile — graphitemaster

graphitemaster

HN member
Joined
Wed, Aug 14, 2013, 1:21 PM UTC
HN karma
72
Public activity
20 items

About graphitemaster

No profile information was provided.

Recent public activity

  1. comment
    Comment #46469182

    To add, Go has nil pointers which lead to panics when de-referenced. No one would call Go memory unsafe for this behavior likely because it's a "panic". The thing is, the 0 address…

  2. comment
    Comment #46469079

    I mostly agree. Null pointer de-references aren't a dominant or hard-to-detect failure mode for my code either. Removing them does meaningfully complicate language design and ergon…

  3. story
  4. story
  5. comment
    Comment #29770068

    In this case the problem is more specifically the use of uint32_t. I never quite mentioned in the article that if you're going to use unsigned integers for this sort of thing to al…

  6. comment
    Comment #29769415

    Author here. I believe many of the complaints here are concerned about what is more common rather than what is universally better over all possible inputs which is actually the poi…

  7. story
  8. story
  9. story
  10. comment
    Comment #12642090

    ~2 years ago I golfed a 15 line hash table for fun and it got some traction here; I figured maybe this would also get some traction too ;)

  11. story
  12. comment
    Comment #11559448

    On desktop NV and desktop AMD I've observed (at least on Linux) via /proc/self/maps, that the pointer returned by glMapBuffer is a shared memory mapping owned by libGL. Further ins…

  13. story
  14. comment
    Comment #7927054

    With things like PaX the trampoline method won't work, gcc now creates thunks, which are essentially heap allocated thunks of memory (hence the name) with PROT_EXEC.

  15. comment
    Comment #7927013

    Correct, the problem is to call the function you cannot treat it as a standard function since it's pointing to a struct, the struct does contain the actual function pointer but the…

  16. comment
    Comment #7926960

    Lambdapp inserts #line directives into the source code, compilers are required to respect those directives and utilize them when producing debug sections in the binary. For instanc…

  17. comment
    Comment #7926813

    Nope, they're an ObjectiveC object with some specialties at the compiler level. Google how they're implemented.

  18. comment
    Comment #7926636

    The problem with clang blocks is they're represented as a Objective-C object, this makes them unusable in APIs that expect a function pointer, the only way you can cast them to a f…

  19. comment
    Comment #7926331

    If you look at Redroid (a project which makes extensive use of lambdapp) you'll see how map/list/etc can take advantage of this https://github.com/graphitemaster/redroid hashtable.…

  20. story