Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eldenring
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
eldenring
4y ago
The benefit of parser combinators is that they allow you to write "tree shaped code" to parse a syntax that doesn't map cleanly to a tree, ex: a c-style syntax. My argument was that if the article wanted to show off the rust
122.
▲
by
eldenring
4y ago
It seems dirty to use parser combinators and a tokenizer generator for lisp instead of just... writing the parser. That's part of the beauty of lisp. Maybe a different syntax would have fit this sort of post better.
123.
▲
by
eldenring
4y ago
Unfortunately there is no ecosystem. Helix does not provide an extension interface.
124.
▲
by
eldenring
4y ago
I don't think the lifespan of a GPU is much of a bottleneck at all. If anything, for the last couple generations, GPUs have been in a race to get as much use out of them, before their generation becomes obsolete to Moore's law.
125.
▲
by
eldenring
4y ago
Its a bit too easy with the mistakes being accepted. You can just finish a word randomly if you're worried about dying. Can you add a way to only accept correct words? maybe dying if the word is not real.
126.
▲
by
eldenring
4y ago
I see people saying this all over the internet, but for the entire history of AI, Machine Learning has either been the only, or the most effective method by far of solving actual problems. Everyone who thinks otherwise should read this. ht
127.
▲
by
eldenring
4y ago
Bump allocators are incredibly fast, and are super efficient in generational GCs where compaction is super cheap, however almost all (maybe all) modern languages don't usually cross kernel boundaries when allocating memory, including C
128.
▲
by
eldenring
4y ago
I think you're missing the point of the previous comment, they are saying a good proxy for it being worth it to optimize, is if you're willing to benchmark it.
129.
▲
by
eldenring
4y ago
Not 100% sure what they mean, but a lot of the api choices really try to make indexing decisions explicit. ex: Bounds::Excluded and iterators like the other commenter mentioned.
130.
▲
by
eldenring
4y ago
When market making its not really possible to lose 200k in a "black swan event" in regards to price movements. A software error on the other hand...
131.
▲
by
eldenring
4y ago
writing to the DOM is slow, you use VDOM to batch updates and other optimizations
132.
▲
by
eldenring
5y ago
There's really only like 2 trillion galaxies in the observable universe which isn't that much more than the number of neurons.