General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Toby
ThePrimeTime
comments
Comments by "Toby" (@toby9999) on "How Much Memory for 1,000,000 Threads in 7 Languages | Go, Rust, C#, Elixir, Java, Node, Python" video.
Some of the terminology seems to be ambiguous. Bottom line... there are only as many concurrent threads on a system as the CPU supports. The rest is trickery - basically some form of time slicing. Would be very interesting to know what each language implementation is doing behind the scenes. When I develop multithreaded C++ applications on Windows, the threads are real threads running within the OS preemptive multitasking user space.
1
Not sure what is meant by task? Is a task the same thing as a process? Every process has at least one thread.
1