lepoulsdumonde.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Small french Mastodon instance for friends, family and useful bots

Administered by:

Server stats:

52
active users

#rustlang

188 posts30 participants29 posts today

Garage - An open-source distributed object storage service

Does any of you know about this and also use it professionally and if so in what context and how? Honestly, I'm standing up a little.

📦 garagehq.deuxfleurs.fr

garagehq.deuxfleurs.frGarage - An open-source distributed object storage serviceAn open-source distributed storage service you can self-host to fullfill many needs.

When I started writing a tiling simplex noise function in #RustLang two weeks ago, it ran in about 100 milliseconds for a block of 2048×2048 pixels.

Now it runs in 1.3 milliseconds. That's 13 GB/s throughput; maybe memory is even the bottleneck now.

Lessons learned:
- AVX2 is awesome
- simdeez makes it relatively easy to use
- simdnoise is damn clever
- iterators are slow
- collecting into a Vec first is faster
- iterating over coordinates manually is the fastest
- rayon is awesome

I kind of with #Rust #RustLang canonical formatting would put a space after the boolean not operator (!). In other words:

if ! filename.exists() {...}

instead of

if !filename.exists() {...}

This would make the negation a little easier to spot.

I don't wish this hard enough to even check if it's been discussed, never mind make a formal proposal. I'm just waiting for my test run to finish.

Replied in thread

here's a video of #taggart resizing columns using docs.rs/unicode-width/latest/u to cut the string at the correct locations!

still doesn't save, still crashes on backspace, but at least it looks cute now! next - make it save tags, thanks to docs.rs/lofty (as recommended by codeberg.org/Frieder_Hannenheim), and that'll probably be the v0.1

TrimString and TrimStringRef are now available in the underlying framework, #tengri. all work on this precipitates into #tek, the original #tui #daw 😉

ual updates

This is the ual way:

ual 1.3 spec

Error Stack Mechanism

Typed Stacks

Ownership Mechanism

Defer Stack Mechanism

Stack Perspectives

Concurrency Model

Stack Slicing and Segment Borrowing

#ual#forth#rustlang