Comparing codes: Image rotation (Mutable arrays in Haskell). ~ James Bowen. https://mmhaskell.com/blog/2025/7/21/image-rotation-mutable-arrays-in-haskell #Haskell #FunctionalProgramming #Rust
Comparing codes: Image rotation (Mutable arrays in Haskell). ~ James Bowen. https://mmhaskell.com/blog/2025/7/21/image-rotation-mutable-arrays-in-haskell #Haskell #FunctionalProgramming #Rust
@ThePSF and rust is at 18th position, just after... Scratch?
Does #Rust have any kind of property syntax like C# / Objective-C (or that you can fudge with proxies in C++), so I can write a.property = value
and have a method called to set the property?
„Ratatui - Are We Embedded Yet?” talk is finally online!
I gave the same talk at Rust Gdansk 9 and Rust Poland 1, this recording is from the second meetup.
It’s my first talk (not counting lightning talks) and I struggle with public speaking (trying to change that) but I hope you like it.
Btw. Terminal/presentation had to be re-recorded afterwards so that’s why typing is not in sync.
#rust #rustlang low-level and #no_std Devs: I have these memory registers which I can write to whenever needed.
Considering this is shared mutable static memory, does this violate aliasing rules in some way? It's impossible to cause memory unsafety because the content written is POD, no constructors, drops, etc.
I'm either copying/reading u8/u16 or C packed structs.
#Development #Pitfalls
That boolean is probably not right · Where code deserves more than true or false https://ilo.im/165hv7
_____
#Programming #Coding #DataTypes #Boolean #Rust #WebDev #Frontend #Backend
This weekend wraps a replatforming of the #stigmerge CLI onto a high level #filesharing API. A necessary step towards a #Transmission like interface. Experimenting with #tauri now.
A few bug fixes happened as well :)
https://github.com/cmars/stigmerge/releases/tag/stigmerge-v0.5.7
Need to fix #rust docs.rs, they're not building yet
New #blog post!
"Rust: Clippy performance status update"
https://blog.goose.love/posts/clippy-performance-status-update/
Every time I read an article about shortcoming of a tool, I wonder how much of that is ego and how much of it is an actual shortcoming?
Maybe it's a sign my perfectionism is going down, but different tools being imperfect in different ways does not make them bad or less useful?
Like, I just read an article about the #rust borrowchecker not being able to prove a valid program because it doesn't look 'through' functions. And this making it 'worse' in user experience.
And this feels fairly off to me. Sure the checker could try to do whatever you wish it did. But it doesn't, and so you have to adapt.
Like, not everything needs to fit what you expect from a tool I think.
It is fair to not use that tool (i.e. Rust) if you find that annoying, but I struggle hard with this mindset. Where rather than adapting to use a tool to its fullest, people just bang their head against it repeatedly saying "look how bad it is".
He Rewrote Everything in Rust — Then We Got Fired | by ThreadSafe Diaries
The borrowchecker is what I like the least about Rust
Link: https://viralinstruction.com/posts/borrowchecker/
Discussion: https://news.ycombinator.com/item?id=44618535
Build your own interactive audio-visual environment from scratch!
Discover how #Rust + #WebAssembly empower developers to create real-time, browser-based creative computing tools. Watch Phoomparin share the journey of building performant, interactive AV experiences on the web.
Click here: https://youtu.be/8a76lDw-Pio
I’ll be speaking live in 10 min (5pm Denmark time) about writing games in #Rust with #bevy. Feel free to watch me here. It will be available VOD later so no time stress. https://live.bornhack.dk/ Exciting times at #bornhack
A tenhle váš barák vám posere pták...
#cyklovylet #Rust
How to write Rust in the Linux kernel: part 3
Link: https://lwn.net/SubscriberLink/1026694/3413f4b43c862629/
Discussion: https://news.ycombinator.com/item?id=44610468
@mhoye The #Rust language server protocol implementation, #RustAnalyzer, certainly does that, as shown in picture, as part of "code actions".
(Note the greyed `: i32` in the source code is merely a hint shown by the IDE, not something that's effectively included in the source code.)
At last I'm back to working on #CodebergCI for #AutonomiDweb.
I already had a simple test doing deployment to #Codeberg pages but can find nothing to help me do cross platform #RustLang build and release.
I have this on GH by copying another project.
I hate Yaml - just saying - and while #WoodpeckerCI lint helps, I so miss the useful error messages of the #Rust compiler.
TIL about caligula, a CLI disk burning tool that automates away some of the usual steps you might take when using `dd` for the same task.