kornel

joined 1 year ago
[–] kornel@programming.dev 1 points 11 months ago

This is literally a huge pile of batteries that can charge at any rate at any time. It can soak the noon peak of solar, it can sip late night wind.

[–] kornel@programming.dev 3 points 1 year ago

Happy to see Rust’s standard library near the top in performance. It’s nice to have a good implementation out of the box.

[–] kornel@programming.dev 1 points 1 year ago (2 children)

With the justification being "I can't be bothered to decide what is breaking/feature/patch", so hey, here's a tool to tell you.

[–] kornel@programming.dev 14 points 1 year ago

Generally yes.

GIF's ancient LZW compression is remarkably ill-suited for modern CPUs, and more expensive than modern algorithms. Combined with significantly larger file sizes, it costs much more to decode, on top of increased costs of transfer and caching.

GIF might have an edge if the animation is very small (<16px, few frames).

It also gets messy if you need to play hundreds of animations. GIF will be terribly inefficient, but also browsers aren't designed to have hundreds of video elements, so both will eat memory in their own way, and it will vary which is worse.

[–] kornel@programming.dev 2 points 1 year ago

It's nice they're moving away from libgit2.

This dependency made rustsec library unusable in any project that used any other version of libgit2, and libgit2 kept making incompatible releases causing fragmentation, churn, and conflicts.