Re: New VSI blog post

Liste des GroupesRevenir à co vms 
Sujet : Re: New VSI blog post
De : johnrreagan (at) *nospam* earthlink.net (John Reagan)
Groupes : comp.os.vms
Date : 30. Jul 2024, 04:28:16
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <e2e8638b95e119c998fa3f01849f4e75e2c46b58@i2pn2.org>
References : 1
User-Agent : Mozilla Thunderbird
On 7/29/2024 7:44 PM, Arne Vajhøj wrote:
For those that have not seen it:
 https://vmssoftware.com/resources/blog/2024-07-26-rtl8/
 (Darya is listed as author, John Reagan is quoted in it)
 Content is a rather unusual mix of:
* some business/admin stuff
     - 8.4-2L1 going out of standard support in December
       so time to update to 8.4-2L3
     - a warning about known issues in C RTL 8 and a suggestion
       to wait for C RTL 9
* some programming notes about problems related to:
     - use of uninitialized variables
     - mismatch between 32 and 64 bit
 Arne
 
Yeah, we've been trying to balance changes to the CRTL that:
1) Increases our POSIX and open-source compatibility
2) Doesn't break legacy code that relies on existing behavior
3) Doesn't add any new CRTL feature logicals
We are planning additional CRTL work that will enable using
clang in "C-mode" to get C11 (and perhaps some of C18) support.  Also, newer C++ standards support in LIBCXX expects some of those C11 features as well.  The dependencies can be twisty.
And in lieu of an actual porting guide, I've been asked about "what things are catching people porting code from Itanium to x86".  Other than bugs in the compilers and OS, the most common issue I've seen is a mismatch of 32/64 bit variables.  I've seen 20 or so instance of code that is doing a 64-bit write into a 32-bit variable.  On Alpha and Itanium, GEM would allocate 32-bit variables into their own quadword on the stack.  Back in the old Alpha days, quadword granularity was very important.  It became less important on later Alphas and Itanium but still had limited benefit.  For x86, there is no reason for it and LLVM will just allocate 32-bit variables on the stack right next to each other.  The overwrite on Alpha/Itanium would just touch that extra alignment hole.  On x86, the overwrite clobbers the adjacent variable. It mostly has been in BLISS and C code.

Date Sujet#  Auteur
30 Jul 24 * New VSI blog post34Arne Vajhøj
30 Jul 24 +* Re: New VSI blog post20John Reagan
30 Jul 24 i+* Re: New VSI blog post18Simon Clubley
31 Jul 24 ii`* Re: New VSI blog post17Arne Vajhøj
31 Jul 24 ii `* Re: New VSI blog post16John Reagan
1 Aug 24 ii  `* Re: New VSI blog post15Arne Vajhøj
1 Aug 24 ii   +- Re: New VSI blog post1Arne Vajhøj
1 Aug 24 ii   `* Re: New VSI blog post13John Reagan
1 Aug 24 ii    `* Re: New VSI blog post12Lawrence D'Oliveiro
1 Aug 24 ii     `* Re: New VSI blog post11Arne Vajhøj
1 Aug 24 ii      `* Re: New VSI blog post10Lawrence D'Oliveiro
1 Aug 24 ii       `* Re: New VSI blog post9Arne Vajhøj
1 Aug 24 ii        +* Re: New VSI blog post5John Reagan
1 Aug 24 ii        i`* Re: New VSI blog post4Lawrence D'Oliveiro
4 Aug 24 ii        i `* Re: New VSI blog post3John Reagan
4 Aug 24 ii        i  `* Re: New VSI blog post2Lawrence D'Oliveiro
5 Aug 24 ii        i   `- Re: New VSI blog post1Arne Vajhøj
1 Aug 24 ii        `* Re: New VSI blog post3Dave Froble
1 Aug 24 ii         `* Re: New VSI blog post2John Dallman
1 Aug 24 ii          `- Re: New VSI blog post1Arne Vajhøj
30 Jul 24 i`- Re: New VSI blog post1Stephen Hoffman
30 Jul 24 `* Re: New VSI blog post13Richard Jordan
30 Jul 24  +* Re: New VSI blog post2Craig A. Berry
30 Jul 24  i`- Re: New VSI blog post1Arne Vajhøj
30 Jul 24  +- Re: New VSI blog post1Arne Vajhøj
31 Jul 24  `* Re: New VSI blog post9John Reagan
31 Jul 24   +* Re: New VSI blog post7Chris Townley
1 Aug 24   i+* Re: New VSI blog post4Craig A. Berry
1 Aug 24   ii`* Re: New VSI blog post3Chris Townley
1 Aug 24   ii `* Re: New VSI blog post2John Reagan
1 Aug 24   ii  `- Re: New VSI blog post1Robert A. Brooks
1 Aug 24   i`* Re: New VSI blog post2John Reagan
1 Aug 24   i `- Re: New VSI blog post1Chris Townley
2 Aug 24   `- Re: New VSI blog post1Richard Jordan

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal