Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "memorysafe"
-
A word on languages.
I really like C, did it since I'm 11 at school with some Pascal. Simple language, 32 reserved words (unlike COBOL ahem) and never wanted to change, just discover some new languages, never replace it.
I saw Rust in 2020, and it catched some of my time, like a year. It's not bad, but you feel strangled with rust. In C, I can walk on water, and my programs run in under a second with less than 100mb.
The syntax [Rust] is also hard and ugly.
So C won over Rust.
Then Go, in 2022. Better syntax than Rust, prettier code and it had a garbage collector ! Works easy. But still, C was better. Faster programs, I can do whatever I want.
Then I discovered Zig in 2023. It was cool bc I could cross-compile C and C++ alongside Zig. The Syntax (yeah third time I repeat it) was annoying. Like Rust. But I like the fact there is no memory-safe aspect in the language design.
So even now, I use C and sometimes Assembly (doing a bootloader for my [breadboard computer](https://github.com/3dgoose/65b02), I know there's no MarkDown in DevRant) for some lowlevel projects and god does it go fast : 50kO max for assembly and 10mb for C, with some amazing compile time ! In fact I did a program to estimate Pi with Montecarlo method in Rust and Python and it got 20 minutes for 10^10000000000000000000000000000000000 while C and Assembly got 70 second (I swear at this point).
The world now is preferring memory safe languages like Rust but if you know how to manage memory in C, why use Rust ?
Sorry for bad english, bye
I hate C++16