4 ms·
> Why does the language need to have good thread primitives then? Because: a) we want application server to be written in the language we are using, so that we
by fiedzia 6y ago
> Why does the language need to have good thread primitives then?
Because:
a) we want application server to be written in the language we are using, so that we can control every aspect of how it works, instead of having some silo that developer will avoid because its so different
b) those threads will share cache, connections, some preloaded data you may need and so on, you want a language that allows this to be done reliablyl
c) those threads may need to create more threads (make parallel requests to 3 services and resize an image at the same time)
- empthought 6y agoAs if Apache/nginx and wsgi isn’t still the norm...
- fiedzia 6y agoUwagi is used for performance reasons only, once you have a language where its not a problem, it immediately goes away. I haven't seen anyone using it with Go for example.