HNHacker News
TopNewBestAskShowJobs

superdimwit

210 karma · joined April 9, 2018

submissionscomments
superdimwit··on Parsing protobuf at 2+GB/s: how I learned to love tail calls in C (2021)
Thanks!
superdimwit··on Parsing protobuf at 2+GB/s: how I learned to love tail calls in C (2021)
Clang recently got a new calling convention that makes these tail calls much cheaper (avoids the need for the caller to preserve some registers). I can never remember the name - it’s either preserve_all or preserve_none (whose perspective is the preservation from?).
superdimwit··on Squeezing a Little More Performance Out of Bytecode Interpreters
https://eli.thegreenplace.net/2012/07/12/computed-goto-for-e...

is a good summary

superdimwit··on Squeezing a Little More Performance Out of Bytecode Interpreters
On 1: this small amount of overhead matters because the amount of work you do on each opcode can be tiny. The extra jump could be 20% of your runtime! On 2: yes, this helps the indirect branch target predictor. In a real program you’ll often get repeated sequences of opcodes (increment, then compare) that can be predicted. These branch predictors can be pattern based.
superdimwit··on Emerging Rust GUI libraries in a WASM world
Try dear-imgui + implot. There are Python bindings
superdimwit··on Om is a novel, maximally-simple concatenative language
There’s a Hello World on the page
superdimwit··on C++20, How Hard Could It Be
30 years?
superdimwit··on C++20, How Hard Could It Be
Agreed, autovec is in my experience where clang really shines.
superdimwit··on SPAs: theory versus practice
Disappointed this wasn't an article about bath houses
superdimwit··on The true cost of linked lists
One nice property is their stable addressing. A linked list element won't move once allocated.
superdimwit··on Algorithms for Modern Hardware
Amsterdam is good for options market making, most of the techniques in this book come up a lot in trading
superdimwit··on Why introduce `std::launder` rather than have the compiler take care of it?
reinterpret_cast comes up a lot when handling binary protocols - e.g. reading a message struct off a buffer / packet. How would this be handled in Rust or otherwise without copying the data?
superdimwit··on Julia's multiple dispatch explained with Pokemons
You can just define a generic fallback method like `eff(p, d1, d2) = eff(p, d2, d1)`
superdimwit··on It’s Not Always iCache
Could a difference in alignment of the hot loop also have an effect here?
superdimwit··on Concise algorithms written in Julia
QR, Cholesky
superdimwit··on Julia: Faster than Fortran, cleaner than Numpy
I most often need to restart the REPL when redefining structs.
superdimwit··on Stonks Are What You Can Get Away With: NFTs and Financial Nihilism
If they don't, and can't demonstrate that they're doing something else useful with that money, investors get angry and fire the board.
superdimwit··on Julia 1.6 addresses latency issues
I am hopeful that Julia should be able to get this cross-session caching of compiled code. Would make restarting the REPL (to e.g. add a field to a struct) much less frustrating.
superdimwit··on Plotting the source code “TODO” history of the most popular open source projects
even better, don't leave it as a comment. Leave it uncommented, as a syntax error, so when you try and run your code on Monday morning you are reminded of it!
superdimwit··on Branch predictor: How many “if”s are too many?
Big if/else lists will often get compiled into a jump table anyway.
superdimwit··on An opinionated map of incremental and streaming systems
Go Channels?
superdimwit··on “Buy and Hold” No More: The Resurgence of Active Trading
ARKK is far from passive
superdimwit··on Julia 1.6 Highlights
A low-latency GC would also be great. But again, the JVM only has that due to many millions of dollars spent over decades.
superdimwit··on Julia 1.6 Highlights
In your experience, what are the current limitations?
superdimwit··on Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
Who writes the third party library, though?
superdimwit··on I wrote one of the fastest DataFrame libraries
It does look like the benchmarks include compilation time.
superdimwit··on I wrote one of the fastest DataFrame libraries
You can memory map Arrow
superdimwit··on Show HN: FAANG.io – Engineering jobs from FAANG in one spot
or a husband?
superdimwit··on Reflections on IDEA vs VS Code
Exactly, and I don't see how it would work any less well in a to café than VScode remote SSH.
superdimwit··on Launch HN: Alinea (YC W21) – Invest in stocks you believe in
It's also the name of a very popular french furniture chain
Page 1 of 3Next →