738 karma · joined Oct 15, 2013 (13y ago) · 478 submissions
comment 11y ago · link · parent
Like sanjoy points out though: https://news.ycombinator.com/item?id=9856234 RC could involve atomic increment/decrement. I haven't seen any macro benchmarks about ARC performance vs manual memory management and/or GC.
I've seen anecdotes like http://stackoverflow.com/questions/12527286/are-there-any-co... or microbenchmarks (from the same page) but nothing at a larger scale.
comment 11y ago · link · parent
With Moore's law possibly ending and current memory access speeds though, it may be starting to matter a lot moore.
comment 11y ago · link · parent
Of course, when you end up with some standards-driven monstrosity like a modern web browser, you do seem to have a lot of unnecessary abstraction layers and also it's slow.
comment 11y ago · link · parent
I hope that someone really does make an online IDE that means I don't have to use a local IDE anymore, but I'm not certain how feasible that is. Atom seems like a giant step in the right direction.
comment 11y ago · link · parent
comment 11y ago · link · parent
One thing that I think is missing is having a code description of how things work. If you can present shaders as for loops over the input vertices or pixels, it might be more clear than just a bunch of diagrams. I had to write my own rasterizer in order to get a decent idea of how it worked.
Another that might be missing is the state possessed by OpenGL. The linked guide calls it a state machine but there's no state machine diagram or anything. Just having a list of the most common OpenGL state and a way to print it all out might be nice. I've had a lot of bugs (like not setting glViewport or having the wrong GL_RENDERBUFFER bound) that would probably be easier if I could see the current OpenGL state or even know that GL_RENDERBUFFER wasn't changed by GL_FRAMEBUFFER.
comment 11y ago · link · parent
The idea that "serious programming" means abstract data structures or coding in assembly is weird to me. I would consider a lot of people serious programmers who, while they may know how to do those things, don't actually do them almost ever.
comment 11y ago · link · parent
With the EM spectrum for instance, the unlicensed 2.4GHz and 5GHz bands have been pretty useful. Google actually tried to get the 700 MHz spectrum (in the 2008 auction) licensed in a way that would probably benefit consumers quite a bit, though I'm not sure how well that worked. It's odd that Google had to do that when it's ostensibly the government's job to ensure good use of this limited natural resource, but I think the idea was good.
comment 11y ago · link · parent
comment 11y ago · link · parent