Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #263093

Re: All the unicorns are dead on Linux (was: How to compare contents of two folders against third one?)

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: All the unicorns are dead on Linux (was: How to compare contents of two folders against third one?)
Date 2023-11-03 19:20 +0100
Message-ID <Hw6VX-2Twp-3@gated-at.bofh.it> (permalink)
References <Hvl10-2nGs-7@gated-at.bofh.it> <HvnFv-2p4G-3@gated-at.bofh.it> <Hw4Kt-2RKS-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Jeffrey Walton (12023-11-03):
> If you ask folks like Brian Kernighan and Rob Pike, they will tell you
> all the unicorns are dead on Linux because everything is _not_ a file.

They might tell you that, but that is wrong nonetheless: they fumbled
the “everything is a file” from the start.

In original Unix, processes are not files.

In original Unix, memory areas in the address space of a process are not
files.

In original Unix, time is not a file.

In original Unix, signals are not files.

In fact, Linux bioengineered some of these Unicorn into existence with
memfd, timerfd, signalfd.

Nowadays, the worst offence in this are the thread synchronization
primitives. It is a tragedy that mutexes and conditions are not
compatible with the file descriptors API at all. If they were, then
pthreads could have made some concurrent I/O code simpler; as it is,
pthreads are useful for performances, but when it comes to I/O, they
them harder.

Regards,

