Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #152385
| Subject | Re: pure C90 environment |
|---|---|
| Newsgroups | comp.lang.c |
| References | (9 earlier) <a8a4100e-bcd5-484e-a22e-99e4c869255d@googlegroups.com> <ra0e8n$scb$1@dont-email.me> <93fcb638-2d55-4204-953a-5288103e0222@googlegroups.com> <7XRwG.1479779$e1n.203754@fx36.am4> <0a1c87c8-2e62-4f5e-a202-b69ab39260f9@googlegroups.com> |
| From | Bart <bc@freeuk.com> |
| Message-ID | <GeUwG.405948$e16.46192@fx41.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2020-05-19 17:58 +0100 |
On 19/05/2020 16:18, Paul Edwards wrote: > On Wednesday, 20 May 2020 00:21:00 UTC+10, Bart wrote: > >> How many programs assume 8 bits in a byte, or 4 bytes/32 bits in an int? >> Or a range of unsigned char of -128 to +127? Or that 'long' is wider >> than int? Or that 'A' has the value 65? >> >> Yet C90 does not stipulate any of that. > > Which shows how brilliant C90 is, by not > stipulating that. It is up to the > programmer to follow the C90 spec which > allows a program to run on EBCDIC etc. For systems programming, which very often will be dedicated code for a specific target, then you need to be confident of such details. You can't have a 'char' which might be signed, or might be 8 bits, or might be twos-complement, or might have padding bits. For applications programming, you might have a point. But bear in mind that in 1990, if you were doing graphics applications on a PC for example, there was no help from the OS (ie. MS-DOS, as no one used Windows yet). So you had to write your own hardware-specific drivers, even for user apps. And you needed a language that wasn't so cagey about how wide even an 'int' was. >> If that is an issue, then shouldn't you be working on public domain >> source code for a C90 compiler? > > Yes, eventually. But I consider it to be > more important to make the operating systems > and C runtime library public domain first. > That way a commercial vendor can ship a > working system - they may not need to ship > a compiler. Here's a public domain C compiler I made earlier (by adding a comment to that effect): https://raw.githubusercontent.com/sal55/langs/master/cc64.c Except it's not a very good one, and runs under Windows, requires msvcrt.dll (C runtime, which is part of Windows), and converts .c files to .exe. Since msvcrt.dll is closed source, it would reqire an external PD C library. > What I want is for people to be able to > work on an arbitrary computer on a desert > island, improving the development > environment, without any contact with the > outside world. And hopefully one of those > people is a believer in the pubic domain > concept, so when they return to civilization > they can pass on their work. I don't get why, on this desert island, you have a fully working PC, but don't have a copy of Windows or Linux to run on it and at least get started. Will the PC at least have a BIOS or boot-loader? If so, why do you allow that code, but not OS code? What would your starting point be? Presumably enough has to be working for you to load gcc and source code for a program off a disk, but surely, if you can do that (also using a keyword and display), then you have most of a file OS already working. So I don't get it. If the idea is to start from absolutely no software, then a PC by itself is not enough, because it doesn't for example have front panel switches and lights to key in machine code.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-01 22:19 -0700
Re: pure C90 environment fir <profesor.fir@gmail.com> - 2020-05-02 01:24 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 01:56 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 02:06 -0700
Re: pure C90 environment shi84516584@gmail.com - 2020-05-19 17:53 -0700
Re: pure C90 environment fir <profesor.fir@gmail.com> - 2020-05-02 02:07 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 02:23 -0700
Re: pure C90 environment shi84516584@gmail.com - 2020-05-19 17:55 -0700
Re: pure C90 environment Philipp Klaus Krause <pkk@spth.de> - 2020-05-02 11:05 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 02:14 -0700
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-03 22:33 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-03 16:18 -0700
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-04 00:35 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-03 17:54 -0700
Re: pure C90 environment Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-05-03 18:38 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-03 18:51 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-04 09:36 +0200
Re: pure C90 environment James Harris <james.harris.1@gmail.com> - 2020-05-04 08:48 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-04 01:12 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-04 15:16 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-04 06:21 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-04 15:40 +0200
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-04 07:12 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-04 14:47 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-04 07:08 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-04 08:12 -0700
Re: pure C90 environment BGB <cr88192@gmail.com> - 2020-05-05 11:36 -0500
Re: pure C90 environment James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-05-19 11:25 -0400
Re: pure C90 environment James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-05-19 11:39 -0400
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-19 08:45 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 17:43 +0200
Re: pure C90 environment James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-05-19 12:35 -0400
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 20:14 +0200
Re: pure C90 environment James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-05-19 14:42 -0400
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 12:11 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 21:46 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 13:11 -0700
Re: pure C90 environment Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-05-19 14:39 -0700
Re: pure C90 environment Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-05-19 13:24 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-20 09:26 +0200
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-19 21:11 +0000
Re: pure C90 environment James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-05-19 18:51 -0400
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-19 23:26 +0000
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-20 09:33 +0200
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-04 11:49 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-04 04:00 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-04 17:58 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-04 10:18 -0700
Re: pure C90 environment Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-05-04 13:57 -0700
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 12:11 +0200
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-02 11:26 +0100
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 13:06 +0200
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-02 04:26 -0700
Re: pure C90 environment fir <profesor.fir@gmail.com> - 2020-05-02 04:53 -0700
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 16:21 +0200
Re: pure C90 environment fir <profesor.fir@gmail.com> - 2020-05-02 11:20 -0700
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 16:20 +0200
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-02 07:33 -0700
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 16:35 +0200
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-02 17:30 +0100
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 18:37 +0200
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-02 18:18 +0100
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 19:25 +0200
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-02 19:25 +0200
Re: pure C90 environment Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-05-02 22:45 +0100
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-02 23:29 +0100
Re: pure C90 environment Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-05-03 03:55 +0100
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-03 13:07 +0100
Re: pure C90 environment fir <profesor.fir@gmail.com> - 2020-05-03 05:24 -0700
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-03 05:26 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-03 14:27 +0100
Re: pure C90 environment Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-05-03 22:38 +0100
Re: pure C90 environment Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-05-03 22:06 +0100
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-04 00:28 +0100
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-03 02:16 -0700
Re: pure C90 environment Öö Tiib <ootiib@hot.ee> - 2020-05-03 16:23 -0700
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-04 16:41 +0200
Re: pure C90 environment Bonita Montero <Bonita.Montero@gmail.com> - 2020-05-04 16:59 +0200
Re: pure C90 environment Öö Tiib <ootiib@hot.ee> - 2020-05-04 11:01 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-02 11:13 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 03:53 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 05:14 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 06:30 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-02 12:49 -0700
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-13 03:01 -0700
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-13 14:43 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-17 06:30 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-17 05:41 -0700
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-17 13:02 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-17 22:47 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-17 14:03 -0700
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-18 08:54 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 06:11 -0700
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-18 06:51 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 07:12 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-18 15:47 +0100
Re: pure C90 environment Manfred <noname@add.invalid> - 2020-05-18 16:25 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 07:41 -0700
Re: pure C90 environment Manfred <noname@add.invalid> - 2020-05-18 17:32 +0200
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-18 17:09 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 08:52 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-18 17:05 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 09:18 -0700
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-18 19:55 +0000
Re: pure C90 environment Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-05-19 01:42 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 20:35 -0700
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-19 16:12 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 10:02 -0700
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-19 17:42 +0000
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-19 18:16 +0100
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 13:00 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 05:09 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-19 15:20 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 08:18 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-19 17:58 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 10:45 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-19 19:31 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 11:58 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-19 20:44 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 13:03 -0700
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-19 22:34 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 15:41 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-20 00:03 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 16:10 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-20 01:46 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 22:49 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-20 11:26 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 04:43 -0700
Re: pure C90 environment Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-05-19 16:40 -0700
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-19 23:11 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 11:40 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 05:48 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 06:19 -0700
Re: pure C90 environment Bart <bc@freeuk.com> - 2020-05-20 16:38 +0100
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 09:15 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 09:37 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 10:43 -0700
Re: pure C90 environment Öö Tiib <ootiib@hot.ee> - 2020-05-20 10:58 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 11:36 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-20 12:37 -0700
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 17:43 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 17:58 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 18:03 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 18:29 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 19:54 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 20:01 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 20:04 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-10 21:07 -0800
Re: pure C90 environment Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-03-10 23:10 -0800
Re: pure C90 environment "muta...@gmail.com" <mutazilah@gmail.com> - 2021-03-11 01:21 -0800
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2021-03-11 15:26 +0000
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 17:18 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-19 09:52 -0700
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-19 17:39 +0000
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-19 16:17 +0000
Re: pure C90 environment Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-05-19 22:54 +0100
Re: pure C90 environment Ian Collins <ian-news@hotmail.com> - 2020-05-20 10:17 +1200
Re: pure C90 environment Manfred <noname@add.invalid> - 2020-05-19 16:28 +0200
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 17:30 +0200
Re: pure C90 environment Manfred <noname@add.invalid> - 2020-05-19 19:39 +0200
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-18 15:12 +0000
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-18 19:51 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 13:02 -0700
Re: pure C90 environment Manfred <noname@add.invalid> - 2020-05-18 15:52 +0200
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-18 17:15 +0200
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-18 20:10 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 13:18 -0700
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-18 23:21 +0000
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 13:21 +0200
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 13:12 +0200
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-19 16:21 +0000
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-18 19:48 +0000
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-18 19:47 +0000
Re: pure C90 environment David Brown <david.brown@hesbynett.no> - 2020-05-19 13:23 +0200
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-17 13:54 -0700
Re: pure C90 environment Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-05-17 16:45 -0700
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-17 17:27 -0700
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-18 14:44 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 08:17 -0700
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-18 21:39 +0000
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-18 21:58 +0000
Re: pure C90 environment Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-05-18 16:40 -0700
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-19 00:22 +0000
Re: pure C90 environment antispam@math.uni.wroc.pl - 2020-05-19 00:27 +0000
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-19 16:10 +0000
Re: pure C90 environment Paul Edwards <mutazilah@gmail.com> - 2020-05-18 14:59 -0700
Re: pure C90 environment scott@slp53.sl.home (Scott Lurndal) - 2020-05-18 20:01 +0000
Re: pure C90 environment Ian Collins <ian-news@hotmail.com> - 2020-05-18 13:25 +1200
csiph-web