How does Go "know" when a goroutine hits IO and can switch to another goroutine? Why don't other languages like Javascript/Python do this?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • go

    The Go programming language

  • stackless

    The Stackless Python programming language

  • For the sake of “well, actually” completionism, this is possible in Python with stackless or the gevent library and some hacks, but when Guido and pals backed the standard awful way of doing async in commercial languages (async/await and colored functions) this practice fell by the wayside.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts