Skip to main content

Search

Items tagged with: rustlang


I just completed "Tuning Trouble" - Day 6 - Advent of Code 2022. The task was really easy for me and I found the solution quickly, so as an additional challenge I started using #HelixEditor instead of #NeoVim. I need to relearn some basic shortcuts that I've known for years in NeoVim, but I like Helix it so far. #AdventOfCode https://adventofcode.com/2022/day/6 https://salsa.debian.org/silwol/aoc2022/-/blob/main/aoc06/src/main.rs #RustLang


Content warning: Unpopular opinion on strong typing


Want to read other #rustlang #adventofcode solutions? Here is a list of repos https://github.com/ozten/adventofcode22#rustacean-including links from @briandorsey@rosalita and @silwol


#RustLang is magic! You know how I found out? I successfully finished today's #AdventOfCode challenge before I even had ☕.


🦀📺 #rustlang has finally become mainstream: hackers in TV shows are now compiling Rust to look cool. 😁

(From Pantheon S1E5.)
A still from an animated series, Pantheon. A character with glasses is looking at a green screen with three terminal windows. The two in front show the logs of a web server (but all slashes in the paths except for the leading one are backslashes for some reason). The third terminal in the background shows the output of Cargo: all lines show the word "Compiling" followed by a real crate name and a fake version.


Managed to create a simple #RustLang blinky program that runs on the #adafruit #MagTag I ordered last week. Next up: one of #NeoPixels, #eInk, light sensor or speaker, whichever I feel like trying.


First time at #IETF, our NTP lead developer David worked on Miroslav Lichvar's NTP v5 draft with the time protocol group.

David presented the hackathon results: two interoperable (experimental) NTP v5 implementations. Not bad for two days of work!

NTP group hackathon slides:

https://ietf-hackathon.github.io/ietf115-project-presentations/ietf-115-hackathon-ntp.html

Our open-source NTP implementation, ntpd-rs:

https://github.com/memorysafety/ntpd-rs

#IETF115 #rustlang #rust


Me: "Hey Rust, I'm going to refactor a thing real quick, you ready?"

Rustc: "Go for it!"

Me: _makes breaking changes to a bunch of structs_

Rust: "Here's your TODO list of what you need to fix"

Me: :blobfoxfingerguns:

#rustlang


Seriously #rust #rustlang #rustdev #rustprogramming people:

Use `thiserror` in library crates! Only use `anyhow` in binary crates!

Don't give your users a hard time fighting against `anhyow::Error` when using your library!

#programmingadvice #programming


https://blessed.rs/crates

A guide to the non-standard standard library of Rust. If you're looking for functionality that you'd expect in a standard library, Rust might not have it.

But there are some really excellent crates that can help.

#rust #rustlang


@LeCalicot Many #Rust posts also use the #RustLang tag instead to avoid collapsing with the video game of the same name.


Rust's existence should raise your expectations about software quality. Users deserve safe, efficient, fast and reliable software. #rustlang #rust


#Introduction (en) :blob_cat_blush:
First, I'm french, and most of my toots will probably be in this language.
I'm a lesbian writer of queer fantasy novels that you can read at https://crowdagger.fr (in french, sorry).
I'd like to work on games too so if you need someone for your game story 👉👈
I also code a bit (#RustLang = :blob_cat_heart: ), I guess my main project is Crowbook which I sometimes still maintain https://github.com/lise-henry/crowbook
And I live with a very beautiful cat
Chachat, a very nice-looking red cat, knitting with her paws


Stabilize generic associated types, https://github.com/rust-lang/rust/pull/96709, merged ✅!

GATs are stabilized in Rust 🎉. So much fun ahead! Like async functions in traits, AsyncRead and AsyncWrite in std etc.

Hurray to the contributors!

#rustlang


Heading off to #FOSDEM to be one of the faces of the @RIOT_OS project. Chat us up on embedded standards-based networks, research, hardware and #RustLang support!


`let` chains is now stabilized in Rust https://github.com/rust-lang/rust/pull/94927.

Before:

if let <pattern1> {
if let <pattern2> {

After:

if let <pattern1> && let <pattern2> {

#rustlang


Hello Kat! Yes I am one that enjoys #rust (see also #rustlang for some reason). Can't say any of my crates are popular, but I've written some for tunneling TCP/IP across #LoRA and #XBee SX long-range, low-power radios using PPP or tun/tap. (see lorapipe, xbnet). Currently working on an asynchronous Unixy job queueing system I hope to announce in a few days. Been using Rust at work for a few years now also.


If you don't know yet about https://cheats.rs, you definitely should - this is super handy!

#rustlang


#C was invented around 1973.
#Rust hit version 1.0 in 2015.

These are 42 years.

Conclusion: Rust is the answer to life, the universe and everything.

#RustLang #KiddingNotKidding #NerdHumour


RT @andybalaam@twitter.com

I am live coding my adventures in Rust and Matrix land every Monday at 14:00 UTC. Watch me create a bot (codenamed Arnie) on PeerTube or Twitch:
https://diode.zone/c/andybalaam_programming/videos
https://www.twitch.tv/andybalaam
#rustlang #matrixprotocol

🐦🔗: https://twitter.com/andybalaam/status/1457746434963427332


I hate it when they remove functionality from a crate that you used a lot and you have to switch to a different crate, rewriting half of your application, because the new crate has quite a different API.

#rust #rustlang