Programmurr
u/Programmurr
How Memory Safety Approaches Speed Up and Slow Down Development Velocity
verdagon.dev/blog/when-to-use-memory-safe-part-2Watch out for DoS when using Rust’s popular Hyper package
jfrog.com/blog/watch-out-for-dos-when-using-r...I don't know how to use a debugger. I'm not even sure whether there is a viable debugger for Rust, yet. There seems to be little to no information about how to use one, let alone use it effectively. What's the debugger situation with Rust?
It seems that rust-headless-chrome has been abandoned by its author. There's a demand for a Rust puppeteer solution and this library has thus far been it. The project is useful in its current form but is not feature complete and continues to receive ignored PRs and issues.
This is a very useful project for the Rust ecosystem and worth continuing either in its current architecture or a new async one. Depending on how things go this year, I may take up the baton, but in the short term I cannot commit.
Features use of std futures and async-await across the actix ecosystem.
I spent hours replacing complicated chained futures with simple, intuitive async-await and can testify that this new paradigm is a game changer. No more Either. No more folding. Far fewer clones. Lots of borrowing.
Much, much better experience and hours of experience using combinators that I may never touch again.
As of rustc 1.39.0:
if you get a HUGE compiler error that begins with something like the following, check whether you are using the format! macro in an async fn that is task::spawn'ed (tokio). If you are, assign the formatted text to a local variable before using it.
Fortunately, I found this issue in discussion
error[E0277]: `*mut (dyn std::ops::Fn() + 'static)` cannot be shared between threads safely
--> .../src/bin/main.rs:52:13
Sourcetrail just open sourced its work. Currently, it supports C, C++, Java and Python. I've had to study complicated java code bases without the help of visual tools such as Sourcetrail. It is a really painful experience. Tools that help visualize massive code bases are a great help during the onboarding phase that all new project members go through.
Imagine this for Rust! Now that Sourcetrail is open source, I hope that this opportunity attracts interest among the Rust community to add support for the language.