4 ms·
This is the actual link to the academic paper (https://arxiv.org/pdf/2204.00764 https://arxiv.org/pdf/2204.00764)
by nperez19 1mo ago
This is the actual link to the academic paper (https://arxiv.org/pdf/2204.00764 https://arxiv.org/pdf/2204.00764)
- wredcoll 1mo agoJust reading the abstract, it talks about finding a number of bugs (across millions of lines of code) but I didn't see any claims that there would be fewer bugs in a different language. Go obviously does not stop you from writing buggy code. Neither does rust or zig or whatever. Does go make it more likely to have bugs? Or a specific class of bug? Like, the real world is about trade offs.
- mac-mc 1mo agoUber has fairly large golang and java codebases so they have more of an apple to apples comparison here since they are both GC languages of a similar performance class. And if a large population tends to make more mistakes with 200hp sedan A vs 200hp sedan B, there is probably something up with the design of sedan A.
- wredcoll 1mo agoI agree, but does that study claim there are more errors per line/function/whatever in golang than java?
- deleted 1mo ago[deleted]