Deutsch English Français Italiano |
<v5g0mc$j3c$1@gal.iecc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine <johnl@taugh.com> Newsgroups: comp.arch Subject: Re: ancient OS history, ARM is sort of channeling the IBM 360 Date: Wed, 26 Jun 2024 03:07:56 -0000 (UTC) Organization: Taughannock Networks Message-ID: <v5g0mc$j3c$1@gal.iecc.com> References: <s7r87j1c3u6mim0db3ccbdvknvtjr4anu3@4ax.com> <v5dl6f$1dttg$1@dont-email.me> <v5eln4$1jpnm$1@dont-email.me> <3XAeO.24906$Gurd.8658@fx34.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 26 Jun 2024 03:07:56 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="19564"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <s7r87j1c3u6mim0db3ccbdvknvtjr4anu3@4ax.com> <v5dl6f$1dttg$1@dont-email.me> <v5eln4$1jpnm$1@dont-email.me> <3XAeO.24906$Gurd.8658@fx34.iad> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine) Bytes: 2319 Lines: 25 According to Scott Lurndal <slp53@pacbell.net>: >>There still is additional overhead. But the application amd >>programming language mix has changed, so stream oriented I/O is now the >>default. > >Is there? It's trivially easy to impose a record structure >on a stream of bytes, and all the unix file access APIs allow >direct access to the device without extra buffering if desired, >subject to some alignment constraints. At the time Unix was written, the big advanage of byte stream text was that there weren't any trailing blanks so you fit a lot more data onto a disk than you did with 80 or 132 character fixed records. I realize that mainframe disk files can have variable length records but it's not my impression that they were ever very popular. These days although Unix-ish systems still let you read or write arbitrary text chunks, in practice everyone uses I/O libraries that do reads and writes aligned to disk blocks, or map tthe file and let the pager handle it. The logical file format is an application thing on top of that. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly