this post was submitted on 23 Jan 2024
14 points (100.0% liked)
Fediverse
28351 readers
411 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have higher hopes. Java is three times more developers than Rust (https://www.statista.com/statistics/793628/worldwide-developer-survey-most-used-languages/), and you can see in this thread a number of people saying they could contribute as they know Java and not Rust.
Let's hope for the best.
Just peeking at the source code and it all looks like pretty standard stuff. Looks just like apps I've worked on at several jobs.
Is it sexy? No. But a lot of people have experience with this and could help develop.
Only time will tell if this project pays off though
I'm pretty sure Nutomic was a Java dev before starting work on Lemmy and learning Rust from scratch. That by itself should already speak volumes.
One-Up projects like this rarely ever turn out well, that's from my own experiences. Even though this isn't a popular view, I still think I'm right on this one, we can circle back in say, 6 months, to see if my predictions are right.
it it common to announce a 'major rewrite' without having it complete?
i mean, at the moment, theres little to discern it from lemmy at the moment... why make a big public proclamation about it before you even touch the front end?
To get contributors to the backend?
i guess. i would think there are better avenues looking for devs though
I also was a professional java dev, and also had to use spring boot in most corporate environments.
I don't wanna knock anyone's re-write, because I know how difficult it is to dissuade someone when they're excited about a project. But to me, starting a new project or doing a rewrite, is the best opportunity to learn a newer, better language. We taught ourself Rust by coding lemmy, and I recently learned Kotlin / jetpack compose because I wanted to learn android development. Learning new languages is not an issue for most programmers; we have to learn new frameworks and languages every year or so if we want to keep up.
This is potentially hundreds of hours of wasted time that could be spent on other things. Even if someone absolutely hates Rust and doesn't want to contribute to the massive amount of open issues on Lemmy, there are still a lot of front-ends that could use more contributors.
That is true, I used to be an Android developer and then learned Rust by writing code for Lemmy. Are you by any chance my new stalker?
And if we're comparing the languages, the fact alone that there are no Nullpointerexceptions makes Rust infinitely better than Java for me. I also agree that this sort of copycat project will soon be forgotten. For example have you ever heard of Rustodon?
what's wrong with having null pointer exception?
Null is terrible.
A lot of languages have it available as a valid return value for most things, implicitly. This also means you have to do extra checking or something like this will blow up with an exception:
There are a ton of solutions out there. Many languages have added null-coalescing and null-conditional operators -- which are a shorthand for things like the above solutions. Some languages have removed the implicit nulls (like Kotlin), requiring them to be explicitly marked in their type. Some languages have a wrapper around nullable values, an Option type. Some languages remove null entirely from the language (I believe Rust falls into this, using an option type in place of).
Not having null isn't particularly common yet, and isn't something languages can just change due to breaking backwards compatibility. However, languages have been adding features over time to make nulls less painful, and most have some subset of the above as options to help.
I do think Option types are fantastic solutions, making you deal with the issue that a none/empty type can exist in a particular place. Java has had them for basically 10 years now (since Java 8).
When consuming, it makes you have to handle the null case, which you can do a variety of ways.
No, it was on that AMA you guys did months ago, and I remember things about people.
Very impressive! The only thing I can remember well are places.
Java is a corporate language that most devs hate. Rust (Lemmy) is more popular as a hobby language that devs enjoy hacking in for fun.
As a java dev, I can say that we hate working with java and love working with java at the same time.
Ah, an anime consumer. Explain to me why FMA:B is the greatest anime ever made?
fmab is another regular anime that's overshilled.
That's bullshit, frankly
Citation required, because strangely enough people whom I hear about complaining about Java never seem to be the good developers but the ones I wouldn't hire
Hm, Java is hated by devs, but still 2nd language on GitHub with 11,7% of the total code hosted, while Rust is number 13 with 1,8%?
https://madnight.github.io/githut/#/pull_requests/2023/4
How much of that 11.7% is 35-character class names?
I'm only half joking.
It’s by amount of pull requests, so the length of class names and other Java boilerplate doesn’t count.
Stockholm syndrome.
And even more, the Lemmy codebase doesn't really have any important developers besides the two main devs: https://github.com/LemmyNet/lemmy/graphs/contributors.
Even looking at the contributions to something like Mbin, which has been around for much shorter, you already see 6 people with more than 50 commits, while Lemmy has one
https://github.com/MbinOrg/mbin/graphs/contributors
We have 13 contributors with Sublinks so far. I expect more will come after the announcement.
Java devs like you need to step away from the PC and stop assaulting the world with a terrible language. You should be ashamed of yourselves for inflicting decades of misery on the world.
Java will go the way of COBOL. The future is Nim.