home.social

#rustland — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rustland, aggregated by home.social.

  1. I started a big _big_ BIG refactoring of my pet project and... holy crap, I am rewriting most of it.

    But that's a learning process, right? I am getting a clearer and clearer image of how to build what I wanna build, and am slowly (very slowly) getting there, I suppose...

    #rust #rustland #developement #softwaredevelopment #floss #opensource #opensourcesoftware

  2. Update: I need more coffee, the error was not from redis at all :( Fixed now.

    Dear #rustland #rust folks in the timeline, in a simple #docker / #podman compose case, my rust #redis client can not connect to the redis server with the following error:
    `Error: Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" }` I am using `redis://redis:6379` as connection string. It works via redis-cli command line in the same container. Any tips?

  3. Carried on the work with #simd I've been doing recently

    I've ported over the vocoder effect I built to web synth to use #wasm SIMD, now that it's supported in Safari

    Changed the underlying chains of biquad filters used by the #dsp to use struct-of-arrays rather than array-of-structs, and apply 4 at a time

    Good for a very dramatic perf improvement, at least 5x but I didn't do fine-grained measurement

    Built with #rust #rustland #webassembly #webaudio

  4. When using #VSCode to write #Rust following the examples in the #RustLand book I type this:

    let mut guess = String::new();

    but the editor displays this:

    let mut guess: String = String::new();

    With the extra ": String" with a grey background colour, it can't be edited, the cursor skips it.

    Obviously a hint/lint. But it just wasn't doing it and I'm not sure what I changed so that it started.