

In a driver, there’s a lot more than just C and hardware interaction. You also have to deal with:
Concurrency and Synchronization – Managing locks, spinlocks, atomic operations, and ensuring safe access to shared resources.
Memory Management – Allocating kernel memory safely, handling DMA buffers, and avoiding memory leaks or invalid accesses.
Interrupt Handling – Dealing with IRQs, deferring work using tasklets, workqueues, or bottom halves.
State Management – Handling suspend, resume, and power states efficiently.
Error Handling and Recovery – Ensuring robustness in the presence of hardware failures or unexpected states.
Device Trees and ACPI – Parsing platform configuration data.
Firmware Communication – Loading and interfacing with device firmware blobs.
Kernel APIs and Subsystems – Interacting with networking, block devices, input devices, and other kernel frameworks.
Performance Optimizations – Managing cache coherency, NUMA awareness, and latency-sensitive operations.
Security Considerations – Preventing privilege escalation, ensuring safe user-space interaction, and sandboxing where applicable.
Yes, interfacing with hardware often requires unsafe Rust or C, but a lot of driver logic isn’t directly interacting with raw hardware registers. Rust can help improve safety in many of these areas by reducing common C pitfalls like use-after-free, null dereferences, and buffer overflows.
You have found the Wayne’s World dungeon.
Welcome to Wayne’s World: The Game You find yourself in Aurora, Illinois, the hometown of Wayne and Garth. You’re on a mission to help them prepare for their biggest public access TV show yet. Scene 1: The Basement You’re in Wayne’s basement, surrounded by music gear, posters, and a comfy couch. Wayne and Garth are brainstorming ideas for their show, but they’re stuck. They need your help to come up with a killer opening segment. Do you: A) Suggest a musical number with Wayne and Garth performing a duet of “Bohemian Rhapsody” B) Recommend a comedy sketch parodying a popular movie or TV show C) Propose a special guest appearance by a local celebrity D) Suggest a “Top 10 List” segment, à la David Letterman Choose your response:
…
You have found the Encino Man Dungeon.
Encino Man: The Adventure Begins You are Brendan Fraser’s character, Link, a caveman who has been thawed out and is trying to navigate modern life in Encino, California. Your goal is to make it through each scene without getting into too much trouble. Scene 1: The Thaw You wake up in a block of ice in a backyard. You’re confused, hungry, and thirsty. You see a garden hose nearby. Do you: A) Drink from the hose B) Try to break out of the ice C) Look around for food D) Take a nap Choose your response:
LLM to generate ideas, history to check uniqueness
I am on a cycle right now where I can’t sleep without ambien and 300mcg melatonin. I’ve struggled with falling and/or staying asleep my whole life. My brain will calm down some and ill taper off of the ambien again at some point.
Besides the long term health, i am just not a pleasure to be around if i run on no sleep.
I still have some triptans, a couple different ones in the medicine cabinet. I can go a year without thinking i might need one. They make me feel like my brain is starved for oxygen or something like that.
They do work, but if hydration, tylenol, or ibuprofen will help I’d rather use them.
Yeah I think it went away at the start of my 30s. Definitely glad it’s not a worry anymore.
I can still get stress or dehydration headaches, but no constant small one that breaks through to eye stabbing with my heartbeat.
I have heard it is common for them to go away by 30s.
For a decent chunk of my early 20s i had to take amitriptyline a couple of hours before bedtime to prevent migraines. It also makes you sleep on cloud 9. I was on call at nights and there was no snapping out of the sleep pull, thats the only scenario I can think that it may not help.
Talk to a doctor about it. I have had a couple of brain scans and don’t have anything up there that looks bad. It just happens to some people.
I read your name as stoned morman
The goal is to mitigate attacks, it costs a lot of money to purpose build world spanning networks than can absorb large amounts of traffic. P2P type options are not a good fit.
did you figure it out?
I read down the list afterwards and found it was using Rust. I skimmed through the source and it is well organized, but would still take quite a while to get up to speed on.
I saw unit and integration tests. It might be beneficial to generate or capture some data to replay to simulate the load and add debugging. I don’t know much about the abstraction layers. I did see opentelemetry, which is a project I got frustrated with on the lack of stability (fast changes on api).
I have only dabbled with Rust to test the waters. The largest thing I’ve made was a GUI snake game, and made it portable so it could be compiled for cross platform.
I haven’t checked into the code yet, but I imagine you can map out what all is in memory and force more aggressive garbage collection to find some middle ground.