Memory Safety for the World’s Largest Software Project
https://www.memorysafety.org/blog/memory-safety-in-linux-kernel/
#rust #linux #kernel #security #programming
The triangle example is "only" 500 lines of #Rust 😒
https://github.com/vulkano-rs/vulkano/blob/master/examples/src/bin/triangle.rs
Perhaps Vulkano is the 3D rendering API I'm looking for. Too bad it won't be portable to browsers (since WebGPU ended up being different from Vulkan).
What's the state of 3D graphics for #Rust? There are many abandoned projects (glium, gfx...) along with the not-yet-ready wgpu framework and many thin wrappers around non-portable APIs (DirectX and Metal), the very low-level Vulkan or the deprecated OpenGL.
https://crates.io/keywords/graphics
#programming #graphics #vulkan #opengl
#Rust Lang Roadmap for 2024
https://blog.rust-lang.org/inside-rust/2022/04/04/lang-roadmap-2024.html
Kids, don't waste your time learning C++ exceptions... Learn good error-handling patterns from #Rust and #Go and apply them to your production #Cpp code!
Yes, you too @srevinsaju!
Rust Compiler Ambitions for 2022
https://news.ycombinator.com/item?id=30438896
#rust #programming
I'm chipping in $1 per month to thank Matt Godbolt for the invaluable godbolt.org compiler explorer:
https://xania.org/MattGodbolt
Exploring System76's New Rust Based Desktop Environment
https://blog.edfloreshz.dev/articles/linux/system76/rust-based-desktop-environment/
tokio-console is the ultimate debug tool for async #Rust services!
https://tokio.rs/blog/2021-12-announcing-tokio-console
Cc: @srevinsaju
I copy-pasted most of the config, and when it breaks I'm not quite sure how to debug it.
In fact, it's not working right now. If I open a Rust project and start typing, I get plenty of useless snippets instead of the semantic completion. I see rust-analyzer running and eating CPU time... I even see inline errors... so why?
Why do I have to learn #Lua before I can code in #Rust?
WHYYYY?!?! 😩
Do we have #Rust completion yet? Not so fast!
You see, #Neovim has builtin completion, but what you really want for programming is *autocompletion*, which requires an external plugin:
https://github.com/neovim/nvim-lspconfig/wiki/Autocompletion#autocompletion-not-built-in-vs-completion-built-in
It says nvim-cmp is the recommended plugin, so it will be easy to integrate, right?
Easy peasy! My nvim-cmp configuration is only... 73 lines of #Lua config!
#Rust 2021 is out! So this year wasn't completely wasted...
wow, the author of bashtop is getting more pro with every rewrite: Bash -> Python -> C++:
https://github.com/aristocratos/bpytop#2-may-2021
The next stage of evolution will presumably be #Rust? 🤔
I just discovered wezterm, a terminal emulator with splits and sixels support... and it's written in Rust! 🤩
https://wezfurlong.org/wezterm/index.html
#unixporn #linux #rust
Despite the popularity of #Rust, #cpp is still alive and kicking...
https://www.youtube.com/user/CppCon/videos
I'm more excited about the upcoming Rust talk than the C++20 one that just finished... but honestly it's going to be a much harder migration path 😕