logoalt Hacker News

dbdrtoday at 6:33 AM4 repliesview on HN

> I submitted several bug fixes and refactoring, notably using smart pointers, but they were rejected for fear of breaking something.

And that, my friends, is why you want a memory safe language with as many static guarantees as possible checked automatically by the compiler.


Replies

mike_hearntoday at 9:59 AM

Hence the rewrite-it-in-Rust initiative, presumably. Management were aware of this problem at some level but chose a questionable solution. I don't think rewriting everything in Rust is at all compatible with their feature timelines or severe shortages of systems programming talent.

axelriettoday at 6:38 AM

I was waiting for that comment :) Remember that everybody, eventually, calls into code written in C.

show 3 replies
bayindirhtoday at 10:45 AM

They could have started with simple Valgrind sessions before moving to Rust though. Massive number of agents means microservices, and microservices are suitable for profiling/testing like that.

show 1 reply
flohofwoetoday at 10:52 AM

Did you miss the part that writes about the "all new code is written in Rust" order coming from the top? It also failed miserably.

show 1 reply