this post was submitted on 28 Feb 2026
7 points (88.9% liked)

Rust Programming

9189 readers
7 users here now

founded 6 years ago
MODERATORS
 

Hi everyone! I want to introduce a project that I’ve been working on for 6 days with ARandomOSDever. It currently has only a few layout functions: Spacing, Direction (Row, Column), Padding, Margin, Min/Max Size, Align, and it already supports no std. I’m sharing this with you to get feedback, both good and bad. I would really appreciate your thoughts

GitHub repo: https://github.com/dest-hq/axes

Crates: https://crates.io/crates/axes

I’m not entirely sure, yet why Axes performs faster than Taffy, maybe it’s because Taffy has many layout functions that affect performance.

Here’s a benchmark (Axes 0.2.0 vs Taffy 0.9.2).

| Benchmark | Axes | Taffy | Difference | |


|


|


|


| | Tree: 1,000 Nodes | 15.889 µs | 89.114 µs | 460.853% | | Tree: 10,000 Nodes | 1.1744 ms | 1.0698 ms | -8.90668% | | Tree: 100,000 Nodes | 8.7379 ms | 33.083 ms | 278.615% | | Compute: 1,000 Nodes | 17.423 µs | 39.317 µs | 125.661% | | Compute: 10,000 Nodes | 176.51 µs | 446.35 µs | 152.875% | | Compute: 100,000 Nodes | 1.7988 ms | 14.976 ms | 732.555% |

Hope you have an awesome day

all 3 comments
sorted by: hot top controversial new old
[–] BB_C@programming.dev 2 points 1 week ago (2 children)

Were those nonsensical Difference percentages obtained via an existence that claims intelligence by any chance?

[–] TehPers@beehaw.org 2 points 1 week ago

There are enough grammatical errors for me to assume incompetence over malice here. In either case, the percentages were clearly calculated incorrectly, and I'd question the results and want to verify them myself.