Mistakes to Avoid When Writing a Wrapper Around a C Library

Mistakes to Avoid When Writing a Wrapper Around a C Library

Rust via YouTube Direct link

Intro

1 of 24

1 of 24

Intro

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Mistakes to Avoid When Writing a Wrapper Around a C Library

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

  1. 1 Intro
  2. 2 What is a wrapper
  3. 3 Not catching rust panics
  4. 4 Not testing on a large scale
  5. 5 Assuming a certain layout
  6. 6 Transmute tuples
  7. 7 Highlevel abstraction
  8. 8 When to view
  9. 9 Lock API
  10. 10 How to fix this
  11. 11 Mistake 4 Hidden global variables
  12. 12 New text mutex
  13. 13 Why it doesnt work
  14. 14 Conclusion
  15. 15 Read primitives from memory
  16. 16 Mistake 2 assuming threat implementations are bugfree
  17. 17 The problem
  18. 18 Why would someone do this
  19. 19 How to solve this
  20. 20 Other examples
  21. 21 Mistake 1 API related
  22. 22 Mistake 2 API related
  23. 23 Conclusions
  24. 24 Question

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.