Re:Why choose async/await over threads?
by ngrilly on Tuesday March 26, 2024 @07:34AM
(#39826576)
Useful stacktraces is one of the reasons why I use Go instead of JS/TS on the server-side.
[ Parent
| on HN ]
JS has proper async stacktraces as well, or do you mean something else?
You're right. But it was not the case years ago when my team evaluated Go and Node.js. I should have clarified.
> Useful stacktraces is one of the reasons why I use Go
I'm not sure if this is sarcasm or not.
Fair enough. The context is that years ago, my team was evaluating Go and Node.js as options for a server requiring concurrency, and back then Node.js didn't provide any stacktrace for async callbacks. I know it has been improved since then, but I don't use Node.js.
What do you miss in Go's stack traces?