Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://github.com/maxpert/raspchat/blob/79315d861968c126670... This is a spinner?! No wonders the code is slow.

The general use of inheritance and very non-idiomatic code makes me think this is another person who ditched Go before understanding any of it. It seems a very popular sport.



As the time-old adage goes "a bad workman blames his tools".


And if you look where that code is called from - wrapped inside a mutex...

And then people wonder why it eats up 100% CPU and are completely maxed out before reaching 1000 requests/sec...

Yup... Bad slow language!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: