asdfasdfasdf

@asdfasdfasdf@lemmy.world

This profile is from a federated server and may be incomplete. View on remote instance

Regarding sublinks and feeling concerned about what is going on with it ( lemmy.world )

Right now, I'm feeling concerned and wondering what is going on in regards to Sublinks here, since I have created a community for discussion on koalas about a week ago on here and have started and been doing work on it recently. But now I'm hearing about Sublinks and feeling concerned if I created it on the wrong instance or the...

asdfasdfasdf ,

Rust's speed is a cherry on top. The main reason to use it is its language design / correctness guarantees.

I've been programming for several decades and understand nuance and subjectivity vs objectivity when it comes to this, and strongly believe Rust is just objectively much better than Java as a language.

One example is that Rust doesn't have null while Java does. The creator of null gave an excellent talk called The Billion Dollar Mistake about why null was such a bad idea, and said languages shouldn't not have used it. Instead, the alternative he gives is what Rust does.

Things like this are actually hugely important.

Also, Rust was "most loved" language in the StackOverflow developer survey for eight years in a row for a reason.

https://survey.stackoverflow.co/2023/#section-admired-and-desired-programming-scripting-and-markup-languages

Other than Sublinks, I have never seen anyone post about how they really want to work with Java.

asdfasdfasdf ,

I believe Java is the best option for this type of application

Why?

asdfasdfasdf ,

Java is horrible. And Lemmy is open source. We could just fork it and have the best of both worlds.

asdfasdfasdf ,

Exceptions opt out of the type system. The problem with them is the same problem as null. Here's a video of the creator of null explaining: https://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare/

Null and errors are just values at the end of the day, and should be treated as such. Doing so means your code is far easier to reason about.

Rust takes this approach and is one of the many reasons people love it so much.

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...

asdfasdfasdf ,

You actually think there's more Java code than JavaScript? Basically every website in the world feels the need to use JS nowadays.

asdfasdfasdf ,

If you can write off JS because "you have to use it because it's the internet" then I can write off Java because "you have to use it for billions of 20 year old legacy applications".

asdfasdfasdf ,

She does, in fact, explain it in the video. Worth the watch.

asdfasdfasdf ,

How would that even fundamentally make sense? Define “own”. If you post the comment “lol” does that mean I shouldn’t be allowed to post “lol” since you “own” it? How would simply posting something establish ownership? What if you had copied it from a different site?

asdfasdfasdf ,

What does “crowd everyone else out” mean specifically here? People could still choose to use non-Threads ActivityPub apps.

Debunking the Top 10 Myths About Mastodon ( wedistribute.org )

Hey there! Figured I’d share here since my main instance, Lemmy.ml, seems to be really broken right now. I published an article today focusing on some of the myths and misconceptions Mastodon users have spread over the last few years, with some critical analysis and debunking....

asdfasdfasdf ,

Strong disagree about the email thing. When people say that, they aren’t talking about low level implementation details like this article goes into. They’re talking about the ability for Gmail to talk to AOL.

Non-technical users have no idea about implementation details of email anyway, so I highly doubt anyone has ever interpreted it that way.

asdfasdfasdf , (edited )

China*

Please stop saying “mainland China”. It implies Taiwan is part of China, at least to some.

asdfasdfasdf ,

Outside of that very specific context, China == PRC. I understand the history of Taiwan very well, and it’s important for people to understand that they are two different countries.

asdfasdfasdf ,

Show me where. Taiwan claims to BE China, not part of China. That’s a big difference.

Also, they don’t need to claim independence since Taiwan has never been part of PRC. That would make as much sense as France never claims independence from the USA.

asdfasdfasdf ,

This is opting in to Mastodon’s search, not third party search engines.

asdfasdfasdf ,

Why is this necessary? I thought we’ve moved past language-specific IDEs.

asdfasdfasdf ,

VSCode isn’t language specific, is it? Why would they come in handy?

asdfasdfasdf ,

And there is already the Language Server Protocol, which basically everyone else uses.

asdfasdfasdf ,

JetBrains is not representative of every editor / dev. Language servers mean I can use Emacs / Vim / VSCode / whatever else I want and have IDE features for whatever language I want.

asdfasdfasdf ,

That’s a JetBrains plugin. It is just for JetBrains applications, and it closed source, right? Language servers are basically the metric system of IDEs. I can go from Emacs to Vim to VSCode and just use rust-analyzer for my IDE backend.

I don’t understand the benefit of using JetBrains specific plugins that only work with JetBrains.

asdfasdfasdf ,

I noticed that saved items are ordered by their post date, not by their saved date like on Reddit Sync. This makes it super hard to find the latest ones you saved.

Could you add this please?

Is it really a breaking change if a method changes output after an update?

This might seem obviously “yes” at first, but consider a method like foo.debugRepr() which outputs the string FOO and has documentation which says it is meant only to be used for logging / debugging. Then you make a new release of your library and want to update the debug representation to be **FOO**....

asdfasdfasdf OP ,

Very interesting. Good point!

asdfasdfasdf OP ,

I think that’s what they’re saying.

asdfasdfasdf OP ,

What about version()? Every minor / patch update would be a breaking change.

asdfasdfasdf ,

Eric Schmidt was amazing as CEO. Then he left and Page took over. He was okay, but nothing great. Then Pichai took over. He is an absolute douchenozzle and is basically there to just make as much money as possible all while trashing everything that made Google great. Google search sucks nowadays, YouTube is overrun with ads, and nothing interesting at all has happened with Android in a long time.

asdfasdfasdf ,

Definitely would have kept Rust, at least. Rust is one of the fastest growing languages out there (maybe fastest or second fastest), and it’s incredible for the majority of application domains, not just performance related.

asdfasdfasdf ,

I’ve used Rust professionally for five years now, and it is too hard to give a full answer in any single comment. There are so many reasons. You are right, it is a lot more elegant. You can do things with its type system which you can’t in any other mainstream language, because of ownership. It’s really a life changing experience, so I’d suggest you just try it out, build a project in it, and see what it’s like. You won’t regret it.

I strongly disagree about generics / syntax. IMO they’re fine and you’ll learn to love them.

The high level answer I’ll give is that Rust is a language that is designed from the ground up to not make many sacrifices. You can use it for systems programming where you can’t use a garbage collector, or for high level stuff like an API server. It feels high level while also being as low level as you need it to. Its errors are absolutely fantastic. Same with the tooling and package manager.

You should really just see for yourself.

asdfasdfasdf ,

What’s funny is that this is the same sentiment people had when email became popular. www.youtube.com/watch?v=UlJku_CSyNg

Lemmy works the same way as email.

asdfasdfasdf ,

This is fantastic, but I’m not going to sign up for a subscription. I would love to support development and get an ad free version like Pro let me. Will this be coming in the future?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines