The product of my hacking around last night: a rudimentary task performance monitor compatible with github.com/embassy-rs/embassy. #rust
Rust enums are better than any other enums. #changemymind
I made a new API for pretty printing:
https://gitlab.com/dns2utf8/parse_int#pretty-print-numbers
Also is it too early to set the edition to 2024 for this crate?
Clicked through some repositories and saw that I wrote my first "real" #Rust project 8 years ago. God... time is flying by. And I still use it quite often! Have to clean it up at some point... https://github.com/FHMS-ITS/Xim
Milesina vogesiaca ex Polystichum aculeatum
C programmers: “Noooooo!!! ”
#Rust programmes: “hehe rayon go brrr”
The guy who invented #Rust seriously can't explain anything clearly. I had serious problems understanding some very simple concepts such as ownership, borrowing, scope, .. So, I talked to #Gemini just to find that she was using exactly the same vocabulary. After a long argument with Gemini, I finally convinced her that the jargons used by Rust are unnecessarily confusing and do not really explain what happens in the computer in terms of memory management. I explained everything in 11 lines. #AI
cargo-mutants: :zombie: Inject bugs and see if your tests catch them https://lobste.rs/s/krav7o #rust
https://github.com/sourcefrog/cargo-mutants
Rust Bytes Challenge Issue #61 Rotate a Matrix 90 Degrees
Write a function rotate_matrix that rotates a matrix 90 degrees clockwise.
The same thing in #K: (|'+)
How to rewrite poison subroutines available in OpenBSD kernel, in Rust to detect memory corruption - Article by Ted Ungast tedu@ #OpenBSD #Rust https://flak.tedunangst.com/post/what-if-the-poison-were-rust
A surprising enum size optimization in the Rust compiler
Link: https://jpfennell.com/posts/enum-type-size/
Discussion: https://news.ycombinator.com/item?id=43616649
As great as it is, Rust's #cargo package manager is tying us to micro-libraries due to how easy it is to add a new package.
Does the `rand` crate really need 14 dependencies *without* any added features?!
Wow, a whole article explaining that #enums in #Rust can be optimized! Who would’ve thought that a #compiler might actually, you know, do its job?
Next week: discovering that water is wet and that the sky is blue.
https://jpfennell.com/posts/enum-type-size/ #Optimization #Insights #Programming #Humor #HackerNews #ngated
A surprising enum size optimization in the Rust compiler
A surprising enum size optimization in the Rust compiler
I may be comfortable enough in #Rust to start a project in it from scratch one day, but this cycle of designing and implementing completely in #Python first and then duplicating the spec and a lot of the logic in Rust from the ground up afterward seems like it works rather well.
The design is fixed by the time I start porting it and the Python is a reference and implementation guide.
PegasusDetectionTool by Darkart (PegasusDetectionTool PDT) This program is intended solely for ethical and educational purposes. #anon #anonymous #graphicdesign #programing #coding #engineers #technology #hacker #Encryption #python #linux #c #rust #security #Tool #Pegasus #unidentified
Photon: Rust/WebAssembly image processing library faster than VIPs and PIL