-- 
  Nicolas George

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to compare contents of two folders against third one? "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-11-01 16:10 +0100
  Re: How to compare contents of two folders against third one? Nicolas George <george@nsup.org> - 2023-11-01 16:10 +0100
    Re: How to compare contents of two folders against third one? "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-11-02 07:50 +0100
      Re: How to compare contents of two folders against third one? "Russell L. Harris" <russell@rlharris.org> - 2023-11-02 09:00 +0100
  Re: How to compare contents of two folders against third one? <tomas@tuxteam.de> - 2023-11-01 19:00 +0100
    How to compare one folder to one directory (was: How to compare contents of two folders against third one?) "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-11-02 08:20 +0100
      Re: How to compare one folder to one directory (was: How to compare  contents of two folders against third one?) Reco <recoverym4n@enotuniq.net> - 2023-11-02 08:50 +0100
      Re: How to compare one folder to one directory (was: How to compare  contents of two folders against third one?) <tomas@tuxteam.de> - 2023-11-02 09:00 +0100
        Re: How to compare one folder to one directory (was: How to compare  contents of two folders against third one?) Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-11-02 09:50 +0100
          Re: How to compare one folder to one directory (was: How to compare  contents of two folders against third one?) Nicolas George <george@nsup.org> - 2023-11-02 10:00 +0100
            Re: How to compare one folder to one directory (was: How to   compare contents of two folders against third one?) yxcv@vienna.at - 2023-11-02 10:10 +0100
        Re: How to compare one folder to one directory John Hasler <john@sugarbit.com> - 2023-11-02 15:20 +0100
          Re: How to compare one folder to one directory <tomas@tuxteam.de> - 2023-11-02 15:30 +0100
            Re: How to compare one folder to one directory "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-11-02 16:20 +0100
              Re: How to compare one folder to one directory debian-user@howorth.org.uk - 2023-11-02 22:00 +0100
                Re: How to compare one folder to one directory Nicolas George <george@nsup.org> - 2023-11-02 22:10 +0100
              Re: How to compare one folder to one directory John Hasler <john@sugarbit.com> - 2023-11-03 03:50 +0100
                Re: How to compare one folder to one directory Greg Wooledge <greg@wooledge.org> - 2023-11-03 04:20 +0100
                On folders vs. directories and history [was: how to compare...] <tomas@tuxteam.de> - 2023-11-03 06:40 +0100
                Re: On folders vs. directories and history [was: how to compare...] Nicolas George <george@nsup.org> - 2023-11-03 08:50 +0100
                Re: On folders vs. directories and history [was: how to compare...] tomas@tuxteam.de - 2023-11-03 09:00 +0100
                Re: On folders vs. directories and history [was: how to compare...] John Hasler <john@sugarbit.com> - 2023-11-07 03:50 +0100
                Re: On folders vs. directories and history [was: how to compare...] <tomas@tuxteam.de> - 2023-11-07 06:40 +0100
                Re: On folders vs. directories and history [was: how to compare...] Tom Browder <tom.browder@gmail.com> - 2023-11-07 12:00 +0100
                Re: On folders vs. directories and history [was: how to compare...] "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-11-03 16:10 +0100
                Re: On folders vs. directories and history [was: how to compare...] Nicolas George <george@nsup.org> - 2023-11-03 16:20 +0100
                Re: On folders vs. directories and history [was: how to compare...] gene heskett <gheskett@shentel.net> - 2023-11-03 17:30 +0100
                Re: On folders vs. directories and history [was: how to compare...] "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-11-06 17:00 +0100
                Re: On folders vs. directories and history [was: how to compare...] Nicolas George <george@nsup.org> - 2023-11-06 17:10 +0100
                Re: On folders vs. directories and history [was: how to compare...] Curt <curty@free.fr> - 2023-11-06 18:20 +0100
                Re: [OFFTOPIC] On folders vs. directories and history [was: how to compare...] Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-03 16:40 +0100
                Re: [OFFTOPIC] On folders vs. directories and history [was: how to  compare...] <tomas@tuxteam.de> - 2023-11-03 18:40 +0100
                Re: [OFFTOPIC] On folders vs. directories and history [was: how to  compare...] John Hasler <john@sugarbit.com> - 2023-11-07 03:40 +0100
                Re: [OFFTOPIC] On folders vs. directories and history [was: how to  compare...] <tomas@tuxteam.de> - 2023-11-07 06:40 +0100
                Re: On folders vs. directories and history [was: how to compare...] <tomas@tuxteam.de> - 2023-11-03 18:30 +0100
                Re: On folders vs. directories and history [was: how to compare...] Curt <curty@free.fr> - 2023-11-03 18:30 +0100
                Re: On folders vs. directories and history "Thomas Schmitt" <scdbackup@gmx.net> - 2023-11-03 19:20 +0100
                Re: How to compare one folder to one directory Mihamina RKTMB <mihamina@atscom.io> - 2023-11-03 09:10 +0100
                Re: How to compare one folder to one directory "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-11-03 11:40 +0100
                Re: How to compare one folder to one directory Nicolas George <george@nsup.org> - 2023-11-03 11:50 +0100
                Re: How to compare one folder to one directory John Hasler <john@sugarbit.com> - 2023-11-07 04:20 +0100
      Re: How to compare one folder to one directory "Thomas Schmitt" <scdbackup@gmx.net> - 2023-11-02 10:20 +0100
      Re: How to compare one folder to one directory (was: How to compare  contents of two folders against third one?) Jeffrey Walton <noloader@gmail.com> - 2023-11-03 01:40 +0100
        On weeds and bikesheds [was: How to compare one folder to one  directory] <tomas@tuxteam.de> - 2023-11-03 06:30 +0100
    Re: How to compare contents of two folders against third one? "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-11-02 08:40 +0100
      Re: How to compare contents of two folders against third one? Nicolas George <george@nsup.org> - 2023-11-02 08:50 +0100
      Re: How to compare contents of two folders against third one? <tomas@tuxteam.de> - 2023-11-02 09:10 +0100
        Re: How to compare contents of two folders against third one? "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-11-02 10:50 +0100
          Re: How to compare contents of two folders against third one? Nicolas George <george@nsup.org> - 2023-11-02 11:00 +0100
          Re: How to compare contents of two folders against third one? <tomas@tuxteam.de> - 2023-11-02 11:10 +0100
          Re: How to compare contents of two folders against third one? Michel Verdier <mv524@free.fr> - 2023-11-02 16:20 +0100
    All the unicorns are dead on Linux (was: How to compare contents of  two folders against third one?) Jeffrey Walton <noloader@gmail.com> - 2023-11-03 17:00 +0100
      Re: All the unicorns are dead on Linux (was: How to compare contents  of two folders against third one?) tomas@tuxteam.de - 2023-11-03 18:50 +0100
      Re: All the unicorns are dead on Linux (was: How to compare contents  of two folders against third one?) Nicolas George <george@nsup.org> - 2023-11-03 19:20 +0100
      Re: All the unicorns are dead on Linux (was: How to compare contents  of two folders against third one?) Paul Duncan <paul.d@soi-team.org> - 2023-11-07 12:00 +0100
        Re: All the unicorns are dead on Linux John Hasler <john@sugarbit.com> - 2023-11-07 15:30 +0100
          Re: All the unicorns are dead on Linux Nicolas George <george@nsup.org> - 2023-11-07 15:40 +0100
            Re: All the unicorns are dead on Linux John Hasler <john@sugarbit.com> - 2023-11-07 17:00 +0100
              Re: All the unicorns are dead on Linux Nicolas George <george@nsup.org> - 2023-11-07 17:10 +0100
                Re: All the unicorns are dead on Linux Pocket <pocket@columbus.rr.com> - 2023-11-07 17:50 +0100
                Re: All the unicorns are dead on Linux David Wright <deblis@lionunicorn.co.uk> - 2023-11-07 20:00 +0100
                Re: All the unicorns are dead on Linux <tomas@tuxteam.de> - 2023-11-07 20:30 +0100
                Re: All the unicorns are dead on Linux Nicolas George <george@nsup.org> - 2023-11-07 20:50 +0100
              Re: All the unicorns are dead on Linux Dan Ritter <dsr@randomstring.org> - 2023-11-07 19:00 +0100
                Re: All the unicorns are dead on Linux <tomas@tuxteam.de> - 2023-11-07 20:40 +0100
                Re: All the unicorns are dead on Linux tomas@tuxteam.de - 2023-11-07 20:50 +0100
                Re: All the unicorns are dead on Linux Charles Curley <charlescurley@charlescurley.com> - 2023-11-07 22:30 +0100
                Re: All the unicorns are dead on Linux Jeffrey Walton <noloader@gmail.com> - 2023-11-07 22:30 +0100
                Re: All the unicorns are dead on Linux John Hasler <john@sugarbit.com> - 2023-11-07 23:00 +0100
                Re: All the unicorns are dead on Linux Karen Lewellen <klewellen@shellworld.net> - 2023-11-07 23:50 +0100
                Re: All the unicorns are dead on Linux Nicolas George <george@nsup.org> - 2023-11-07 23:00 +0100
                Re: All the unicorns are dead on Linux Nicolas George <george@nsup.org> - 2023-11-07 20:50 +0100
                Re: All the unicorns are dead on Linux Karen Lewellen <klewellen@shellworld.net> - 2023-11-07 21:00 +0100
                Re: All the unicorns are dead on Linux Dan Ritter <dsr@randomstring.org> - 2023-11-07 21:40 +0100
                Re: All the unicorns are dead on Linux Karen Lewellen <klewellen@shellworld.net> - 2023-11-07 22:00 +0100
                Re: All the unicorns are dead on Linux John Hasler <john@sugarbit.com> - 2023-11-07 22:10 +0100
                Re: All the unicorns are dead on Linux Pocket <pocket@columbus.rr.com> - 2023-11-08 01:00 +0100
                Re: All the unicorns are dead on Linux Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-08 13:40 +0100
                Re: All the unicorns are dead on Linux <tomas@tuxteam.de> - 2023-11-08 14:10 +0100
              Re: All the unicorns are dead on Linux gene heskett <gheskett@shentel.net> - 2023-11-07 21:30 +0100
          Re: All the unicorns are dead on Linux gene heskett <gheskett@shentel.net> - 2023-11-07 21:00 +0100

csiph-web