logoalt Hacker News

hannesfurlast Thursday at 11:44 PM1 replyview on HN

That’s fair but when there is an async version of the driver or Hal available it should be pretty straightforward to port it to synchronous, right? Maybe Claude code can even do it with minimal supervision…

Edit: Replace blocking with synchronous


Replies

the__alchemistlast Thursday at 11:47 PM

I think that's on a case-by-case basis, but from my own experiences, it's usually easier to start from scratch. A totaled car analogy, where the easier path is not modifying something existing. But it depends. Good pt. I think if the library is documented with datasheet or RM references, things are easier.

(Case in point: An example of the the "It's Async or blocking" meme I mentioned.)

show 1 reply