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
Forwarded from Awful Rust snippets for fun and profit
so, a quick PSA moment
The Rust Foundation (not to be confused with The Rust Project, who actually develop Rust) is currently planning to put up trademark policies that are so restrictive that this channel would be affected. essentially, they want to prohibit usage of the word “Rust” in names of any projects, including non-commercial. (they also banned a bunch of stuff like modifying Rust logo and selling Rust merch).
that’s kinda awful. if you also find this policy kinda awful, please, express your disagreement in the feedback form. as far as I understand, it would be open for a week.
sorry for offtop & pinning, I hope that won’t happen again.
The Rust Foundation (not to be confused with The Rust Project, who actually develop Rust) is currently planning to put up trademark policies that are so restrictive that this channel would be affected. essentially, they want to prohibit usage of the word “Rust” in names of any projects, including non-commercial. (they also banned a bunch of stuff like modifying Rust logo and selling Rust merch).
that’s kinda awful. if you also find this policy kinda awful, please, express your disagreement in the feedback form. as far as I understand, it would be open for a week.
sorry for offtop & pinning, I hope that won’t happen again.
👍5👎1
So it's time to rewrite our bash noscripts in Rust I guess🤷♂.
But seriously:
- We already have
- It's an awesome feature for prototyping - Rust online playground isn't as versatile
But seriously:
- We already have
build.rs noscripts, so having more Rust noscripts in the repo that uses Rust probably wouldn't hurt- It's an awesome feature for prototyping - Rust online playground isn't as versatile
Rust Internals
Pre-RFC: `cargo-noscript` for everyone
Feature Name: cargo-noscript Start Date: 2023-03-31 Source (edit history) Demo Summary This adds support for so called single-file packages in cargo. Single-file packages are .rs files with an embedded manifest. These will be accepted with just like Cargo.toml…
🔥8❤1👎1
In Rust it's mostly "and also write a book". Doc comments are really good for most of the libraries on crates.io
👍3👎1
Hah it's nice to see the project I worked at previously trending in crate of the week. Good job Qdrant team!
👍6👎1