Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Lobste.rsEnglish · 5 months ago

Add Virtual Threads to Python

discuss.python.org

external-link
message-square
0
fedilink
2
external-link

Add Virtual Threads to Python

discuss.python.org

RSS BotMB to Lobste.rsEnglish · 5 months ago
message-square
0
fedilink
tl;dr Java has virtual threads. Virtual threads are a better way of doing concurrency than Python’s async and await. We should add virtual threads to Python. Virtual Threads Virtual threads were added to Java a few years ago. Virtual Threads combine the best of async Tasks and normal threads. Like normal threads, virtual threads: require no new syntax provide a more intuitive mode of execution than async/await. Like tasks, virtual threads: only switch execution at well defined points in ...

Comments

alert-triangle
You must log in or register to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 9 users / day
  • 54 users / week
  • 265 users / month
  • 1.24K users / 6 months
  • 2 local subscribers
  • 270 subscribers
  • 8.84K Posts
  • 443 Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org