top | item 46361654

(no title)

jtchang | 2 months ago

Fundamentally is there anything you can't write in rust and must write in C? With AI languages should mostly be transposable even though right now they are not.

discuss

order

t-writescode|2 months ago

Why rewrite something with multiple decades of validation and bugs-now-depended-upon-features?

Word and Excel almost certainly have 30 year old C++ code that #must-not-be-touched, bugs and all.

canucker2016|2 months ago

So they're going to port Microsoft Edge web browser to Rust?

Are they going to upstream their changes to the Google Chrome-codebase?

HackerThemAll|2 months ago

Security. I know it's boring for most, but important for those who need to handle cybersecurity issues.

jiggawatts|2 months ago

Some of the “algorithms” libraries in C++ are very difficult to express in safe Rust and might require proc macros.

Most anything related to “intrusive linked lists” is difficult or outright impossible in safe Rust, but is commonly used in operating system code.

LeFantome|2 months ago

To be fair, one of the main reasons linked lists are used is that more advanced data structures are too hard at the OS level with C.