Viewing profile — graphitemaster
graphitemaster
HN member- Joined
- Wed, Aug 14, 2013, 1:21 PM UTC
- HN karma
- 72
- Public activity
- 20 items
- HN profile
- View on Hacker News ↗
About graphitemaster
No profile information was provided.
Recent public activity
-
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…
-
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…
- story
- story
-
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…
-
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…
- story
- story
- story
-
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 ;)
- story
-
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…
- story
-
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.
-
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…
-
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…
-
comment
Comment #7926813
Nope, they're an ObjectiveC object with some specialties at the compiler level. Google how they're implemented.
-
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…
-
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.…
- story