537
PieFed be like (thelemmy.club)
you are viewing a single comment's thread
view the rest of the comments
[-] TheTechnician27@lemmy.world 155 points 1 month ago* (last edited 1 month ago)

If this is a dig at Lemmy, Lemmy uses Rust. You'd know that's a popular language if you've kept up with programming news anytime in the last 5 years.

Notice how the OP specifically said well-known and widely used. Yes Rust is currently cool, but way way more people can actually work productively with Python.

[-] Korne127@lemmy.world 80 points 1 month ago

Wait… PieFed uses Python? Holy shit… as someone who regularly uses both, Rust is such a better fit for something like this on this scale. That's actually one of the best arguments I've heard against PieFed

[-] ProdigalFrog@slrpnk.net 43 points 1 month ago* (last edited 1 month ago)

From what I understand, the limitation in speed/scalability for lemmy/piefed/mbin is the database, not the back end language, so the specific language used appears to matter much less than it would seem.

Piefed has some some pretty great features over lemmy, but for the sysadmin side of things, it has a noticeable improvement regarding network resource usage, and potentially raw speed.

Piefed also appears to be less buggy overall. As an example, Lemmy has suffered from a persistent memory leak that's been around for years, with no fix in sight. You can see the opinion of our sysadmin who has been running slrpnk.net (lemmy instance) for 5 years now to find that just because lemmy is built in a memory-safe language, it doesn't automatically translate to a good experience.

[-] Valmond@lemmy.dbzer0.com 8 points 1 month ago

Yeah, hopefully it will move forward faster than the snail pace of rusty lemmy.

I bet more people will be able to tinker with the python sources than rust sources...

Those kind of things do matter!

[-] placebo@lemmy.zip 21 points 1 month ago

Python and bootstrap. Honestly, piefed feels like someone's final cs50 project - which is why I'm hesitant to jump.

[-] Strawberry@lemmy.blahaj.zone 9 points 1 month ago

bootstrap 🤢🤮

[-] onlinepersona@programming.dev 8 points 1 month ago

Lemmy is so heave that @jeena@piefed.jeena.net replaced his lemmy instance with a piefed instance and it's using less resources. I like Rust, but like every tool, it has to be used properly.

[-] acockworkorange@mander.xyz 5 points 1 month ago
[-] Randelung@lemmy.world 4 points 1 month ago
load more comments (1 replies)

Why would it be a better fit?

[-] Miaou@jlai.lu 7 points 1 month ago

Resource efficiency is important for self hosted software. That's one reason matrix is a pita to self host, for example.

[-] Shatur@lemmy.ml 66 points 1 month ago

I think for a large project Rust should be easier to manage in the long run.

[-] SpaceNoodle@lemmy.world 9 points 1 month ago

Well, you've got another think coming.

[-] DarkSideOfTheMoon@lemmy.world 5 points 1 month ago

Also it’s safer and much faster than python.

load more comments (1 replies)
[-] TheTechnician27@lemmy.world 39 points 1 month ago* (last edited 1 month ago)

Notice how the OP specifically said well-known and widely used.

I did notice. If Rust isn't "widely used", then I'll need to let Apple, Microsoft, Google, Amazon, Mozilla, Huawei, Meta, the Linux kernel devs, and a fuckload of open-source projects know that they actually don't exist.

It's plently widely used, and unlike ~~a scripting language~~ (edit: Python), it's performant – as server software should be. Rust is not a hard language to use or learn either, and it's great for large projects.

[-] r4venw@sh.itjust.works 15 points 1 month ago

While I agree with the general sentiment, scripting languages are perfectly fine to use for server software. Would you call hackernews slow? Its been running on lisp (originally Arc, now common lisp) for its entire existence. Another fun example of popular interpreter is, y'know, the JVM.

[-] SlurpingPus@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

Common Lisp could be compiled, so not the best example.

Lua is a way better example, since Lua scripts often finish in the time it takes Python to get going at all. And that's with interpreted Lua, without JIT. I once straight up had to recheck if I left the dummy static output in there instead of calling my script, because the result was appearing instantly.

There's also Fennel, a Lisp compiled to Lua on the fly. Since Lua is so snappy, the compilation overhead is unnoticeable.

[-] rimu@piefed.social 7 points 1 month ago* (last edited 1 month ago)

Performance is an attractive metric because it's something you can put a number on. It's measurable, so comparisons are easy.

But there are so many other metrics that are more important.

Still, https://leafo.net/lapis/ looks like something I'd like to try sometime. I don't know anything about the Lua web framework ecosystem, that's just the first search result I found. Do you have any recommendations?

load more comments (3 replies)

I would be surprised if you'd argue that more devs can write Rust than Python.

Web servers spent most of their time with IO, because the real work is mostly done by the DB. That's why especially Node is very fast and influential design wise. But PHP, Ruby and Python are all very popular and valid choices for web servers. In the end, if you need real performance you have to scale horizontally anyways. And the small gains you make in a compiled language matter even less.

