Sublinks Aims to Be a Drop-In Replacement for Lemmy

Sean Tilley@lemmy.world to Fediverse@lemmy.world – 358 points –
Sublinks Aims to Be a Drop-In Replacement for Lemmy
wedistribute.org

Seems like an interesting effort. A developer is building an alternative Java-based backend to Lemmy's Rust-based one, with the goal of building in a handful of different features. The dev is looking at using this compatibility to migrate their instance over to the new platform, while allowing the community to use their apps of choice.

310

You are viewing a single comment

I have a hard time believing that rewriting the backend from scratch would be faster than getting PRs approved on the main project.

Forks like this with one guy who "knows best" usually die a slow quiet death as they get left behind by the main project.

I think how quickly this project has gotten to near feature parity is a testament to how slow Lemmy development has been. Think about scaled sort (a feature that has been hotly requested since the migration) and how long that took to get merged in. A sort should not by any means be slow to implement.

A sort should not by any means be slow to implement.

Sure, if the sort key is something readily available. But for scaled sort they have to compute relative size/activity of the communities the specific user is in. The cost isn't the sort, it's computing the metric.

I'm not talking about the literal sorting algorithm. Pretty sure scaled sort is exactly one more operation than hot.

4 more...

[This comment has been deleted by an automated system]

I’m a Java developer and I would much rather pick up Rust to join an active project than try to rebuild something that already works using a less-marketable language.

Sure, but it’s a lot more work for you to get to a point where you can be an active contributor.

Is it really a lot of work for an experienced dev? I can pick up most new languages in a day or 2 unless it's a total paradigm shift.

1-2 days is enough to learn the basics, but I doubt you’ll be as nearly as productive as with something you’ve been using for years. Keep in mind that new languages also mean new frameworks, etc, some which take years to actually master, but at least months to get a good handle on them.

Also, from my understanding, Rust is a bit of a paradigm shift.

Yeah but there's a big difference between having "picked up" a new language and being on the level where you can viably add useful code to a distributed federated deployed platform.

I have 12 years in Java by now, I'm fairly confident with it. Rust, yeah no, not for production code.

Sure, anyone can pick up a new language or two over a weekend. That doesn’t mean they are confident enough to contribute to large scale programs with it. That takes much longer to learn.

Yeah I agree. Rust is an excellent language when you absolutely must be as safe as possible but don't want garbage collection. But there is a level of precision required of developers which makes it slower to development in. Other languages like Java, Python and Go are all quicker to develop in. Java is much easier to refactor IMO

5 more...