• 1 Post
  • 440 Comments
Joined 1 year ago
cake
Cake day: September 24th, 2023

help-circle





  • asking the maintainers to lock down APIs which the C devs purposefully leave malleable, in part, to avoid binary blob drivers being feasible.

    No, they were asking them to define the semantics of the filesystem APIs. Those semantics are not encoded in the C API but the Rust devs wanted to encode them in the Rust API to avoid making mistakes.

    The C devs didn’t want to, not because of concerns about binary drivers, but because the semantics are already broken. Apparently different filesystem drivers assume different semantics for the same functions and it’s a whole mess. They don’t want to face up to this and certainly don’t want anyone pointing it out, so clearly it must be the Rust devs’ fault for wanting APIs to have consistent semantics.

    The rest of your comment is nonsense.


  • PDF writing isn’t too bad IMO, since you don’t need to understand the whole spec. I’ve written a PDF writer for maps from scratch and it was fairly easy and not too much code.

    PDF reading though… Yeah I’m happy to leave that to people with more time and use their libraries.

    A modern format would be nice, but I don’t think it would be anywhere near nice enough to give up how universal PDF is.



  • Totally depends what you end up working on as a programmer. If it’s web apps, you’ll be totally fine. All you need is basic arithmetic. Writing a game engine? You’ll need to know some basic to moderate matrix maths…

    If you’re doing formal verification using unbounded model checking… good fucking luck.

    On average I would say most programming tasks need very little maths. If you can add and multiply you’ll be fine. Definitely sounds like you’ll be ok.