Humanoi
I heard a take: "vibe coding works well when you don't know the language"
So why not just learn the language? 🙃
@nanoqsh.bsky.social
[ru, en] Memory safety enthusiast 🦀
Humanoi
I heard a take: "vibe coding works well when you don't know the language"
So why not just learn the language? 🙃
I think this a fake statistics (unfortunately)
07.10.2025 06:22 — 👍 2 🔁 0 💬 1 📌 0I'll tidy up the environment elements and show them too, but later
06.10.2025 11:35 — 👍 2 🔁 0 💬 0 📌 0A small spoiler of my game 🥰
(I posted a gif but it's too compressed)
Digital horror
04.10.2025 07:05 — 👍 0 🔁 0 💬 0 📌 0Haro everynyan!
27.09.2025 07:02 — 👍 0 🔁 0 💬 1 📌 0Rust is simple and minimal language
Want generics, concepts? - Use traits
Dynamic polymorphism? - Traits
Operator overloading? - Traits
Function overloading? - Traits
Extended methods? - Traits
Auto generate code - Traits (derive)
Mark types - Traits (Send/Sync)
So many features are covered by one
You didn't follow me on github yet? Why?
github.com/nanoqsh
Литерально я
18.09.2025 07:37 — 👍 1 🔁 0 💬 0 📌 0Какая у тя вселенная?
17.09.2025 08:12 — 👍 1 🔁 0 💬 1 📌 0Можно было бы, но в питоне довольно сложно оптимизировать структуры данных. Да и не нужно
16.09.2025 07:42 — 👍 1 🔁 0 💬 1 📌 0Базанул
16.09.2025 03:14 — 👍 1 🔁 0 💬 0 📌 0Based on this concept I wrote a crate that you can easily use crates.io/crates/ni
It also has serde and bincode support 🥰
In fact, I already used this code in my project and I decided to put it in an external crate
And then we could write something like this 💕
Now we can easily create small strings without heap allocations that will be cheap to copy. Isn't that cool? 🦀
(To decode a string actually no allocations are needed either, the decode function is simplified ⚡)
Let's expand the number system to 36: 10 digits and 26 letters. And event up to 37 - let's add an additional symbol for word splitting, like `_`
We can also move the range of characters for convenience, for example it is not necessary to start with the character 0. Let it be `_` for example
Look at this number 3735943902
Nothing special? But what if it written hexadecimal:
0xdeadfade
Now it looks like a text - "deadfade". This allows us to store small strings as integers 🥰
But in hexadecimal representation there are only 6 letters, what if we want more?
Дизайнер окружения плохо поработал. По задумке ты не должна была обращать внимания на этот дом, это не значимая локация
14.09.2025 02:32 — 👍 2 🔁 0 💬 1 📌 054 вообще не профессия 🙂
14.09.2025 02:28 — 👍 1 🔁 0 💬 1 📌 0Кто-то так делает? Если да, то я не удивлюсь. Это в духе плюсерской твердолобости и категоричном отрицании любых инноваций.
Взять те же плюсовые фичи: ренжи, концепты, модули - плюсеры не хотят использовать даже это, что уж про раст говорить?
Не нужно евангелировать то что и так охуено работает
13.09.2025 11:42 — 👍 1 🔁 0 💬 1 📌 0Мог бы растер родиться
13.09.2025 10:37 — 👍 1 🔁 0 💬 1 📌 0Трамвайкор
13.09.2025 10:30 — 👍 1 🔁 0 💬 0 📌 0Мила UwU
13.09.2025 09:03 — 👍 1 🔁 0 💬 1 📌 0This is array::map in particular, but yes, you can also use iter::Iterator in the same fashion 🥰
So you're right, it's just a mapping [T; 4] -> [impl Future<..>; 4], nothing special 😅
But you can also .race() this futures, thanks to this impl from an external crate:
docs.rs/futures-conc...
So cutie 🥰
11.09.2025 22:55 — 👍 1 🔁 0 💬 0 📌 0Note: `race()` here is not part of std, it's an extension docs.rs/futures-conc...
11.09.2025 22:21 — 👍 1 🔁 0 💬 0 📌 0Did you know Rust already has a stable async map in std? 😊
11.09.2025 22:20 — 👍 5 🔁 0 💬 2 📌 0Мила UwU
10.09.2025 19:10 — 👍 1 🔁 0 💬 0 📌 0Очень рад за тебя
10.09.2025 05:24 — 👍 2 🔁 0 💬 1 📌 0