Deutsch   English   Français   Italiano  
<101p3b3$o3pc$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: "Paul Edwards" <mutazilah@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: encapsulating directory operations
Date: Wed, 4 Jun 2025 19:23:42 +1000
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <101p3b3$o3pc$1@dont-email.me>
References: <100h650$23r5l$1@dont-email.me><87bjrkxonr.fsf@nosuchdomain.example.com><b7fb8fc41d43807641e673e1ca1d3baf69f5766f@i2pn2.org><87iklrtcys.fsf@nosuchdomain.example.com> <20250523132019.763@kylheku.com><100qm76$7shk$2@dont-email.me> <20250523140729.787@kylheku.com><100qru0$9mjb$2@dont-email.me> <101929h$3olom$4@dont-email.me><10196gn$3pd33$1@dont-email.me> <101aca9$me2$3@dont-email.me><101afvt$1sm1$1@dont-email.me> <871ps7f8o3.fsf@nosuchdomain.example.com><101aif2$1sm2$3@dont-email.me> <Qb4_P.377135$vvyf.313049@fx18.iad><101bpl8$d1n8$1@dont-email.me> <101dac8$mkpm$3@dont-email.me>
Injection-Date: Wed, 04 Jun 2025 11:23:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="51b92a3f3c7281fe49d603a8565b4707";
	logging-data="790316"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19bE6fte2T4na3FW5AedQUznlH4Vgy0OS8="
Cancel-Lock: sha1:ckY+km5o3bcMV5qhnT0pP5/tblY=
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106

"Lawrence D'Oliveiro" <ldo@nz.invalid> wrote in message
news:101dac8$mkpm$3@dont-email.me...
> On Fri, 30 May 2025 18:18:43 +1000, Paul Edwards wrote:
>
> > (The competition for first place being IBM's C compiler for z/OS)
>
> Come on, who writes C code for z/OS?

I used to at one place I worked. Neither I nor the company
were alone in the world.

> Mainframes are supposed to be all
> about COBOL code, aren't they? Or so we keep being told.

That would make the IBM COBOL compiler the most important
compiler in the world, not the most important C compiler in the world.

> And what might IBM's COBOL compiler (and associated system utilities) be
> written in? Why, its long-time systems-programming language of choice,
> PL/I.

Yep - all locking you down to the most important platform
in the world.

If you want to be able to escape from this situation, in case
IBM uses its monpoly to screw you over, you probably want
to switch to IBM C, and code in C90, so that your
institution can jump ship in that situation, as there are inferior
systems waiting to accept your entire codebase.

And I know what you're thinking - all the data is in EBCDIC.
There are no other EBCDIC systems I could possibly jump to.
We would need an 80386 EBCDIC version of Win32 in order
for this to be remotely possible - which doesn't exist, and likely
never will exist.

For it to exist it would need some sort of pseudo-bios concept
that allowed charset conversion. And no such thing exists as far
as I am aware!


Watch this spot.

D:\devel\pdos\pdpclib>grep EBCDIC makefile.p32
makefile.p32: # define this if you are producing an EBCDIC to ASCII
pseudo-bios
makefile.p32: # char needs to be unsigned for EBCDIC so this should be

D:\devel\pdos\pdpclib>

BFN. Paul.