Viewing profile — emerson_clarke
emerson_clarke
HN member- Joined
- Sun, Jul 18, 2010, 4:19 PM UTC
- HN karma
- 13
- Public activity
- 9 items
- HN profile
- View on Hacker News ↗
About emerson_clarke
No profile information was provided.
Recent public activity
-
comment
Comment #15081094
This would not work for floating point arithmetic in computing. The order in which you perform a calculation changes the outcome, since not every number can be precisely represente…
-
comment
Comment #7974590
This reminds me of a kind of intelligence scale ive seen before: First there are stupid people, and then there are stupid people who know they are stupid, then there are smart peop…
-
comment
Comment #7817928
The stack head pointers can be swapped and flushed without knowing how much data is in it. However, if you need to know the count/size... Then in general you must accept that the c…
-
comment
Comment #7817062
Im sure im not the first to have done something like this for logging or buffering in general, but im not aware of any writeups. Information on lock free data structures and the ca…
-
comment
Comment #7816979
I think you misunderstand the CAS operation. It performs an atomic compare and swap on a pointer (32 or 64 bits), so obviously it requires no coordination to switch out the head po…
-
comment
Comment #7816590
Unfortunately no, thus far i have only implemented it in a commercial context as part of a high frequency trading system.
-
comment
Comment #7816068
Another approach is just to use two stacks, one for writing and one for flushing. User threads write log lines directly to buffers from an allocator usually via a TLS mediated stre…
-
comment
Comment #1526122
I just put a similar response in another post, but its just as appropriate here... If you want to know how C++ can be better, you should take a look at at the Reason C++ framwork, …
-
comment
Comment #1526094
If your currently in an apoplectic fit as to why people don't love C++, const correctness, boost, and the standard library, then read no further. For those with a slightly broader …