Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yvt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
yvt
2y ago
Offset allocator: https://github.com/yvt/xalloc-rs/blob/master/src/tlsf.rs Don't mind the mess, it's one of my earliest works in Rust. General-purpose allocator: https://github.
2.
▲
by
yvt
2y ago
I did this too! Except it was based on the original TLSF paper (on which this work is based) as I wasn't aware of that offset allocator. > I'm also curious about making something like this work as a general purpose allocator (a
3.
▲
by
yvt
5y ago
Same in Japan and legally enforced.
4.
▲
by
yvt
6y ago
Technically, 32-bit fixed-point numbers have 8-bit more precision compared to 32-bit floating-point numbers, but the real problem is it's quite cumbersome to fully utilize the precision offered by fixed-point numbers as you'd have
5.
▲
by
yvt
6y ago
> Your retained-mode GUI framework isn't doing dirty rectangles anymore anyway; it's going to redraw everything anyway. Does this refer to the one presented in the top-level comment or a retained-mode GUI framework in general (