BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Rust vs. C (was Re: Port Scanning)
- Subject: [Discuss] Rust vs. C (was Re: Port Scanning)
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- Date: Wed, 7 Aug 2024 15:25:50 -0400
- In-reply-to: <20240807145859.7ccecf9e.Richard.Pieri@gmail.com>
- References: <5c43eee0-caaf-45d6-8fdb-273cb3d8ea6d@borg.org> <51804f85-9275-4d89-9dc2-86234cdb299b@borg.org> <20240801210627.bzw47tfmyxofcep3@randomstring.org> <82b0d41d-075d-496e-9e1f-ef1529623c38@borg.org> <20240801182824.4bf21319.Richard.Pieri@gmail.com> <f6d905fd-7886-4cf2-9b02-f6d89f60adf0@borg.org> <20240801214606.5bebc46a.Richard.Pieri@gmail.com> <20c3240d-184f-4c84-b4ed-7680ac5301bd@borg.org> <CAJFsZ=o7btMacs-OqTB0908ehYkZCFGtupLkNi59C9K8XV6zKQ@mail.gmail.com> <20240804112131.195b6e56.Richard.Pieri@gmail.com> <CAJFsZ=roiGszBrbv6CzFY57V=fBe9CnZKqBi-eSUQ8eTHPr8_A@mail.gmail.com> <20240806075246.1247c265.Richard.Pieri@gmail.com> <30f00649fdfd89126d760f2d9f105c96.squirrel@mail.mohawksoft.com> <e1589141-299b-423e-8aaa-cf2a0a9a66b4@borg.org> <20240806213934.2f8bbc9d.Richard.Pieri@gmail.com> <3f557711-1713-4a88-b0bd-e843d0670ee8@borg.org> <28fb6173-d7ed-4363-ad84-4b47981ba157@borg.org> <20240807145859.7ccecf9e.Richard.Pieri@gmail.com>
> On Wed, 7 Aug 2024 11:04:03 -0700 > Kent Borg <kentborg at borg.org> wrote: > >> And...that was nicer to the cache, to the tune of being ~32% faster. > > I recognize that this is an aberration. That was the point, after all. > > Generally, though, I think my point about LLVM in general still stands. > What makes Rust interesting to me as an outside observer (I'm a > sysadmin, not a programmer) is that Rust performance is competitive > with C performance while producing much safer binaries. More Rust means > less stress for me. I wouldn't be so confident. The last few big security issues I've had to fix in products have been attacks that have nothing to do with programming languages. The last sshd issue where an ifdef/endif was removed from code which allowed a privilege escalation. The XZ library/systemd/sshd issue, and a few others I can't recall. The problem with languages that are supposed to be safer is that they don't address the root cause of the problem: People who don't know how to code. Java was supposed to take care of a lot of this, but it didn't. I doubt very much rust will either. You may reduce the number of one class of problem, but I am quite sure we'll see another class of problem for rust. As for government recommendations on software development, I'll wait.
- References:
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Rust vs. C (was Re: Port Scanning)
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- Prev by Date: [Discuss] Rust vs. C (was Re: Port Scanning)
- Next by Date: [Discuss] Port Scanning
- Previous by thread: [Discuss] Rust vs. C (was Re: Port Scanning)
- Next by thread: [Discuss] Port Scanning
- Index(es):