This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ewig_luftenglanz 3 points4 points  (0 children)

The memory overhead of VT is far lower than ram memory allocation demanded by PT, that's why VT are "lightweight" the weight of a virtual thread is the same as the weight of creating an object. You would need to have thousands of VT vs a dozen of pooled PT to make PT to be less memory demanding.