News for hackers. Stuff that matters.
Re:Memory usage of a toy C# server and client with 500K conc... by shijie on Saturday January 26, 2019 @04:42PM (#19008689)
Have you used Golang or Elixir? These languages get it very right.
Re:Memory usage of a toy C# server and client with 500K conc... by Rusky on Saturday January 26, 2019 @05:02PM (#19008793)
They get something else right, not async/await. That something can often be used for the same purpose, but it's a different tool.
Re:Memory usage of a toy C# server and client with 500K conc... by weberc2 on Saturday January 26, 2019 @05:38PM (#19009009)
How is this not a difference without a distinction?
Re:Memory usage of a toy C# server and client with 500K conc... by daeken on Saturday January 26, 2019 @08:13PM (#19009754)
I can drive in a nail with a hammer or a boot, but that doesn't make hammers and boots the same thing. There are many different ways to accomplish any task.
Re:Memory usage of a toy C# server and client with 500K conc... by weberc2 on Saturday January 26, 2019 @10:05PM (#19010132)
I don’t think your analogy is very good. Boots are useful besides driving nails. What is async/await useful for except concurrency?
Re:Memory usage of a toy C# server and client with 500K conc... by da_chicken on Saturday January 26, 2019 @11:43PM (#19010373)
I have no experience with Go, but boots being useful at tasks other than driving nails was pretty clearly exactly their point.
Re:Memory usage of a toy C# server and client with 500K conc... by weberc2 on Saturday January 26, 2019 @11:53PM (#19010396)
Right, so what's the thing that async/await is good at other than concurrency?
Re:Memory usage of a toy C# server and client with 500K conc... by me551ah on Saturday January 26, 2019 @04:52PM (#19008740)
Golang is pretty interesting, given how it's architected. But you have the concept of channels added on top of async/await which you need to keep in mind.