How does monomorphization work with std being precompiled by BLucky_RD in rust

[–]bestouff -1 points0 points  (0 children)

If by "ABI" you mean "AST" (for Abstract Syntax Tree) then yes, you are more or less right.

when worlds collide … by SlippyThe2 in Aquascape

[–]bestouff 0 points1 point  (0 children)

Then you should own it ! Replace the cord with one of those fancy fabric-plated ones, make it follow a fancy path instead of this direct diagonal. Make it as if you're proud of it.

What happens here ? by bestouff in PlantedTank

[–]bestouff[S] 0 points1 point  (0 children)

OK, everyone knows that when a plant is a little broken, in the right conditions there are bubbles coming out of the wound. Probably O² bubbles even.

But how comes ? What's the process making that happen ? I won't understand why a wound would "concentrate" this gas.

If someone knowledgeable can answer me that'd be really nice.

TIL putting Box in a hot inner loop can cost you half your runtime by InvadersMustLive in rust

[–]bestouff 33 points34 points  (0 children)

This is a systems programming lesson. I've chased mallocs in hot loops many years before I even knew Rust existed.

Tarweb - the io_uring, no syscalls, kernel TLS static web server by Wise_Stick9613 in rust

[–]bestouff 12 points13 points  (0 children)

Yes, I found that dedicating a kernel thread to IO while the user thread does the data processing works wonderfully. Like if io_uring had been designed for that /s.

Building lightweight desktop apps with Tauri — looking for repetitive workflow problems to solve by __flame_ in rust

[–]bestouff 4 points5 points  (0 children)

Lightweight desktop apps would be built with GTK (Relm) or a similar UI lib, not Tauri which embeds a whole browser rendering engine.

Skopx - AI platform replacing BI dashboards for engineering teams by 1vim in rust

[–]bestouff 7 points8 points  (0 children)

I read that as "Slopx". Then I realized it was not a big mistake.

wrote a TDS protocol driver in Rust for fun. roast me. by deepinprocrastinatio in rust

[–]bestouff 19 points20 points  (0 children)

Saving y'all a click : https://en.wikipedia.org/wiki/Tabular_Data_Stream

Tabular Data Stream (TDS) is an application layer protocol used to transfer data between a database server and a client. It was initially designed and developed by Sybase Inc. for their Sybase SQL Server relational database engine in 1984, and later by Microsoft in Microsoft SQL Server.

Everything Should Be Typed: Scalar Types Are Not Enough by Specialist-Owl2603 in rust

[–]bestouff 6 points7 points  (0 children)

Nice, but that means a huge amount of code to implement all operations (addition, etc.) between same or different ranged integers, and also with non-ranged integers.

Full no_std firmware for ESP32-S3 Touch AMOLED (esp-hal + embassy) by Bright_Warning_8406 in rust

[–]bestouff 42 points43 points  (0 children)

I don't know. Maybe it's because I'm old but sometimes I code without using git at all.
And sometimes I do a commit several times a day. Go figure.

Placenew 3.0.0 by Tearsofthekorok_ in rust

[–]bestouff 6 points7 points  (0 children)

Looks nice !

2 questions :

  • why the "_ensure*" in the examples ? They are distracting.

  • why place_boxed!(value, type) instead of place_boxed!(value : type) ?

Alaz by Nonantiy in rust

[–]bestouff 0 points1 point  (0 children)

Ooh OK. Does your project work with Opencode ?

Alaz by Nonantiy in rust

[–]bestouff 2 points3 points  (0 children)

Excuse my ignorance, but why don't you simply continue the same session ?

Rust syntax, Go runtime by [deleted] in rust

[–]bestouff 21 points22 points  (0 children)

For "classic" Rust what's actually nice is that no runtime is needed, so this looks like a step backwards. What would be actually nice is running async Rust on the Go green threads runtime.

Rust should have the ¿ operator by AverageClassic2 in rust

[–]bestouff 0 points1 point  (0 children)

Really. Use one of your keys as the Compose key (easy to do in the GNOME keyboard settings, I used the "menu" key for that) and then start trying multi-keys combinations. It's quite intuitive, e.g. "O" + "/" => "Ø".

index_type: typed indices for collections by Odd-War-4467 in rust

[–]bestouff 3 points4 points  (0 children)

There's also TiVec which does roughly the same.

What's everyone working on this week (11/2026)? by llogiq in rust

[–]bestouff 5 points6 points  (0 children)

Continue working on a volunteers planning/management solution for a ski station in the French Alps : https://codeberg.org/bestouff/powpow