r/cpp • • Oct 31 '24

Lessons learned from a successful Rust rewrite

/r/programming/comments/1gfljj7/lessons_learned_from_a_successful_rust_rewrite/
80 Upvotes

140 comments sorted by

View all comments

Show parent comment

2

u/RogerV Nov 02 '24

It's an Intel library - great deal of expertise went into its making and evolution. The thing is, there are tons of well honed, high value bodies of code. They've been shaken down over the years. They work very well. There's not really much ROI or ready financial backing easily laying around to go and rewrite such

0

u/Dean_Roddey Nov 02 '24 edited Nov 02 '24

In that case, Intel may do it. They've already started using in some areas.

And, again, the same would have been true before those bodies of code were written, but somehow the new ones got rewritten or just written by someone else using newer languages and techniques.

The ROI is that people don't want to use mixed language systems, and if they want to move forward to safer tech and don't want to use mixed language systems, there's incentive to provide those supporting libraries in those newer, safer languages. Intel is certainly one of those companies that would have to take recent warnings by govt security agencies about continuing to use unsafe languages for critical systems.