Forwarded from ozkriff.games 🦀 (ozkriff🇺🇦)
# The Old Ways
A bit of nostalgia: how #RustLang package management looked like back in 2014 before Cargo got released? In my hobbyist experience, it usually was a mix of make, cmake, and messy shell noscripts :D
A bit of nostalgia: how #RustLang package management looked like back in 2014 before Cargo got released? In my hobbyist experience, it usually was a mix of make, cmake, and messy shell noscripts :D
😁3❤1👎1😱1
Rust Search Extension for Chrome/Firefox - https://rust.extension.sh/
Search docs, crates, builtin attributes, official books, and error codesrust.extension.sh
Rust Search Extension: The ultimate search extension for Rust
Search docs, crates, builtin attributes, official books, and error codes, etc in your address bar instantly.
👍3❤1👎1
Talks from Rust Nation UK
I have not watched them all but from what I watched, I found Living with Rust Longterm to be pretty solid. Also planning to watch going beyond Arc<Mutex> talk as it promises to have some stuff about lockfree data structures.
I have not watched them all but from what I watched, I found Living with Rust Longterm to be pretty solid. Also planning to watch going beyond Arc<Mutex> talk as it promises to have some stuff about lockfree data structures.
👍4👎1
An interesting note, I was mostly writing C# before Rust for example.
Original
One striking stat from the Rust Book Experiment is that 60% of Rust learners self-report as not proficient in a systems language (C or C++). 95% self-report as not proficient in a pure functional language (OCaml or Haskell).Original
Twitter
Tweet / Twitter
👍2👎1
Forwarded from Awesome Rust
https://blog.rust-lang.org/2023/03/09/Rust-1.68.0
Highlights:
- Sparse registry protocol for Cargo allows downloading information only about crates you're actually using.
- Local
- Default
Highlights:
- Sparse registry protocol for Cargo allows downloading information only about crates you're actually using.
- Local
Pin construction with pin! macro.- Default
alloc error handler. This allows usage of alloc on stable without requiring the definition of a handler for allocation failure (defining custom handlers is still unstable).blog.rust-lang.org
Announcing Rust 1.68.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
🔥5👎1
Not a major release, but it's good to finally see some movement in getting async utility functions from external creates to std.
👎1
You can also find me on https://gloomypixels.space/@egor_ivkov now.
Not that I hate Elon Musk that much, it's just that my feed on Twitter became exceedingly less interesting as all the tech people moved to Mastodon.
Not that I hate Elon Musk that much, it's just that my feed on Twitter became exceedingly less interesting as all the tech people moved to Mastodon.
👍2👎1😁1
Just found Linus on Fediverse (e.g. Mastodon / Akkoma) - https://social.kernel.org/users/torvalds
I hope he keeps his presence there, though when he registered on Twitter it seems he quickly forgot about it.
I hope he keeps his presence there, though when he registered on Twitter it seems he quickly forgot about it.
social.kernel.org
Linus Torvalds (@torvalds@social.kernel.org)
👍2👎1
Must move types - https://smallcultfollowing.com/babysteps/blog/2023/03/16/must-move-types/
A recent post by Niko Matsakis, one of the core contributors to Rust. It is basically about linear types, the concept which some of you might be familiar with if you played with Idris2 for example. These types have a restriction that they should be used exactly once.
On the practical side Niko ties this feature with negative trait bounds, which are required for it to work, and async drop, which might be easier to implement with must move types.
A recent post by Niko Matsakis, one of the core contributors to Rust. It is basically about linear types, the concept which some of you might be familiar with if you played with Idris2 for example. These types have a restriction that they should be used exactly once.
On the practical side Niko ties this feature with negative trait bounds, which are required for it to work, and async drop, which might be easier to implement with must move types.
❤3👎1
So here is a random late Sunday poll. What shell do you use as your default?
Can't avoid mentioning that nushell is written in Rust :D
Can't avoid mentioning that nushell is written in Rust :D
Anonymous Poll
25%
bash
47%
zsh
21%
fish
5%
nushell
2%
other (in comments)
👎1
Good old
C, though I prefer the "C: A Reference Manual" by Samuel P. Harbison and Guy L. Steele Jr. textbook.👎2
A recent article by Alex Kladov - Zig and Rust
Most of you might know Alex as the original creator of JetBrains Rust Plugin and rust-analyzer and he is now working on TigerBeetle database in Zig. So this article is rather interesting, at least to me:
1. As it highlights a couple of insights into the architecture of TigerBeetle, mentioning exactly how Zig helped them
2. And gives a weighted opinion about Zig as a language from a perspective of a person who used Rust a lot.
The thing is I haven't seen yet any other weighted opinion on Zig, all of the other blogs/posts are usually hate/love comments without much detail. And about the TigerBeetle architecture what is curious is that they went for extreme controllability and simplicity at the same time and it seems that it works.
Most of you might know Alex as the original creator of JetBrains Rust Plugin and rust-analyzer and he is now working on TigerBeetle database in Zig. So this article is rather interesting, at least to me:
1. As it highlights a couple of insights into the architecture of TigerBeetle, mentioning exactly how Zig helped them
2. And gives a weighted opinion about Zig as a language from a perspective of a person who used Rust a lot.
The thing is I haven't seen yet any other weighted opinion on Zig, all of the other blogs/posts are usually hate/love comments without much detail. And about the TigerBeetle architecture what is curious is that they went for extreme controllability and simplicity at the same time and it seems that it works.
matklad.github.io
Zig And Rust
This post will be a bit all over the place.
Several months ago, I wrote Hard Mode Rust, exploring an allocation-conscious style of programming.
In the ensuing discussion, @jamii name-dropped TigerBeetle, a reliable, distributed, fast, and small database written…
Several months ago, I wrote Hard Mode Rust, exploring an allocation-conscious style of programming.
In the ensuing discussion, @jamii name-dropped TigerBeetle, a reliable, distributed, fast, and small database written…
👍5👎1
A discussion of C23 standard - https://queue.acm.org/detail.cfm?id=3588242
This article seems to be all over the internet (hacker news, twitter, reddit). I'm not into C enough to know all the details. But it seems to me that there are some good additions in the standard in the safety area - like checked arithmetic. And I am not sure why everybody hates the new
This article seems to be all over the internet (hacker news, twitter, reddit). I'm not into C enough to know all the details. But it seems to me that there are some good additions in the standard in the safety area - like checked arithmetic. And I am not sure why everybody hates the new
unreachable keyword so much, it's quite ok in Rust with pretty much the same semantics.👍2👎1