9
submitted 4 years ago by wagslane@lemmy.ml to c/programming@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] exapsy@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

Nop nop nop! If I ever make a single API in Rist ever again I’m gonna go to the last apartment’s floor, break the door for the roof, get a power cable from one of the solar panels installed there, tie it up to the door handle and then run and jump so I have a less painful death than writing a Rust “microservice”.

Rust is beautiful language. In its own weird way. But not for multithreading async communication. Let’s not start talking about tokio and async-std and their controversies and the language hasn’t figured out yet a standard way to do async. And definitely not for connecting to databases or other standard things you do very easily in Go or NodeJS, especially in Go where you have Goroutines and really easy to read and write maintainable code. Last time I wanted to connect to a database in Rust for a microservice I was doing 100 times more leaning the “ecosystem” of Postgres in rust or MongoDB, and I still didn’t manage to do it and so I thought wait a minute, every single time I’ll have to figure or someone else these shits out? Fuck it, back to Go.

I’ll do other things in Rust. Like pure system programming. Just …….. not web services.

[-] Arghblarg@lemmy.ca 2 points 1 year ago

Different tools for different jobs. If performance was the absolute, only metric then garbage-collected languages would not exist (and trust me, I'm no fan of Java, but like Go a lot -- and its GC is pretty good AFAIK). Python has its place, even if it will never be as fast as C/C++/Rust.

[-] exapsy@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

Exactly, each tool for its job. Comparing tools like they're models (edit: Super models, as in Victoria secret, god I forgot we're nerds and we might think other things with term "model") in a model competition is just stupid and tired of seeing it.

Even at this point, in a world where Rust'ers LOVE to say "Rust is better than C++", C++ has its massive place in comparison to Rust because Rust treats you like a kid and in C++ you can build unsafe code for embedded systems and very low level code with more reliability and less maintenance and you'll be sure for it to be supported.

I'm for improving all languages, I mean the ones we use regularly, and for evolution or even building new languages to solve problems in a better way. But when it comes to just pure stupid comparisons and comparing apples to oranges it's just frustrating.

this post was submitted on 29 Sep 2020
9 points (90.9% liked)

General Programming Discussion

7711 readers
13 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS