Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 2228

Rust vs C

by neonlight1 - 16 February, 2021 - 08:00 PM
This post is by a banned member (neonlight1) - Unhide
1
Posts
1
Threads
3 Years of service
#1
Has anyone here used rust instead of C for their new projects? How did it work out for you?
Was it more productive because you didnt have to worry about memory safety?

Or did you find the borrow checker to slow you down?
This post is by a banned member (carrie) - Unhide
carrie  
Supreme
107
Posts
2
Threads
3 Years of service
#2
C wins by far. I was quite a fan of rust before but came to realize that it has the exact same issues as C++ just shown differently. Cross compatibility is often bullshit unless your program is a "Hello world", each dependency is like 200mb of pure shit, and each dependency has 8 others.

C on the other hand is faster, simpler. It can be painful when dealing with memory. You see the thing with C is that the syntax is simple, but you get no object-oriented anything. No this, no that, no classes no abstractions. This can be a slight issue and extend the size of your code aswell as the order of it. I would choose C since with C you can make sure your code is fully portable.

Most libcs such as cosmopolitan, or the more widely used GNU libc focus on your code being compatible and portable, to be run anywhere. This is a great advantage with C but you will often have to use macros to switch between shit depending on the OS.
shitting rn

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)