Static vs dynamic typing and security

Creator of Meta's Hack: Your AI Will Always Cheat — Here's How to Stop It - Julien Verlaguet

Topic 3 of 11

Published Jun 8, 2026 · Clip 5:54–9:55 (4:01)

The host asks whether developers need static typing and whether it improves security. Julien argues that the right flavor of static typing is fast and optional — if checking takes under ~15ms and types are opt-in, there's no excuse not to use them, and slow iteration is a tooling problem, not a language problem. On security, static typing doesn't make code secure but makes it less work to be secure, since good practices can be encoded in types (e.g., escaped user-provided strings). He argues the biggest advantage of true static typing over gradual typing is refactoring — tooling can drive changes and verify completeness — which matters even more for AI.