Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
synthetigram
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
synthetigram
3y ago
You might be correct, but it's not obvious to me unsafe is really faster. I recall reading that using unsafe invalidates most of the other optimizations because it's opaque to the JIT what you are doing. Also, if there are BCE o
2.
▲
by
synthetigram
3y ago
This problem is not going to go away so easily. Numerous core Java classes (like BufferedInputStream) use synchronized. I count 1600+ usages in java.base. The blocking issue means it's _much_ easier to accidentally run into this,
3.
▲
by
synthetigram
3y ago
After exploring a few constant access serialization formats, I had to pass on Capn Proto in favor of Apache Avro. Capn has a great experience for C++ users, but Java codegen ended up being too annoying to get started with. If Capn Proto
4.
▲
by
synthetigram
3y ago
The StreamObserver API came at a time (2015) when it seems liked RxJava was going to take over. That didn't end up happening, but the API is still around. While it is more cumbersome, some things are /impossible/ to do wit
5.
▲
The Treacherous Optimization
(ridiculousfish.com)
2 points
by
synthetigram
3y ago
|
0 comments
6.
▲
by
synthetigram
3y ago
This is impractical a lot of the time. There are a class of problems where you want to put 2^N + 1 possible values in an N bit container, and it won't ever fit cleanly. Null is that 1 extra value that won't fit cleanly. Another
7.
▲
by
synthetigram
3y ago
What isn't clear to me is why tail calls need to be implemented in WASM, rather than in the compiler? The post linked to Josh Habermans post on tail calls, which show how tail calls can help the compiler decide where to inline (cool
8.
▲
by
synthetigram
4y ago
> After the quarterly report on October 27, nothing better can be expected. How to tell an article is written by a hedge fund shorting the company.
9.
▲
by
synthetigram
4y ago
Cloudflare is great at blogging about technologies Google pioneered.
10.
▲
by
synthetigram
4y ago
Reputation systems should be based on /abuse/, not on automation. I also ended up on the naughty list for running an archival scraping program. Trying to preserve part of the Internet is apparently against the rules. It'
11.
▲
by
synthetigram
4y ago
Cloudflare has mixed up the definitions of "bot" and "abuse". Tor users may or may not be bots, but as long as they don't abuse (spamming or DoS), they ought to be treated the same.