Comment

Comment by ricardobeat

Which part of the example go code looks synchronous? It’s using a callback function. That’s a hallmark of async code, nothing invisible.

I also can’t quite grasp the comparison with Java. It’s passing a class instance to the server handler, and that could be doing anything. Nothing there tells you how async or not the server implementation is, and that `os.write()` call might be using a thread pool underneath.

parent ricardobeat 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton