Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Kornel
@kornel@mastodon.social  ·  activity timestamp 8 hours ago

@mattesilver Rust can convert between sync and async within functions (tokio complains if you carelessly layer sync and async too much, but that is tokio's choice, and not a dead-end either). Languages with threads generally don't have this problem, because they can always spawn a thread for running blocking code, or block a thread waiting on a signal from async code. JS is unique in insisting on a single event loop.

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login