5
b2plane
11d

learning rust. shit is boring

Comments
  • 0
  • 2
    and then you'll try to do something super basic and it won't work

    and you can't read anything

    you're welcome
  • 1
    Fuck rust, stopped learning it
    It's being way overhyped by internet retards, almost like a cult
  • 3
    Why does it get so much hate? I’ve never used it.
  • 1
    @ars1 see syntax. They did everything to be different. Being different than any language that did thing quite well about its syntax. I do hear positive things about the crate system tho
  • 2
    I honestly stopped to look at it when it started to become a cult. Rust for Linux drama looks as if Jehovah witnesses were knocking at the doors of Vatican by the way.
  • 1
    The evangelism was enough to turn me off of it. I also don't like the thought of scrapping a good language (c++) instead of fixing it or teaching it differently to avoid the kind of problems the Rust claims to solve.
  • 3
    are you learning this while waiting on the toilet ? :D
  • 2
    @devRancid have to learn this bullshit cause solana is built on fucking rust
  • 2
    @retoor Among the low level languages, it probably has the best dependency management, but let’s be honest : the lifetime annotations are a pure aesthetic mistake.
  • 2
    @Tounai yh, i don't have much understanding about the language. Was about to write a whole story why it would never beat C. Not in wildest dreams. They say it comes close, yeah, with executing exact the same code on both langues. C will beat the hell out of it if it's written in a way it relies on memory cache and free's vars soon in center of function and reuse it again what Rust can't do. "memory safe language". C is too, look how stable the kernel is. But it depends on coder. And yes - it takes some freaking time. But I see it takes some time to become a Rust dev too. So hmm... Rust doesn't look easy at all.

    Fuck, still wrote the story.

    Dependencies in C is kinda hell, that's why a lot is self written I guess. I often give up on a dependency. I love single header libs. I write it myself like that too.

    Thanks for listening to my ted talk :P
  • 1
    @b2plane why do you "have to" Solana?

    also relatedly, RN I am tired of making money. this is not a humblebrag because I'm trading 50$ around and making some cents a day, but im just questioning if this is an exciting form of life I like or what

    like how do I adjust to this lol
  • 1
    @retoor I don't know if rust can do any more performance innovation on top of what C and assembly are

    that's architecture I guess, for the compiler to be engineered to do over the years. in other languages often when you compile they will find inefficient code people typically write and they will rewrite it to a more execution-friendly manner because they're such common "mistakes" programmers make

    I think usability becomes a selling point. how fast can you develop in this language over the other? rust is probably gonna be faster than C to develop in when all other things become equal

    I think in regards to rust the community and their stupidity actually stand in the way of anyone learning or knowing the language. cuz the community itself doesn't know the language. so there's nobody to learn from. there are no experts and the people who sound expert make no sense and nobody can validate them because they've left planet earth with all their new word concepts
  • 1
    @jestdotty true, but I don't mind that C development goes "slow". I'm going like a maniac and since i write C i became way less lazy. It gave me mental stamina. No one makes software with C anymore. I looked for vacancies and it's only for embedded. In Rust they will at least write software. But Rust still has to come from the ground in Netherlands I guess. But I expect it to come, not to replace C what is already gone, but Java / .NET or smth
  • 0
    The book is pretty boring, but you can always just do your own project

    Rust is great, but it forces you to actually think about your code architecture beforehand which feels like a massive pain if you're not used to it
  • 0
    @devRancid @cuddlyogre I don't get why people get their panties in a twist about internet idiots so much

    I mean, literally just don't look at it. Don't consume low quality hype videos and don't read clueless reddit comments

    Rust is just a tool. And its a good one so I use it. Evaluate for yourself instead of listening to coding bros
  • 1
    @retoor the irony is I was a pirate with ad blocker and reverse engineering as a kid

    then I grew up and went to work for a marketing company

    and now I'm learning rust and found out I'm an anarchist (which is philosophy against violence), and increasingly into conspiracy theories and anti government sentiment and distrust,
    but a load of the jobs in rust are for programming drones for the European army war thing lmao, so I'm probably going to go work for the people I have value conflicts with again lmao
  • 1
    @jestdotty European army war thing, is that how you you're calling that over there? 😂 The whole software industry is woke. People having a good life and started to worry about others who don't need it :) I also had value conflicts at my previous job. I was making fun of a German coworker but appearantly they're now a minority too. I really didn't feel good there. It's not that I spit weird stuff 24/7 but I had to walk on my toes anyway. It costed a lot of energy and they kinda felt as enemies. Felt controlled. Didn't feel free
  • 2
    @retoor to me the main advantage of C is that nothing is magic. Now it’s been a long time I didn’t write anything in C.

    Technically, you can free memory early with rust as well, as anything is freed after the curly braces, but it only make the things worst.

    Complexity is the thing that made me drop C++ because you don’t understand what your own code does after a cigarette pause, and I HATE that. And Rust is not at this level, but not that far. When I write something in Rust, I am never totally sure of what is truly happening.
  • 1
    @retoor Now for the dependencies, it’s more a lack of tools than anything else, or maybe, the lack of a tool that is unanimously adopted, which Rust solved the best way possible : by imposing it.
  • 0
    @Tounai in C one thing is clear, you have to make it yourself. You know what you're upto. I did C, but then really want to do seriously C++ and decided that I need more C knowledge and now I can write it like python. Nothing made me so happy and pissed off as C. Everytime I thought that I mastered it: *surprise*
  • 1
    @Tounai cmake, what a joke. I don't understand what I'm reading. Let's built a C pakage manager. We build wrappers that auto find include directories and execute configure if it finds it. We'll accept any project structure, we convert it using symlinks
  • 1
    @retoor oh I'm always holding my tongue, maybe that's why it feels like prison

    I'm basically nobody's taste. I'm like weird ethnic food your grandma who didn't learn to cook until old age cuz she always had the help do that before-level innovation. either beloved or intensely hated, and then some people just laugh nervously and think it's cute

    raaghh imagine not having to hold your tongue. crazy
  • 0
    @Tounai I definitely didn't understand what my code does in JavaScript after a pause

    though it was similarly bad in java I think

    I find with rust I don't know what's going on, everything works when I think no way it should because I haven't double checked everything and have it all loaded up in my head, and if I leave and come back it's oddly very fast for me to know what I did and begin again where I started off from

    I'll even find a bunch of code in codebases I left behind that I have no recollection of was there, and I glance and know how it works. I mean I must've written it.

    in java this could cause annoyance, I'd start rewriting the old code because I'd nitpick stuff. I don't nitpick in rust anywhere close

    in JavaScript I would just throw out the code and rewrite it, and it wouldn't even look anything like the original code, and that was unironically the best way to get sped up to what it does. might explain all the frameworks
  • 1
    @jestdotty C++ is to me the worst on that matter. Nothing is implemented the same way, the language is doing so much that each lib is implemented with totally different concepts, the syntax makes it horrible to read. My main complaint about Rust is that while C is understandable, Rust compiler heavily relies on cryptic magic.
    It’s totally fine for CLI copy cat of C stuff, but when it comes to lower level stuff, it’s the right way to end up with unbearable mess.

    I didn’t include Java or JavaScript because to me, they don’t serve the same purpose. Languages are tools, JS is simpler and allow us to do things faster when performances are a lesser concern than productivity. And Java is a language of another time which combines low speed and low productivity.
  • 1
    It for sure had a place but for most things I find go and C more useful. Quite some C++ use cases where Go just isn't good enough Rust makes sense. That is why I do think that an application like a browser makes sense to write in Rust.

    The cult/hype peak may come to an end. Go had the same over hype bs. Now I see it used too little where it makes sense. Paru for example should never have existed for example Yay could benefit from the extra development that went into Paru, Rust adds nothing here. Network and pacman are the limiting factor.
  • 0
    @12bitfloat It's not twisted panties. It's pattern recognition.

    It is impossible to ignore the incessant inorganic astroturphing about Rust in every forum I visit. The artificial evangelism is enough for me to discount this "tool".
  • 0
    @hjk101 go was very short and powerful yh. Rust is already remaining longer I think
  • 1
    @cuddlyogre Yeah but what have some randos to do with the rust project? Most of the hype bros can't even write Rust

    If it was the core maintainers I would understand, but no, there all chill

    You're limiting yourself from a potentially great language because some idiots somewhere say something... come on
  • 0
    @12bitfloat I don't jump onto hype trains.
Add Comment