On Wednesday 2018-03-14 09:55 +0200, Henri Sivonen wrote:
> Is it still useful that
> https://developer.mozilla.org/en-US/docs/Mozilla/C%2B%2B_Portability_Guide
> exists as a document that's separate from
> https://developer.mozilla.org/en-US/docs/Mozilla/Using_CXX_in_Mozilla_code
> ? There is some duplication. When the two disagree, the latter seems
> to be right. The former also contains stuff that predate our move away
> from NSPR integers and says not to use initializer lists because of
> HP-UX!
> 
> Should we
>  a) update 
> https://developer.mozilla.org/en-US/docs/Mozilla/C%2B%2B_Portability_Guide
> or
>  b) merge the still-valid parts of
> https://developer.mozilla.org/en-US/docs/Mozilla/C%2B%2B_Portability_Guide
> into 
> https://developer.mozilla.org/en-US/docs/Mozilla/Using_CXX_in_Mozilla_code
> and add a redirect
> ?
> 
> Option b seems more useful to me.

(b) sounds like the right thing to do.

However, the first document also talks about some things that are
now technically possible but have disadvantages (e.g., in codesize
or performance), so those may belong in a new section of the second
document that talks about disadvantages of using some of these
features.  (They're not necessarily clearly identified as such in
the first document, either, since it was written when they were not
portable.)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to