Rust?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
w64bit
Posts: 253
Joined: Wed Jan 09, 2013 9:06 am

Rust?

Post by w64bit »

I understand that Everything is written in C.
If the code was written in Rust, can this improve the program in any way?
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Rust?

Post by therube »

(I thought it was assembler?)

Rust rhymes with crust.
Rust is a type of corrosion.

Rust is empowering.

While I do like crust, whenever I read "empowering" I know something not good is to come of it.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Rust?

Post by NotNull »

therube wrote: Fri Feb 02, 2024 3:51 pm (I thought it was assembler?)
Around 5% was written in assember (in 1.4; 1.5 is twice as much code as 1.4, so probably even less than 5%)
The large majority is in C.
w64bit wrote: Fri Feb 02, 2024 2:44 pm If the code was written in Rust, can this improve the program in any way?
A non-developer take on this:
Rust can help protect code from memory addressing issues like buffer overrun and -underrun. Those are quite seldom in Everything and moreover: get fixed within a blink of an eye.

Converting half a million+ lines of code from C to <any other language> will halt further development of Everything for many years.
Not worth it, in my opinion. Using Rust for developing a new application: that's another story ..
Post Reply