317
submitted 8 months ago* (last edited 8 months ago) by ssm@lemmy.sdf.org to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Doombot1@lemmy.one 34 points 8 months ago

Meh? I write pretty much exclusively in C and honestly I still like C++ better, and wouldn’t mind switching to Rust either

[-] Funkytom467@lemmy.world 18 points 8 months ago

I started with c++ so does c really has advantages over c++ ?

And yeah same, Rust seems to be pretty cool too, at some point I'm gonna try it...

[-] Doombot1@lemmy.one 3 points 8 months ago

I started with C++ too, and then ended up finding a job writing firmware pretty much all in C. There really hasn’t been anything we’ve run into that’s made us consider switching to C++; being able to (and needing to) have complete control over your memory means you can do some pretty fancy stuff with the tiny amounts of memory on our ASICs.

We’ve been eyeballing switching to rust a little bit, but really only for other applications; the root of our main code base is over 25 years old at this point and a rewrite would take a Herculean effort.

load more comments (3 replies)
load more comments (5 replies)
this post was submitted on 08 Jun 2024
317 points (96.2% liked)

Programmer Humor

32707 readers
480 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS