Ancestors

Toot

Written by René Mayrhofer :verified: 🇺🇦 🇹🇼 on 2024-09-07 at 14:44

Rust certainly isn't perfect for everything, but for low-level code, including firmware, I am not aware of any better languages at this time. You get all the control you need, and the biggest class of bugs and vulnerabilities is prevented at compile time.

Rewriting complex code bases from scratch is not a good idea for stability, and therefore the piece by piece conversation really seems like the best way forward if you have a lot of C/C++ legacy code (and no, there is no practical solution to make that code safer without changing to a memory safe language in the process, whichever one it may be).

This post by @lozano gives excellent practical advice on how to do that.

https://infosec.exchange/@lozano/113080200541762841

=> More informations about this toot | More toots from rene_mobile@infosec.exchange

Descendants

Written by Bernhard on 2024-09-07 at 17:12

@rene_mobile @lozano The idea is sound. Just who will write all the drivers? Why is Fuchsia not written in rust? Where is its hardware support? And where are my source aesthetics gone :D

=> More informations about this toot | More toots from bernerd@chaos.social

Written by René Mayrhofer :verified: 🇺🇦 🇹🇼 on 2024-09-08 at 07:48

@bernerd

Sorry about the aesthetics - pretty is one thing Rust isn't 🫣

@lozano

=> More informations about this toot | More toots from rene_mobile@infosec.exchange

Written by Joshua J. Drake on 2024-09-07 at 19:35

@rene_mobile @lozano I'm looking to help with these problems. See https://magnetitesec.com/

=> More informations about this toot | More toots from jduck@infosec.exchange

Written by Martin Pilkington on 2024-09-07 at 20:51

@rene_mobile @pmdj Apple would probably put a good shout in for Swift given they’re already using it for low level stuff (IIRC the Secure Enclave firmware on Apple Silicon devices is written in Swift now)

=> More informations about this toot | More toots from pilky@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113096804315843714
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
274.304086 milliseconds
Gemini-to-HTML Time
1.397583 milliseconds

This content has been proxied by September (3851b).