Re: The Case for Rust (in the base system)
- Reply: Poul-Henning Kamp: "Re: The Case for Rust (in the base system)"
- In reply to: Wojciech Puchar : "Re: The Case for Rust (in the base system)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Feb 2024 19:22:38 UTC
Is there really nothing else to do other than debate re-writing stuff in some new language and adding more layers of cruft to the OS? You should be working on streamlining the OS and making it easier for more people to help maintain. The first thing I did when I upgraded to 14 was rip out the e1000 driver, which has become a Frankenstein project. iflib is crap and unnecessary. Drivers are infested with netmap, RSS, ALTQ, pfil, pf and every other pet project for the last 20 years. These things should not be part of the base code. Make the OS so these "features" can be wedged in without infesting the base code. With big multicore systems getting cheaper the goal should be to get more nimble; not add more and more cruft and more languages to learn. "Unix" is written in C. People who develop in unix know C. Therfact that there are a lot of bad ideas and bad code in the FreeBSD isn't a reason to do things in another language. Fix the code. On Wednesday, January 31, 2024 at 01:32:18 PM PST, Wojciech Puchar <wojtek@puchar.net> wrote: On Wed, 31 Jan 2024, David Chisnall wrote: > On 31 Jan 2024, at 15:07, Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote: >> >> First of all, NO MEMORY-SAFE language can write codes using volatile >> memory objects, most notably, memory-mapped I/O and/or DMA driver. > > The first half of that is obvious nonsense. Memory-mapped I/O is not intrinsically unsafe, from a memory-safety perspective. Even Java has volatile objects and Sun Labs used Java for device drivers twenty years ago. Having a memory-safe interface for MMIO is helpful. This line above is complete nonsense. as most of that discussion. Two things are certain: - democracy is last phase of civilisation fall. Happening today. Democracy, in case of FreeBSD will do the same for FreeBSD. Already happened year ago for linux and others. As there are more stupid people than clever. If it wins - Rust and other nonsenses will become quickly standard. What is certain - that there will be exactly opposite about security holes that their claims. There will be far more that it is today. - clever people don't need latest computers, so current FreeBSD can still be used. With possibly some development to meet current needs. So not really a problem. Mark Twain once said "no amount of arguments are sufficient for idiot". So this is my last post. Keep fighting.