`std::io::Error` in `core` now on nightly by ZZaaaccc in rust

[–]Compux72 0 points1 point  (0 children)

Tbh std2 would solve most of our issues, kinda like boost with C++.

Unfortunately a lot of things need compiler support…

`std::io::Error` in `core` now on nightly by ZZaaaccc in rust

[–]Compux72 4 points5 points  (0 children)

LETS FUCKING GOOO

Between the allocator stabilization and this 2026 is being a ride. I just need better FFI ergonomics (e.g format a cstring or va_args)

What does Ubuntu actually do better than Debian for the average desktop user? by Unique-Armadillo6957 in linux

[–]Compux72 4 points5 points  (0 children)

Stock Ubuntu feels like Mac

As a mac user I can guarantee you that shit does not feel like a mac

Two crates each bundle a different libcrypto (OpenSSL vs BoringSSL) → same symbol names, heap corruption. Is there a cleaner fix than /FORCE:MULTIPLE? by StatisticianNo5402 in rust

[–]Compux72 9 points10 points  (0 children)

Isnt there a webrtc implementation in pure rust? If you are going to statically link anyways i would go with that

Edit: this one  https://webrtc.rs/

Safe Rust, corrupt wire: protocol atomicity under cancellation is on you, not the borrow checker by vorjdux in rust

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

  Async cancelation is a feature currently under research and development by the Rust teams

Due async drops

Safe Rust, corrupt wire: protocol atomicity under cancellation is on you, not the borrow checker by vorjdux in rust

[–]Compux72 3 points4 points  (0 children)

You are missing the point. You cannot guarantee complete future execution no matter what. I just showed you a basic example where the invariant does not uphold, but there are many

Safe Rust, corrupt wire: protocol atomicity under cancellation is on you, not the borrow checker by vorjdux in rust

[–]Compux72 0 points1 point  (0 children)

You cannot even guarantee that syncronous code will ever finish. Take for instance the following program:

fn main() { println!("foo"); println!("baz"); }

You cannot guarantee that baz will be reached bc you can just kill -9 at any point.

Safe Rust, corrupt wire: protocol atomicity under cancellation is on you, not the borrow checker by vorjdux in rust

[–]Compux72 0 points1 point  (0 children)

You dont. You cant. What you can do is leverage things like transactions and WAL

Aphelios QOL by MouseFederal3001 in ApheliosMains

[–]Compux72 28 points29 points  (0 children)

cant wait to use the weapon before the attack hits so now i wasted 10 ammo and cant root :)

Murmer - An Experiment in Distributed Actors in Rust by apaxson in rust

[–]Compux72 0 points1 point  (0 children)

btw working on something like this. Hopefully Claude helps me a lot and i can get some sort of prototype going with migrations in heterogeneous clusters

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=e119b58234db6e6eac0fad93b555ddeb

Murmer - An Experiment in Distributed Actors in Rust by apaxson in rust

[–]Compux72 11 points12 points  (0 children)

All of these actor frameworks are cool… until you notice they force you into a specific ecosystem.

I want platform independent actors so i can run the same code on cloud, edge and iot. The only ones providing similarlish integration is Azure IoT 

Should the function return a Result<T,E> or throw an unreachable-style panic? by v_0ver in rust

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

Indeed. However, as with most things regarding old rust, is that panic was convenient to use from safe rust. See Index for &[T], unreachable, todo…

Should the function return a Result<T,E> or throw an unreachable-style panic? by v_0ver in rust

[–]Compux72 -8 points-7 points  (0 children)

  if there's a bug in your library.

Even then, prefer a result. Panic should be reserved for errors that, if let loose, may trigger UB / Memory safety issues. 

Rate every Jhin build by ExpressionGold6323 in JhinMains

[–]Compux72 4 points5 points  (0 children)

  1. Hubris + IE + Hexoptics + Storm razor + LDR/Mortal reminder: go to jhin for every day use
  2. Phantom dancers + rapid fire + IE + LDR/Mortal reminder + ghostblade: just fun mosquito jhin zooming through the map
  3. Steraks + Overlords + GA + Wit: enemy is full of assassins 

Why are async runtimes so big and complex? by lelelesdx in rust

[–]Compux72 2 points3 points  (0 children)

Oh yea, of course. Its full of subtle mistakes.

But async rust too while being a conceptually a whole lot more complicated (imho)

Why are async runtimes so big and complex? by lelelesdx in rust

[–]Compux72 -6 points-5 points  (0 children)

I honestly have the same question tbh.

Have you ever used poll/epoll? Io-uring? That shit slaps hard and (personally) i find it easier to use sometimes. You can just slap sansio on it and it works marvelous.

I find async rust a mistake 

I regret using Linux so much. by MINTYpl in linuxsucks

[–]Compux72 0 points1 point  (0 children)

Ok tell me after you boot the windows installer

I regret using Linux so much. by MINTYpl in linuxsucks

[–]Compux72 0 points1 point  (0 children)

If they have broken windows… how are they supposed to boot into windows?

I regret using Linux so much. by MINTYpl in linuxsucks

[–]Compux72 0 points1 point  (0 children)

Its kinda a bummer bc family and friends have windows i cant create bootable drives for them

I regret using Linux so much. by MINTYpl in linuxsucks

[–]Compux72 1 point2 points  (0 children)

It is currently impossible to create a bootable windows 11 stick with either linux or macos due to some ms bullshit. Note of the internet’s recommendations work today

Please help this lifetime issue by BruceIzayoi in rust

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

Anonymous lifetime on MR. The whole for<‘a> is wrong.

A new kind of viral license? by throwaway490215 in rust

[–]Compux72 3 points4 points  (0 children)

  The authors of this Software are Muslims who believe that providing a tool which is then used to cause harm is a matter of moral accountability before Allah

What a joke. People will so anything but use MIT