On Wed, Mar 14, 2018 at 6:53 PM, L. David Baron <dba...@dbaron.org> wrote:
> 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.

I merged these.

> 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.)

I fixed some obviously out-of-date or redundant bits and felt
confident to add language specifically against std::wstring, but
otherwise I avoided making substantive changes on my own.

-- 
Henri Sivonen
hsivo...@hsivonen.fi
https://hsivonen.fi/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to