Posts
114
Following
140
Followers
84
Andy Newton | Doer of stuff, arguer of things | PE @ ICANN | ART AD @ IETF | Organizer @ NoVaLUG | WorkCamp @ Saint James
Edited 5 months ago

An Idiot with a YouTube Channel

It would seem ragebaiting against #rust (and by association, anyone to the left of Ronald Reagan), is a present-day, engagement-farming cash crop. Now comes a youtuber with his John Deere and field-hand commenters (no link, you are better off) to say “rust-bad cuz linked lists” and some other nonsense that you can’t use linked lists in the Linux kernel with rust.

I am not a Linux kernel developer, but I have a strong suspicion neither is this idiot. It took all of two seconds of googling to find on kernel.org the rust linked list. The upside to this is that I did learn something new today about rust and the linux kernel, even if it is the exact opposite message being given.

Now, if you are not familiar with Rust then this is probably all very puzzling. Here is the summary: writing a linked list in Rust is more difficult than it is in other languages, such as C or Java, because of Rust’s ownership model. More difficult… but not impossible.

So not impossible that there is an entire on-line book called Learning Rust With Entirely Too Many Linked Lists. It teaches Rust by walking through the creation of 7 types of linked lists. SEVEN! Like srsly, how many of you even knew there seven types?

But the best thing about that book is the intro:

Just so we’re totally 100% clear: I hate linked lists. With a passion. Linked lists are terrible data structures.

Linked lists are as niche and vague of a data structure as a trie. Few would balk at me claiming a trie is a niche structure that your average programmer could happily never learn in an entire productive career – and yet linked lists have some bizarre celebrity status.


And that is true. I can probably count on four fingers the 3 times I have needed one in my career. We probably all learn linked lists because they are a great teaching tool on the subject of pointers. But they really aren’t all that common in use.

Similar to my usage of linked lists are the number of times I have commented on a YouTube video. But I did on his video, probably because it made me dumber by watching it. My comment was straightforward and just a link to the rust kernel docs. He deleted it within 5 minutes.

1
3
3

Your first ever Linux distro?

Follow for daily Linux tips & news! 🐧

0% Debian
0% Fedora
0% Manjaro
0% Zorin
0% Pop!_OS
0% Mint
0% Ubuntu
0% SUSE
0% Arch
100% Slackware
0% Other (Comment below 👇)
0
2
0
I guess it has been a weekend of writing iCal bots. Borrowing the code from my matrix ical bot, I wrote a fedimoose iCal bot, which is live at @meetings . Code is here https://github.com/anewton1998/ical-to-masto

Also written in #rust.
0
0
1
I created another #matrix bot. This one sends meeting reminders on a schedule and via chat command. It uses an iCal fetched via http for the event data.

https://github.com/anewton1998/matrix-bot-ical

Written in #rust
1
0
0

What comes first?

25% Cryptographically Relevant Quantum Computer
3% Artificial General Intelligence
18% Unified Quantum Gravity
51% IPv6 everywhere
0
2
0
I couldn’t find a #matrix bot that did what I wanted in a simple way, so I wrote one in #rust.

https://github.com/anewton1998/matrix-bot-help
0
0
0
I have a theory that vibe coding is much more powerful with a very strongly-typed language like #rust because the tool calling knows really fast about a whole slew of issues that can be otherwise difficult to reason about.
1
0
0

@tech-news It’s not your crazy uncle who will be ruining your Thanksgiving…

RE: https://akk.novalug.org/objects/dce3dc07-566c-41d9-9364-9d4a917a621a

0
0
0
For the NoVaLUG website I wanted two of the pages to pull content from an RSS feed, but for a static site there are few open source solutions. Out of frustration, I coded up this rss2jsonfeed CLI. It runs in a cron job and dumps a static JSON file in Akkoma's static directory. Mix in a little client-side JavaScript and bam!

https://github.com/anewton1998/rss2jsonfeed

#rust #javascript #rss #json
0
0
0
@heavyimage
The closest thing to a class in Rust is a struct. But that is unlikely sufficient for most needs. A module is the code organization mechanism you are looking for, I would think.
0
0
0
Building Automation controls company, Automated Logic, hit by fake VSCode extensions that install malware. https://checkmarx.com/zero-post/how-we-take-down-malicious-visual-studio-code-extensions/

I got my very first job working for this company, at the time a startup. They wrote software and designed and manufactured their hardware all in one building.
0
0
0
Edited 6 months ago
It's come to a point for NoVaLUG where we are outgrowing Signal, and while I personally disfavor Discord some people seem totally fine with the privacy nonsense of it.

Moving from Signal to something secure that supports threading, channels, etc... quickly the two front runners are non-federated Matrix and Zulip.

The big advantage of Matrix is the number of clients, but every single one of them seems clunky and the mental-model for Matrix doesn't seem to make sense when the server isn't federated.
0
0
0
Brodie Robertson’s video on the #rust #cloudflare thing… just in case anyone needs to fend off their angry Lunduke-following relatives over Thanksgiving dinner conversation.

https://youtu.be/vESkGUiiAB4?si=AsEtMLrlApeSZi19
0
0
0

"Google has disclosed that the company's continued adoption of the Rust programming language in Android has resulted in the number of memory safety vulnerabilities falling below 20% of total vulnerabilities for the first time.

"We adopted Rust for its security and are seeing a 1000x reduction in memory safety vulnerability density compared to Android's C and C++ code. But the biggest surprise was Rust's impact on software delivery," Google's Jeff Vander Stoep said. "With Rust changes having a 4x lower rollback rate and spending 25% less time in code review, the safer path is now also the faster one."

The development comes a little over a year after the tech giant disclosed that its transition to Rust led to a decline in memory safety vulnerabilities from 223 in 2019 to less than 50 in 2024.

The company pointed out that Rust code requires fewer revisions, necessitating about 20% fewer revisions than their C++ counterparts, and has contributed to a decreased rollback rate, thereby improving overall development throughput."

https://thehackernews.com/2025/11/rust-adoption-drives-android-memory.html

0
1
0
Show older