3 ms·
Your point about lock free algos generating garbage is true of some algos but not others. The disruptor (last I looked) was lock free and garbage free. Without
by kasey_junk 11y ago
Your point about lock free algos generating garbage is true of some algos but not others. The disruptor (last I looked) was lock free and garbage free.
Without starting a huge debate, lack of generics, makes writing collections (especially concurrent safe ones) a trade off between correctness of algorithm & type safety.
- eternalban 11y agoI was addressing the GP's map/queue. > .. generics .. It should be obvious by now that Go's IDE is the command line. So Go generate young wo/man :) But seriously, having recently switched to C11 from Go, I would take C's crappy pre-processor over poor man's metadata in comments approach of Go. [p.s. edit: in the sense that C11 actually has a far less painful way to achieve type-safe generic code.]