logoalt Hacker News

zozbot234yesterday at 10:37 PM1 replyview on HN

Just rewrite your biggest memory hogs in Rust, it routinely slashes RAM footprint and demand for RAM throughput. The effect is even bigger than the typical reduction in CPU use. You can even ask AI to help you with the task, it will use a lot less RAM for it than the rewrite will save down the road.


Replies

IncreasePostsyesterday at 10:45 PM

Why would we need rust, if the AI can just write really good code in C that doesn't exhibit any of the issues that rust protects you from?

show 6 replies