Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

How Other Link Checkers Do Recursion (https://endler.dev)

7 points by zdw 4 days ago | 1 comments | View on ycombinator

ameliaquining about 8 hours ago |

Worth noting that you can have a Node-style single-threaded event loop in Tokio if you want to, using the local runtime. You'd use tokio::task::spawn_local instead of spawn; spawn_local has no Send bounds (i.e., the Rust compiler won't require you to make your code thread-safe).