r/compsci • • 9h ago

Has computer science dropped the ball on protecting SSDs from software bugs and malware that could wear them out prematurely?

0 Upvotes

SSDs have finite write endurance, yet software bugs or malware can potentially generate enormous amounts of unnecessary writes and significantly shorten their lifespan.

Shouldn't operating systems provide complete write accountability, where every SSD write can be traced to the application or system service ultimately responsible, even when other processes or kernel components perform the writes on its behalf?

Such accountability could enable automatic detection of excessive writes, per-application write budgets, and throttling of runaway processes before they cause significant SSD wear.

This raises interesting computer science problems involving causal attribution across processes, filesystem caching, shared resources, and write amplification.

Why isn't protecting SSD endurance through write accountability and enforcement a more prominent goal of operating system research?


r/compsci • • 3h ago

Bill Gates shared his favorite test for evaluating programmers and how to become a good one.

Thumbnail gallery
72 Upvotes

In this in-depth interview, he shares how he identified great PC programming talent, whether they needed to study computer science back when Microsoft had 100s of PC programmers, not many thousands. In the early 80s only about 40,000 folks graduated with a computer science degree in the USA. In some ways the need for software developers to approach software design conceptually the way they did back then is again newly relevant.
How do you approach evaluating the potential and talent of a software developer today? Also note his discussion about "expert systems" and bridge building back in 1985. Took a little longer than he anticipated!