• objc penalities?

    From Siri Cruz@21:1/5 to All on Mon Oct 12 07:22:04 2015
    XPost: comp.sys.mac.system, comp.sys.mac.misc

    Is there any penalty for compiling plain C as Objective-C even though it doesn't
    use objects?

    (Because objc allows type information to be inserted into the code so that a var-args list can tagged with trustworthy type information instead of hoping clients use the correct format.)

    --
    :-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted.
    'I desire mercy, not sacrifice.'
    When is a Kenyan not a Kenyan? When he's a Canadian.
    That's People's Commissioner Siri Cruz now. Punch!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Browne@21:1/5 to Siri Cruz on Mon Oct 12 10:34:04 2015
    XPost: comp.sys.mac.system, comp.sys.mac.misc

    On 2015-10-12 10:22, Siri Cruz wrote:
    Is there any penalty for compiling plain C as Objective-C even though it doesn't
    use objects?

    (Because objc allows type information to be inserted into the code so that a var-args list can tagged with trustworthy type information instead of hoping clients use the correct format.)

    You want to use object C to take advantage of the type info insertion?

    Why not compile with each compiler and see what the binary looks like?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)