|
|
Log in / Subscribe / Register

do memory safe languages matter less now?

do memory safe languages matter less now?

Posted Apr 22, 2026 16:56 UTC (Wed) by farnz (subscriber, #17727)
In reply to: do memory safe languages matter less now? by bertschingert
Parent article: Firefox: The zero-days are numbered

It all depends crucially on costs.

We moved from assembly to higher level languages like C in large part because the cost of doing a good enough job in C was much lower than the cost of doing a good enough job in assembly; not just the financial cost, but also the time cost.

If the comparison is "Rust with AI vulnerability finder" versus "C with AI vulnerability finder", then the question becomes which is cheaper - if you spend significantly more money on the AI for C, and then significantly more time, it'll push people to Rust. If the AI costs for checking Rust are higher, and the time to a releasable product is higher, people will stick to C.


to post comments

I second the cost factor

Posted Apr 23, 2026 4:13 UTC (Thu) by felixfix (subscriber, #242) [Link]

I was fascinated by both machine language and assembler, but two things make them too expensive. One is the obvious that it simply takes longer to write assembler (and machine language is orders of magnitude worse for anything more than a few lines), plus branching requires labels and those get hard to keep track of. The other is optimization. It's easy enough to memorize instruction timings for an 8008 or even Z80; it got beyond fun with the 68020; and I would say it;s impossible for modern CPUs, although I've never tried assembler for any RISC machine.

I liken it to hand tools vs power tools. A lot of assembler coding is the equivalent of hammering in nails or driving in screws. It gets boring fast, and it slows everything down for no enjoyable reason. As much as I enjoyed those old assembler days on those simple processors, they were not productive, and the satisfaction of seeing code run, first time, in an hour or two, beats days or weeks of assembler trial and error. Humans are good at thinking. Leave the repetitive boring error-prone stuff for computers.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds