Taking Constant Evaluation to the Limit - RustConf 2019

Taking Constant Evaluation to the Limit - RustConf 2019

Rust via YouTube Direct link

What restrictions do we want?

5 of 22

5 of 22

What restrictions do we want?

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Taking Constant Evaluation to the Limit - RustConf 2019

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Why const eval?
  3. 3 Grading constant evaluators
  4. 4 Why restrict ourselves?
  5. 5 What restrictions do we want?
  6. 6 What unnecessary restrictions do we have?
  7. 7 Open RFC
  8. 8 Details, details, details ...
  9. 9 Heap allocations...
  10. 10 Heap problems
  11. 11 Example with String
  12. 12 impl Send for &Sync
  13. 13 Unsafe in constants
  14. 14 compile time undefined behavior
  15. 15 Not UB
  16. 16 Much stricter rules at compile-time
  17. 17 Less stricter rules at compile-time
  18. 18 Summary
  19. 19 Don't try this at home
  20. 20 Const assertions on stable rust
  21. 21 Fibonacci at compile-time
  22. 22 Spot the fib

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.