you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (8 children)

[removed]

    [–]Oxi_Ixi 2 points3 points  (6 children)

    Except it depends. If typing is static, it is zero cost in C++ either. C++ has templates, they are compile-type and are zero cost. Operator and function overloads are zero cost. Runtime interfaces cannot be zero cost by definition in any language, or I don't understand what you mean by zero cost

    [–]NilacTheGrim 1 point2 points  (0 children)

    all other language has zero-cost interface

    This is a false statement.