Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
claytonwramsey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
claytonwramsey
3y ago
I know of a lot of people trying to do "arena" GC in Rust using integer indices. I think that's an excellent approach, but it does mean you have to pass in the arena as a resource to every single function which produces an al
62.
▲
by
claytonwramsey
3y ago
That's an interesting idea. Can you clarify some more on what the baseline memory model should be, if not a graph?
63.
▲
by
claytonwramsey
3y ago
The big reason why this library exists is so that downstream consumers can be entirely memory safe in their allocations - it's the same way that the Rust standard library works. Library writers can use unsafe code to provide safe abstr
64.
▲
by
claytonwramsey
3y ago
That's really cool! Thanks for the kind words. I remember peeking at it while hunting for collectors to benchmark against.
65.
▲
by
claytonwramsey
3y ago
This is correct, thank you. I'll fix it shortly.
66.
▲
I built a garbage collector for a language that doesn’t need one
(claytonwramsey.github.io)
320 points
by
claytonwramsey
3y ago
|
144 comments
67.
▲
by
claytonwramsey
3y ago
Here's the actual paper that was summarized in the OP: https://arxiv.org/pdf/2307.01850.pdf The paper is quite approachable and worth a quick scan. In essence, reusing output from previous generations results in r
68.
▲
by
claytonwramsey
3y ago
It's explained in the video. Rat neurons are more than enough for this application and are much cheaper to come by.
69.
▲
by
claytonwramsey
3y ago
Never mind, it seemed to be a temporary outage. Here's an archive of the original post this paste claims to source from: https://web.archive.org/web/20230710192244/https://semianaly... The authors o
70.
▲
by
claytonwramsey
3y ago
I checked both of the linked sources and they no longer exist. In fact, the site linked at the bottom of the paste wasn't even reachable for me. Yam Peleg's LinkedIn post appears to have been deleted, and even if it still existed,
71.
▲
by
claytonwramsey
3y ago
There is significant evidence that Neanderthals lived in communities which supported each other, even when they were wounded. Most notably, Shanidar 1 [1] was found with hearing loss, a severed (yet healed!) arm, and broken legs, indicating
72.
▲
by
claytonwramsey
3y ago
The fastest way to learn how to make machinable parts is to machine them yourself :). DFM is often a hard-earned skill. Unfortunately maker-spaces (the only kinds of places where you could get cheap access to good 3+ axis CNC mills) seem to
73.
▲
by
claytonwramsey
3y ago
It is! I tried using `static` as a test, and benchmarked the engines against each other. The final result was that a `const` lookup table yielded +19 Elo over dynamic magic generation, while a `static` one yielded only +10 in a tournament b
74.
▲
by
claytonwramsey
3y ago
I'm the original author. Thank you!!!!
75.
▲
by
claytonwramsey
3y ago
I thought about that. The big benefit of using `const` here is that I can lean on my existing abstractions (e.g. Bitboard, Square, Direction) which I was already using in the engine. In order to use those abstractions in `build.rs`, I wou
76.
▲
by
claytonwramsey
3y ago
Hi, I'm the original author! This is my first post. I might talk more about chess engines in my blog in the future... Some background: I taught a class on chess engines this spring (at some point, I'll write up a postmortem on it,