Writing Software That's Safe Enough To Drive A Car @shnewto - - PowerPoint PPT Presentation

writing software that s safe enough to drive a car
SMART_READER_LITE
LIVE PREVIEW

Writing Software That's Safe Enough To Drive A Car @shnewto - - PowerPoint PPT Presentation

Writing Software That's Safe Enough To Drive A Car @shnewto Clickbait ! Functional safety is... the absence of unreasonable risk due to hazards caused by malfunctioning behavior of E/E systems. State of the Art What is safe enough?


slide-1
SLIDE 1

Writing Software That's Safe Enough To Drive A Car

@shnewto

slide-2
SLIDE 2

Clickbait!

slide-3
SLIDE 3

Functional safety is...

the absence of unreasonable risk due to hazards caused by malfunctioning behavior of E/E systems.

slide-4
SLIDE 4

“State of the Art”

slide-5
SLIDE 5

What is safe enough?

slide-6
SLIDE 6

Mutable aliasing

slide-7
SLIDE 7

Casting away the `const`

slide-8
SLIDE 8

Alternatively: We can't destroy what we don't own

slide-9
SLIDE 9

Rust: Nope, still immutable

slide-10
SLIDE 10

Pattern mis-matching

slide-11
SLIDE 11

Mismatch caught

slide-12
SLIDE 12

If it doesn't compile, it can't crash.

slide-13
SLIDE 13

C is proven in use, why change?

slide-14
SLIDE 14

Redefining “State of the Art”

slide-15
SLIDE 15

MISRA-Rust?

slide-16
SLIDE 16

What’s next?

slide-17
SLIDE 17

Resources

github.com/PolySync/static-analysis-argumentation (code) polysync.io/blog

  • The Challenge of Using C in Safety Critical Applications (white paper)
  • Should Safety-Critical Software be Written in C? (blog post)

sheas.blog/talks (slide deck)

Twitter: @shnewto Blog: sheas.blog GitHub: shnewto Email: shnewto@gmail.com