mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.8K
active users

#rustlang

52 posts49 participants0 posts today

Started #Rustlings, a #RustLang tutorial thing (on a recommendation here). The first several exercises made me concerned that it might be stuff I’ve already learned. I checked ahead in the repo and it looks like the later stuff is appropriate for me. Tried not to spoil anything.

Replied in thread

@galdor I see your point, and idiom in #RustLang agrees with you. Import such that at the call-site you say `module.identifier()`.

On the one side (the side that disagrees with you), my IDE typically tells me where naked `identifier` is defined (either #PyCharm or #HelixEditor in my case); and it’s the most common case in #Python code I have read (and I’ve been programming in Python for decades).

On the other side you’re not always hovering as you read over big blocks of code. Naming the origin module is informative.

In the middle, it’s not needed for a lot of things, especially stdlib and common packages. It seems like a fine line and I’m not quite certain what the best behavior is.

Sigh, I think I might have to switch away from #VisusalStudioCode. Seems the only stuff they work on is #AI, to the detriment of everything else.

Shall I move back to #vim? Or rather #neovim. Do I still have the patience to configure that just the way I like it?
I could also try out that newfangled #zed editor that is getting all the hype these days.

One must-have feature is it having good vim keybindings though, I'm lost without them.

#SoftwareDevelopment #golang #rustlang #rust

Replied in thread

@rust@social.rust-lang.org@social.rust-lang.org@social.rust-lang.org_discussions@mastodon.social

It’s @rust here — who could do with including the #rustlang hashtag in their toots (please & thank you)

Edit: the penny drops, my client’s also shortening the name by dropping the domain. In case that’s true for you:

rust @ social.rust-lang.org

Continued thread

🧵 And now, the part 3 or my series of articles on how to build a #crossplatform #searchengine, in #rustlang.

📰 This article is about how the sharding mechanism works.

💬 Enjoy reading it, feel free to provide me some feedback, here or directly on GitHub 😃

:fediverse: If you enjoy it, feel free to share it on other platforms!

🔗 Here is the link: jdrouet.github.io/posts/202503

jdrouet · Building a search engine from scratch, in Rust: part 3Or how we'll implement sharding and transactions for our search engine.

Hmmm, according to the #Phoronix comments, #Rust #Rustlang is both woke and fascist ...

At least they red-flag themselves so quickly that it doesn't take me long to decide they belong on my block/ignore list

It's a shame, that every new reader of the Phoronix comments is subjected to loads of toxic rubbish