Hacker News new | past | comments | ask | show | jobs | submit login

One concern I have with garbage collected system programming languages is GC pauses. I have worked with several java applications that were simply not capable of handling fast, continuous, time critical processing tasks because every now and then they would pause for garbage collection. Most of the time they were fine, but suddenly you'd get brief but unacceptable drops in performance. Does anyone know if go is likely to suffer from this?



Currently, there is a world stop, yes. The garbage collector is parallel, but not concurrent. A concurrent garbage collector would make that disappear. How bad it impacts you depends on the workload, personally I've never felt it. YouTube uses Go[1] and mentioned[2] world stop is significant in their case, but tolerable.

[1] http://code.google.com/p/vitess/

[2] https://groups.google.com/forum/?fromgroups#!topic/golang-nu...


Yes, Go suffers from this, and badly too since its GC has to stop all threads due to data sharing. Rust fares better here, since its GC is per-thread.




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

Search: