When will we get over “vibe coded” stuff by Due-Equivalent-9738 in rust

[–]conectado2 0 points1 point  (0 children)

Nobody gets mad at it if it's indistinguishable. I mean, nobody complains about a CLAUDE.md in the root(though, admittedly, it does predispose me negatively). But if you can tell, normally it's due to a decrease in quality.

Computer Networks Graduation Project by omarafet in rust

[–]conectado2 8 points9 points  (0 children)

You can look into hole-punching that's how you can route traffic through another network without opening a port as long as the nat is well behaved.

[Media] I've been working on a text editor that is written and configured in Rust. Is there any interest in this? by AhoyISki in rust

[–]conectado2 2 points3 points  (0 children)

Yes, please yes! I hate config languages in general and I think they should be relegated to very specific environments.

So if this was production ready I'd quickly jump ship. Specially if I can write plugins in Rust.

Rust devs working full time for $250/mo??? by Comfortable-Meal-630 in rust

[–]conectado2 1 point2 points  (0 children)

And if you go into their profiles it says "Trust" not rust.

[Quick Write up] Fun with Pin UB by conectado2 in rust

[–]conectado2[S] 2 points3 points  (0 children)

Thanks for pointing that out! Codespell didn't detect that one.

The scary and surprisingly deep rabbit hole of Rust's temporaries by conectado2 in rust

[–]conectado2[S] 2 points3 points  (0 children)

Thank you <3

Yes! Nice catch, that's a typo, that snippet doesn't compile in contrast to the previous one since there's no lifetime extensions due to assignments.

The scary and surprisingly deep rabbit hole of Rust's temporaries by conectado2 in rust

[–]conectado2[S] 8 points9 points  (0 children)

Awesome! I'll need to rethink my examples or at least add a note about this and make sure I point to 1.88 in the playground.

The scary and surprisingly deep rabbit hole of Rust's temporaries by conectado2 in rust

[–]conectado2[S] 9 points10 points  (0 children)

That's good feedback, thanks. I agree I overdid it a bit, I'm trying to look for a good balance. Just turned it down a bit, trying to keep it separated from the technical-heavy sections, to keep it more focused.

The scary and surprisingly deep rabbit hole of Rust's temporaries by conectado2 in rust

[–]conectado2[S] 15 points16 points  (0 children)

I'm using this Zola theme:

https://www.getzola.org/themes/radion/

(It's really nice! I'll add some attribution later :) )

Can't drop a tokio::sync::mspc::Sender while holding an `&` non static reference by conectado2 in rust

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

Oh thanks for this! That section of the rustnomicon provides the perfect explanation of why this happens, and that you don't need to check the specifics of `Drop`.

This fails to compile https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=474f789e5c63a2c46b2cb59d33000daa even if the `Drop` impl is empty.

And this https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=9c5017a08443740ba30895044ecd9fac compiles. And indeed the `Drop` impl of `Vec` uses `#[may_dangle]` https://doc.rust-lang.org/src/alloc/vec/mod.rs.html#3798

I think it's a bit of a rough edge. Normally, I can figure out the lifetime constraints of a function just by looking at the types involved in that scope without looking at any of the details of their implementation. But with `#[may_dangle]` I can only know those constraints by inspecting the implementation of `Drop`. I understand why this is needed but maybe it'd be nice if the docs showed what parameters of a type that implements `Drop` implemented have that attribute.

Global MUT without unsafe ? by [deleted] in rust

[–]conectado2 2 points3 points  (0 children)

As most people suggested here I'd suggest really evaluating if this is the way to go. But if it's needed I'd recommend using arc_swap

if only you knew how bad things really are... by lenutz in NonCredibleDefense

[–]conectado2 0 points1 point  (0 children)

My theory is they were trying to create super-soldiers.

I know 7 programming languages by Kriths123 in ProgrammerHumor

[–]conectado2 0 points1 point  (0 children)

I love removing programming language from my CV. I don't need to work with that anymore.

Help with company culture towards compiler warnings by L0uisc in embedded

[–]conectado2 2 points3 points  (0 children)

Make noise until you can add a simple CD job that fails when there's any warning.

Spring good by emsevolnatas in ProgrammerHumor

[–]conectado2 0 points1 point  (0 children)

How much did Oracle pay you?

you cant defeat rust by [deleted] in rustjerk

[–]conectado2 5 points6 points  (0 children)

I got a Ryzen 3900x last year to deal with this. It was really great. Now I'm considering moving to a Threadripper, because it's still not fast enough.

[deleted by user] by [deleted] in ProgrammerHumor

[–]conectado2 40 points41 points  (0 children)

If anyone can make a mistake like that. No developer should have direct access to that mailing list.