Rust 1.75.0 is now available! 🦀✨
Traits now support `async fn` and `-> impl Trait` (with some limitations), the compiler got faster, `version =` in Cargo.toml is now optional, and many small functions have been stabilized!
Check out the announcement:
blog.rust-lang.org/2023/12/28/Rus…
@topjohnwu Looks like you're also missing a `#[repr(transparent)]` on the `pub struct FsPath`, otherwise the transmute is still unsound (although far less likely to cause a production issue).
@timClicks I've been quite happy with my Logitech Streamcam -- super good colours+ 60FPS, but the inbuilt mic is truly atrocious; definitely a BYO in that regard
What does the Twitter-sphere think of the Logitech Brio? I want a better camera than the 920, but a full DSLR setup involves too much drama/tweaking/etc.
@jashankjplay.rust-lang.org/?version=stabl…
First fn is pretty trivial -- snd is pretty gnarly with some boxing. However, if you relax the currying requirement, you can let parametric poly take over with no additional boxing.
Having one of those "I need more combinators!!!" evenings whilst hacking on some Rust: I want something like
fn (Fn(U) → V) → Fn((T, U)) → (T, V)
or, better,
fn (Fn(U) → V) → Iterator⟨Item=(T, U)⟩ → Iterator⟨Item=(T, V)⟩
but it doesn't seem to exist!
@Gankra_ helped a lot in dealing with crossterm for me, but the documentation (in my opinion at least) is pretty severely lacking -- once I figured out the confusing parts it's pretty productive though!
@Gankra_ not sure if this is exactly what you're asking about, but I had mixed success with tui-rs making a command line UI submission marking client for our tutors at UNSW Australia: github.com/insou22/flymark
for terminal-based UIs is any particular family of rust libraries(?) particularly well-regarded or notable for handling the fucky details well and helping you make A Good Production-Quality Application?
i don't even have a good sense for what problems deserve attention for this
@olafurw ooh! @tfpk_ is currently working on writing some better beginner documentation for Nom, in the form of a guide! Check out out: github.com/tfpk/nom/tree/…
@__phantomderp Native executable with some python in it, for better error messages? Sounds a little bit like something we have at Australia's UNSW, github.com/comp1511unsw/d… !
On the nightmare reality of C being the lingua-franca of programming and the defacto ABI description language.
Possibly my highest Fucks Per Word ever, because oh my god the more I wrote this the more upset I got at reality.
gankra.github.io/blah/c-isnt-a-…
@EllenNyan0214 me and @SpanishPear get so many of those from unexpected integer overflows and the likes! as awesome as it is, there's certainly still some serious pain points in rust wasm development