3 ms·
He talks about static code analysis tools around 55 minutes.
by swah 15y ago
He talks about static code analysis tools around 55 minutes.
- swah 15y agotl;dw: he looked at Coverity, found it expensive. They are now using Microsoft Analyze tools (appears to be something that comes with higher end versions of Visual Studio, Pvs Studio and PC Lint.
- swah 15y agoMore excerpts: - "We're trying to write better code from the beginning in some ways." - "One of the lessons we took from Doom3 is that script interpreters are bad from a performance, development, debugging standpoint." - "Rage still haves a little bit of script, from Doom3" (he means that in a bad way). - "In Doom4 we have something call Superscript, its scripting in a subset of C++..." (???) - "I'm all about trying to be nuch more restrictive about what we can do." - "I'm very tempted to wanna move to a functional language, Haskell or OCaml or something. But that is not a credible thing to do in the game industry. Because again, 49 people on our list.. I could probably convince a handful of them that we should move to a new language... but then, we're back to having performance issues, having a huge educational and hiring problem... so we got to stay with something that is C/C++ish based on there. But I think that it would be worthwhile to have restrictions to 95% of our code limit us to essentially the Java subset of C++, no unchecked arrays..." - "I write all my new code in pseudo-functional, but unless something is made impossible it will still creep into your codebase."