What could C/C++ “lose” if they defined a standard ABI?

后端 未结 8 1943
清酒与你
清酒与你 2020-12-01 07:41

The title says everything. I am talking about C/C++ specifically, because both consider this as \"implementation issue\". I think, defining a standard interface can ease bui

8条回答
  •  日久生厌
    2020-12-01 08:32

    Execution speed would suffer drastically on a majority of platforms. So much so that it would likely no longer be reasonable to use the C language for a number of embedded platforms. The standards body could be liable for an antitrust suit brought by the makers of the various chips not compatible with the ABI.

提交回复
热议问题