slowing converting from a rust skeptic to rust maxi. the compiler will initially frustrate you but it is really just trying to teach you something important.

The haskell compiler is similar in a way: it forces you to think about the separation of side effects from pure code. Rust forces you to think about the correctness of references to objects in memory.

Initially it is frustrating but in the end it leads to enlightenment.

Reply to this note

Please Login to reply.

Discussion

Happy new year, may all your objects live long enough 🎉

#rust Fun timing. Have you checked out No Boilerplated videos?

No what’s that

thanks nostr:npub1ktnh0jp8ugppt6g94wgtdkqatwztuklkdj2yec6fgd2qk33w5d3q3z7kn3! This guy has amazing videos on Rust. They are sort of intro videos though they are very comprehensive.

Excellent. All is going according to plan.

#m=image%2Fgif&dim=360x360&blurhash=UhSO%7B%25jFTdofj%5Dayg3fk*JbIm%2CbHoyoeive.&x=83841c37ea43faf7e7fec730dc607891fdfd84cee7e38bb2d6815306978d65ee

Just starting my rust journey. So far liking it, but its going to take awhile before I become proficient with it.

Have you tried Go yet? Curious to hear you compare them if so. I know nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 likes Go. Not sure if he has worked with Rust.

Go is the “worse is better” in its purist form. Nothing exciting about it, but it works fine. The boilerplate can be a bit icky at times. I used it a lot of my previous job.

afaik I know I wrote the first public go library called go-twitter a day or two after go was publicly released (sometime in 2010 a think?). Found a few bugs in the json standard library.

So yeah i know of it lol 😆 I can’t help myself when it comes to shiny new langs

IMHO, rust and go are the successors to Java. Rust, for systems or security, and go for scalable networking.

Go is also big on channels and IO-driven scheduling.

yeah goroutines is definitely the most interesting thing about go, implicit interfaces as well I guess? Otherwise its a bit meh.

Their compiler cross compiles without additional setup. Probably due to static linking which I am not really a fan of in theory, in practice it makes deploying people's Github projects easy but eh, much of a muchness.

The “happy new year” bots beneath this post are hilarious 😂

Check your DMs Tristan, let’s chat.

And lastly, look. Simple is sometimes good. Most people dont need a bazillion different features or like shiny new things, good enough and a goof ecosystem is good IMO.

Go seems to solve many people's problems as a "better Python", that I am happy for. Python is horrid for anything but scripting.

Go kind of seems like the middle-way.

Less advanced than Rust and C++ but still fast & compatible across so many operating systems.

Looks like Scala loses to Go in every aspect except the important one.

Learn rust and get an automatic degree in computer science

Yeah, no

I dunno, you can get pretty deep into low level concepts. What’s something you think is taught in a typical bachelors that you wouldn’t be exposed to when learning and building stuff in rust?

I’m a rust amateur and I’m curious to see if I’ve missed something.

This is the way

D is enlightening

SmallTalk was like that for me in the early days of shifting from procedural to object-oriented

Which do you like better, rust or swift?

On the road to Rust in 2024. Been a Python dev for 6 years, going to be a lot of paradigm shifts

I need to try Rust. I have used Haskell for years. When would Rust be more appropriate over Haskell, in your opinion?

Rust libraries are so good these days I would probably choose it over Haskell in most situations. Before i would say Haskell is better for server stuff but im not sure thats even true anymore

How's your functional reactive programming.

Btw rgd. "server stuff". Haskell is expanding into the desktop, mobile and web spaces. SimpleX's desktop and mobile apps are written in (mostly) Haskell and you know that.

Haskell web frameworks like Miso are looking good -- have used Miso for a small-ish web app, I don't see why it wouldn't scale to something bigger.