Hacker News new | ask | show | jobs
by yukichan 4441 days ago
The biggest performance issues I think that some people run into with Go involve reflection which seems to be slow. Something that does a lot of JSON parsing for example maybe could be much slower in Go than in Java, Python or JavaScript I think. I don't have any data, but I've known people to complain about it that work with Go. I wonder if a JIT or AOT compiler might help.
1 comments

There are libraries that generate specialized marshallers to fix precisely this issue: https://journal.paul.querna.org/articles/2014/03/31/ffjson-f...
That is an interesting project but won't yet help to speed up the (very slow) JSON unmarshalling.
Indeed, that's on the TODO list at the bottom.