News for hackers. Stuff that matters.
Re:I write games in C (yes, C) by Panzerschrek on Sunday February 08, 2026 @12:54AM (#46931688)
> by welding a vtable onto every type

It's not true. Virtual methods table is present only for classes with at least one virtual method. Learn C++ properly before doing such claims.

Re:I write games in C (yes, C) by tialaramex on Sunday February 08, 2026 @06:43AM (#46933421)
The context you snipped is about dynamic dispatch, that is what you - as someone who has "learned C++ properly" apparently call "classes with at least one virtual method" and indeed the earlier comment calls "virtual interfaces".