[-] RollForInitiative@feddit.org 7 points 1 month ago

Coming from a Python and Java background Rust is way harder to learn. Don't get me wrong, i like Rust, but it feels way harder. But i agree that its great for large projects and performance-wise!

[-] davidagain@lemmy.world 4 points 1 month ago

Rust is not a hard language to use or learn

Rust is a superb language, but it is famously not easy to learn.

load more comments (4 replies)
[-] Miaou@jlai.lu 18 points 1 month ago

Way more people work with python, productively is arguable

[-] FluidBeef@quokk.au 20 points 1 month ago

It’s not popular if you rate it by actual usage, which is probably more meaningful than it seeming kind of cool.

[-] corsicanguppy@lemmy.ca 20 points 1 month ago

if you rate it by actual usage, which is probably more meaningful

I can see those goalposts move right before my eyes!

I have no dog in this fight - flame away - but I'm offended by the sparkle-junkies calling [arbitrary non-rust language] old on a daily basis and somehow deciding some arbitrary measure of popular+shiny is a replacement for 'good' in some bizarre idiocratic glorification of naïveté .

[-] victorz@lemmy.world 7 points 1 month ago

I like the way you phrase things there, pal. 👌

[-] null@piefed.nullspace.lol 3 points 1 month ago
load more comments (1 replies)
[-] OpenStars@piefed.social 19 points 1 month ago* (last edited 1 month ago)
  1. ~~59%~~ (edit: 58% apparently) vs. 15% but who's counting, right?

chart

- source, for 2025

  1. it's less about the language than the choice to be welcome to contributors - especially older people who have more free time to devote to unpaid volunteer development, rather than younger people who know Rust but are already working 2-3 jobs

  2. more to the point it's meant in fun :-P

[-] calliope@retrolemmy.com 20 points 1 month ago* (last edited 1 month ago)

If it’s Python, that’s 58%. SQL is 59% and I would be pretty surprised if piefed is pure SQL

it's less about the language than the choice to be welcome to contributors - especially older people who have more free time to devote to unpaid volunteer development, rather than younger people who know Rust but are already working 2-3 jobs

This reasoning is really bizarre, btw. Never once heard of someone choosing software because it appealed to older developers.

I’m an older developer. Rust seems so much more interesting to me than yet another python service. Oh boy is it Django??

[-] mesamunefire@piefed.social 23 points 1 month ago* (last edited 1 month ago)

Piefed is flask + python. Its very easy to read in my opinion. Very boring code. I knew nothing about it but threw a PR in there just for fun.

Django is my goto for personal projects too. And at work we use fastapi. They all kinda blend together now in 2025/26.

Personally I stopped caring about languages a decade into my career. As long as its boring and standard-ish, I'm happy. If it takes me a ton of time getting every dependency under the sun, the project is unstable/constantly breaking, and/or requires me a degree to even look at it, then im not going to contribute.

Lemmy is harder to read as a project than piefed. But both are good. Its not a "vs" we should just let both communities do their thing and be happy someone on their weekends wants to support our sorry asses.

[-] Truscape@lemmy.blahaj.zone 3 points 1 month ago

Certified facts!

[-] SubArcticTundra@lemmy.ml 3 points 1 month ago

A true pragmatist

load more comments (1 replies)
load more comments (3 replies)
[-] FosterMolasses@leminal.space 12 points 1 month ago

Lemmy uses Rust

Is that the one I keep seeing kneehigh sock memes about?

[-] Valmond@lemmy.dbzer0.com 15 points 1 month ago

For rust you need leather socks.

[-] HeyThisIsntTheYMCA@lemmy.world 5 points 1 month ago

leather kneehighs?

[-] Mika@piefed.ca 8 points 1 month ago

Rust is a good low level language. I'm not sure if it fits this species task the best.

[-] OpenStars@piefed.social 4 points 1 month ago

As others are saying here, the real work lies in the underlying database system rather than the actual back-end. Yes Rust is a good system language, but that didn't stop Lemmy from having a memory leak, and Python is also good(-ish), at least enough to make it happen. Possibly not as well at larger scales... but with subscribership falling rather than rising across the Threadiverse, that's not really a major concern at the moment.

Especially compared to features that will attract those new people, and thereby content, if such people did end up coming.

load more comments (1 replies)
this post was submitted on 28 Dec 2025
537 points (91.5% liked)

Fediverse memes

2889 readers
3 users here now

Memes about the Fediverse.

Rules

General
  1. Be respectful
  2. Post on topic
  3. No bigotry or hate speech
  4. Memes should not be personal attacks towards other users
Specific
  1. We are not YPTB. If you have a problem with the way an instance or community is run, then take it up over at !yepowertrippinbastards@lemmy.dbzer0.com.

Elsewhere in the Fediverse

Other relevant communities:

founded 1 year ago
MODERATORS