So weird: when you have developed so much #Rust recently that other imperative, OO-style languages feel like #ScriptingLanguage's (and no, this is not a compliment😉).
And don't you dare to assign aliases to other objects in those languages! It just looks and feels...wrong! Is it mutable? Is is not? Does it get cloned? Oh my what happens here?!😲 What...a thread!?😱
#RustLang #FunnyNotFunny #ExclusiveReference #SharedReference #ThreadSafety
#CRDT's go brrrrr - by Joseph G
5000x faster CRDTs: An Adventure in Optimization
Nice, I've done some improvements regarding csv-diff's diff API:
https://gitlab.com/janriemer/csv-diff/-/merge_requests/9
So now, you don't have to wrap your bytes or String in a `Cursor` anymore. It is done automatically for you through a new trait.
Fun fact: this wouldn't even be a breaking change, if csv-diff wasn't still in alpha, because `Cursor`, `File` etc. still work as before, no change needed for user code.💪
Please keep in mind that this is _not_ released yet as a new version.
Awww
Important crab-related diagnostics improvement shipping in nightly #Rust 1.59 🦀
https://users.rust-lang.org/t/twir-quote-of-the-week/328/1147?u=janriemer
#TIL that you can disallow certain types in your #Rust code with #Clippy (since 1.55):
https://nnethercote.github.io/perf-book/linting.html#disallowing-types
This is useful, if you e.g. want to use a faster HashMap (e.g. from ahash) and not the std HashMap.
Official docs:
https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_type
Wow, this looks amazing! 😍
netdata - Real-time performance monitoring, done right!
Learn Rust #Programming #Course – Interactive #Rust Language #Tutorial on Replit - by #freeCodeCamp
Make yourself familiar with #web3:
Awesome critique of crypto / web3. Curated list of high quality critique plus background:
https://github.com/rufuspollock/awesome-crypto-critique
Seeing all these new #Rust tools for #WebDev popping up recently (e.g. #SWC, #ParcelCSS, ...), I've come to the following thought:
There are many MANY web developers out there. What if those web developers suddenly get interested in Rust?
Rust be like 🚀
#Prediction: This year or next year, a collaborative #VideoEditing #webapp will pop up, written in #Rust and #WASM. 🦀
Think #Figma, but for video editing.
What are your _tech_ predictions for the next years?
Why Electron is a Necessary Evil - by Federico Terzi:
https://federicoterzi.com/blog/why-electron-is-a-necessary-evil/
No, #Electron is not always bad! Bad performing apps are caused by bad development practices, not _necessarily_ the technology used.
Want to see a well performing Electron app? Look at #VSCode!
#Software simulating the real world will be a big deal in the future.
And no, I don't mean metaverse.
#Prediction #Simulation #Future #DigitalTwin #NoNotMetaverse
Introducing csv-diff - the fastest CSV-diffing library in the world - written in #Rust!🚀 🎉
Highlights:
- compare two CSVs with 1,000,000 rows x 9 columns in under 500ms
- thread-pool agnostic 🧵🧶
Crates.io:
https://crates.io/crates/csv-diff
GitLab:
https://gitlab.com/janriemer/csv-diff
This crate has been made possible by the awesome Rust community! Thank you!🤝 ❤️
#CSV #CSVDiff #Performance #Diff #Compare #Fast #CrateTip #Crate #RustLang #OpenSource
Commit 487efd1
Where did we leave off? Oh, right...might we even be able to...
...CROSS THE 500ms mark!?😱
😏
Next toot will be the official release. Stay tuned.😉
Deal of the Day at #Manning:
Save 45% on the bestselling #eBooks of 2021!
For example:
#Rust in Action - Systems programming concepts and techniques:
https://www.manning.com/books/rust-in-action
Advanced #Algorithms and #DataStructures:
https://www.manning.com/books/advanced-algorithms-and-data-structures
Other ebooks:
https://www.manning.com/dotd
Yay, I fixed the bug!🎉
It wasn't a concurrency bug in the traditional sense (it's #Rust after all ¯\_(ツ)_/¯), but rather a code path that was sometimes executed and sometimes not, depending on whether the other thread had a chance to run or not.
New plan: release this within 2021 (as alpha)!😁 🤞
Just found out about cargo-modules, a #Cargo plugin to show your #Rust modules as a tree.
https://github.com/regexident/cargo-modules
I've seen this in Let's Get Rusty's recent video about modules. It's a great tutorial. Check it out!
Rust Modules - Explained Like I'm 5:
https://yewtu.be/watch?v=969j0qnJGi8 (or YT: https://www.youtube.com/watch?v=969j0qnJGi8)
Unfortunately, I can't release this as planned.😥
I'm so sorry, but I found a very weird (concurrency!) bug and I don't want to ship it with this bug in it. Real life of a developer, I guess...😞
(I found this bug writing and executing a specific doc test...What!?)
I'm so disappointed right now.😭
I'll look into it after xmas and keep you updated.
I wish you some happy holidays! 🎅
Passionate Software Developer with an incredible thirst for knowledge, who shares that knowledge with others, so that they can become their best selfs.
Interested in #Rust, #TypeScript, #Node, C# and a lot of other interesting stuff.
Dare to think for yourself.
Striving for technical excellence.