this post was submitted on 26 Aug 2021
18 points (100.0% liked)
Lemmy
12718 readers
59 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to [email protected].
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is the programming language really the bottleneck when dealing with web servers like that? The last time Lemmy became slow it was because of the way the database was used and not because of CPU/RAM bottleneck with Rust if I remember correctly. Good job by the way on fixing it, Lemmy is really snappy and I like it!
I guess Lemmy will struggle when there will be posts with thousands of comments but we are not there yet. In this case Rust wont help much and only a better API with pagination will (if it's not already implemented), though I guess Rust certainly helps a bit.
Rust is just a really nice language (no null pointers or anything similar). We arent using it for performance reasons, thats just a nice bonus.
Once this is implemented, large threads can be handled much more efficiently.
Yep, I find rust amazing too. I just think that the ecosystem has some maturation to do, there are still many major crates not having reached version 1.0, but we're getting there, and some compiler features (GAT, const generics) will soon make some of my grievances go away.
Glad to see you're already working on thread pagination. Pagination for something with a non trivial sorting order doesn't seem easy to solve. Lemmy is amazing thanks for everything!