this post was submitted on 15 May 2024
1315 points (98.5% liked)

Programmer Humor

19488 readers
598 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ephera@lemmy.ml 73 points 5 months ago (5 children)

We currently have a student for training and had her learn Rust. After two weeks or so, she told me that she had a really hard time finding anything about Rust, and it became clear that she was really confused and thought Rust was some fringe technology that no one uses.

And yeah, no, search engines just got obliterated by LLM spam since the last time she had to learn a new technology. Seriously, I remember getting better results about Rust back in 2018, when it was really still relatively fringe...

[–] eco_game@discuss.tchncs.de 26 points 5 months ago (3 children)

In that case you can try adding before:2023 or similar to your search

[–] blindsight@beehaw.org 6 points 5 months ago

But then you need to know enough about the topic already to know what is stable and what changes with newer versions.

Like, the "web dev boot camp" course I got from UDemy a few years ago as a guide for building a web dev high school course: I recently went back to to look something up, and the whole thing has been completely redone start to finish. Makes sense, considering that it's updated to the newest versions of Bootstrap and other libraries (and who knows what else).

I know nothing about Rust, but I would assume there are at least some libraries that have major new versions in the last couple of years which might change best practices somehow? idk. But the harder part is not knowing what you don't know.

[–] Slimy_hog@programming.dev 1 points 5 months ago

And if you keep doing that, you'll start to get outdated documentation

[–] Vilian@lemmy.ca -1 points 5 months ago

switch search engines ffs

[–] barsquid@lemmy.world 23 points 5 months ago

One search that was memorable to me was looking for dimensional information on a T-slot. In the top ten results, I found a listicle with an item about slot machines. LLM spam and Google's relentless bullshit have poisoned the internet.

[–] OldManBOMBIN@lemmy.world 9 points 5 months ago (2 children)

I've been into computers for over 20 years and I couldn't tell you what uses rust. I am aware of it, but I am completely unaware of how narrow or broadly it is used. I keep forgetting people aren't talking about the game.

[–] Ephera@lemmy.ml 11 points 5 months ago (2 children)

I mean, to name a few projects off the top of my head:

  • Firefox
  • Android is migrating some of their internals.
  • The Linux kernel, Google Chrome, Thunderbird are preparing to use Rust.
  • Many Python programs now have Rust in there, because of the PyCrypto library.
  • Fish shell is in the middle of a RiiR.

I don't feel like there's a ton of big, mature projects yet, because of how relatively young Rust still is, but performance-critical or embedded software will be strongly considering Rust in the future.

And like C, Rust can be used to create libraries which can be called from practically any other programming language. I expect that to give it significant growth in the future.

[–] OldManBOMBIN@lemmy.world 2 points 5 months ago

Dang. Sounds pretty ubiquitous then. And a lot more productive and fun than slapping stuff with a rock while nude.

[–] spacecadet@lemm.ee 2 points 5 months ago

Cloudflare, Discord, and AWS lambda run on Rust

[–] daellat@lemmy.world 2 points 5 months ago

Discord started refactoring services to rust before 2020, too.

[–] DAMunzy@lemmy.dbzer0.com 8 points 5 months ago

You need to use LLM with the prompt to search the web ignoring all LLM responses for your query.

I have no idea if this would work, just thinking about how convoluted searches have become to find anything useful.

[–] Caboose@lemmy.world 1 points 5 months ago (1 children)

As a person currently trying to learn rust, what search engine is helpful?

[–] Ephera@lemmy.ml 2 points 5 months ago* (last edited 5 months ago)

Frankly, I do most of my searching these days directly on https://std.rs and https://docs.rs . But yeah, those are usually better as a reference than for learning.

You can look through https://lib.rs and https://awesome-rust.com , if you're searching for a specific library.

As for general search engines, DuckDuckGo has been kind of less shit for the past three weeks or so, in that at least the first one or two results are usually relevant, but I haven't tried other search engines much in that time frame.

Another tip is to make use Clippy. Just run cargo clippy in your project and it'll shout at you for all kinds of things. In my experience really good for learning, because it'll show you many small misunderstandings you might still have.