Rust

8121 readers
23 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS
101
102
103
104
105
106
107
 
 

An interesting article that lays out a problem and goes through a few different solutions, some of which I haven't thought about much before.

I'm working on a video game in Rust, and I'm running into this kind of modelling problem when it comes to keeping track of the game state. So far I've refactored something that resembles Approach 5 into something that looks more like Approach 3. As I get more confident about the final shape of the data, it (seemingly) becomes a better idea to represent it in a more structured way.

108
109
110
111
112
113
114
115
116
117
118
 
 

Just added some serious discipline to CharmGuard, an open-source focus assistant in @rust!
✨ Now blocks distracting apps during deep work using:
- sysinfo to monitor processes
- A YAML blocklist of "uh-oh" apps
- Instant reports when temptation strikes πŸ‘€
CLI-native, structured logs, GitHub CI, and... sass. Like a librarian judging your tabs β˜•πŸ’»
πŸ“Ž https://github.com/zosob/charmguard.git
❀️ to Hannah for the original spark!
#RustLang #OpenSource #DigitalMinimalism #Productivity #FocusApp #CLI

119
120
121
122
 
 

β˜• Built LogSniff: a @rust CLI that parses logs, exports to CSV, runs Python ML, and plots anomalies.
Next up: real-time alerts & regex rules.
Because fragile stacks deserve a sip & a side-eye.

#RustLang #CyberSecurity #CLItools #MLops #TeaDrivenDev πŸ«–πŸ¦€πŸ“Š

123
124
 
 

You ever write a @rust game where the player walks into a dungeon, gets punched in the face by a goblin, drinks a healing potion like it’s chamomile, and keeps going like nothing happened?

Because I just did.

Structs, enums, and reckless bravery: the perfect tea blend.
πŸ§Œβœ¨πŸ«–

#RustLang #TeaPoweredCoding #TextAdventure #buildinpublic #TerminalGaming

125
view more: β€Ή prev next β€Ί