this post was submitted on 02 Jul 2023
18 points (66.1% liked)

Rust

6024 readers
1 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
top 31 comments
sorted by: hot top controversial new old
[–] IWriteDaCode 35 points 1 year ago (3 children)

I will never be able to get behind a subscription-based terminal, with so much competition in the FOSS space for terminals, there's just no reason to.

[–] jpfreely 12 points 1 year ago

That's the one problem. An LLM enhanced terminal sounds great. Sharing every command with the cloud does not.

[–] michaelcharles 1 points 1 year ago

I've been using Warp for months and didn't know that it had a subscription service. It isn't in-your-face about it at all, and so far I haven't run into any limitations that have asked me to pay for the paid version. Like seriously, I thought it was just free.

[–] syl 19 points 1 year ago* (last edited 1 year ago) (1 children)

I checked the about page and damn.. It is a for profit company and quite a big team! It consists of 26 people (!) to build a terminal... It is probably going to be a subscription at some point.. Not for me.

[–] IWriteDaCode 15 points 1 year ago

Damn, 26 people, let's assume they get paid reasonably well, though they probably aren't all developers. I'm going to assume 100K on average, just spit balling.

That's two and a half million dollars per year to build a terminal (very conservative estimate). And, like, does it reeeeealy do more then other terminals? Especially when you include different shells with plugins? AI, it's so hot right now, but it is better than zsh or fish autocomplete? I built the simplest AI shell script to ask GPT-4 questions, easy, many FOSS options already out there, is that not good enough for people?

Yeah, I'm just having trouble figuring out how this isn't a waste of time and will implode when seed funding dries up.

[–] ExistentialOverloadMonkey 19 points 1 year ago (4 children)

Why is Rust-based a feature? I don't care how your tool is built, I care for what it can do and how usable it is.

[–] [email protected] 15 points 1 year ago (1 children)

The rust language is designed to prevent entire classes of bugs which are common in other languages, so in theory rust code should be less buggy and more "correct" for the same amount of effort.

[–] RangerHere 12 points 1 year ago* (last edited 1 year ago) (2 children)

I love Rust. Although I agree with everything else, I would definitely not say "same amount of effort".

[–] snowe 8 points 1 year ago (1 children)

I’ve been trying to add features to the site by modifying lemmy and holy cow I completely forgot just how difficult Rust is, especially with hardly any documentation. It’s taking me hours to do something that would take 20 minutes in Kotlin or 5 in Ruby. You get a lot of safety but it does come at a cost.

I’m still enjoying it though, but it is making my head spin.

[–] keef 5 points 1 year ago (1 children)

Yeah its definitely a bit of a leap to start to grasp. I've been working with rust for a little but still consider myself a baby but damn is it a fun thing to invest into. So many layers and interesting ideas to learn

What parts are you enjoying??

[–] snowe 4 points 1 year ago (1 children)

the part where if it compiles it will almost 100% of the time work. Of course, that's not completely the case with some of the database stuff, but pretty much everything else works.

[–] einsteinx2 1 points 1 year ago (1 children)

I feel like I also had the “if it compiles it works” experience with Golang as well, but holy cow is it a much simpler and easier to work with language. I want to like Rust, I really do, but even just the syntax is painful to look at lol.

Also the cult-like community is a bit off putting…never seen anything quite like that for any language…

It does seem to have some genuinely solid benefits though so maybe one day I’ll get into it.

[–] snowe 2 points 1 year ago (1 children)

Yeah I tried Go and absolutely hated it. Way too many downsides to it as well. I am surprised it grew as a language at all.

[–] einsteinx2 1 points 1 year ago

Yeah I have a love-hate relationship with it haha. We used it for our backend and it was rock solid for almost a decade before the startup folded due to the pandemic. I don't think we ever had any unit or integration tests lol, but pretty much if it compiled and the code looked correct it worked and bugs were generally easy to resolve. It was also super simple to deploy because it's just a single binary and it handles threading really well so you only need to run a single instance per frontend VM to utilize all of the machine's resources. Also for backend usage, there was almost always a well written built-in package for about anything we needed either in the standard library or the "extended standard library".

With that said, the language itself...yeah I don't really love it. Especially coming from other modern languages it's missing so many features (basic stuff like generics, etc) and has "weird" (or maybe just different) code patterns. It always took a while to start "thinking in Golang" after working on our other code bases for a while, whereas I could bounce between other languages easily.

So yeah, for performance and reliability it was a 10/10 for us, but the language itself I felt like was a 5/10 for me.

[–] [email protected] 4 points 1 year ago

I guess I phrased that poorly - yeah you'll move faster in other languages, but then you'll have a long tail of debugging. Rust will take longer at first, but you'll have less debugging to do once it's working.

[–] leviosa 11 points 1 year ago

It's got AI too, which means it's extra sparkly good. But points deducted for no blockchain features or running as a bunch of microservices.

[–] [email protected] 8 points 1 year ago (1 children)

Honest answer? Because many of us are tired of experiencing the same bugs over and over again for decades.

[–] dmh 3 points 1 year ago

On terminals? like what?

[–] dukk 6 points 1 year ago

Rust generally means more stable software. Anyone who’s developed a Rust app knows how uncompromising the borrow checker is.

[–] wyrmroot 16 points 1 year ago

I will never use a terminal that requires a subscription to use my own damn computer.

[–] [email protected] 8 points 1 year ago (1 children)

I think the devs have already been made aware, but warp is also the name of a well known web framework for Rust.

[–] [email protected] 6 points 1 year ago

Yes; I met one of the devs a while ago, and we had to have a little disambiguation conversation when he said, "I work on Warp."

[–] Kalabasa 7 points 1 year ago (2 children)

How is it? Anyone have tried it yet?

[–] [email protected] 39 points 1 year ago (2 children)

Top comment from HN discussion:

Makes it a complete no-go for me

iamdamian 9 days ago

I check out Warp every 6 months or so, because I’d love to see more innovation with the terminal, and the screenshots look great. But the story’s the same every time: I download the app, fire it up, and am greeted by a mandatory ‘sign up’ screen and privacy policy, at which point I close and immediately delete the app.

I will never be okay with a terminal that requires me to have a proprietary login to operate on my own local file system with local tooling.

[–] Kalabasa 8 points 1 year ago (1 children)

Wow, why does a terminal app even...

I see it's a (for-profit) terminal app company https://www.warp.dev/about

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

ha ha ha no thank you

[–] Hexarei 4 points 1 year ago

Lol what the absolute fuck

[–] [email protected] 1 points 1 year ago

I love it, has lots of sensible things that should have been fixed forever ago. You can just edit the input like normal text.

It makes blocks out of output which makes navigating output much easier

[–] dukk 6 points 1 year ago

Want a great, FOSS, Rust-powered terminal? Check out WezTerm; I use it daily and it's amazing.

[–] sirdorius 1 points 1 year ago

It seems to do a lot of interesting new things, but the subscription and registration model makes it a no go. Still, this is a net positive, as it might give some new ideas for a FOSS implementation similar to it.