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


Groups > comp.lang.c > #165566

Re: A love of languages

From Muttley@dastardlyhq.com
Newsgroups comp.lang.c, comp.lang.c++
Subject Re: A love of languages
Date 2022-04-08 10:49 +0000
Organization Aioe.org NNTP Server
Message-ID <t2p3ut$1bil$1@gioia.aioe.org> (permalink)
References (3 earlier) <t23oq5$1jau$1@gioia.aioe.org> <t2l3kh$2jo9d$2@news.xmission.com> <t2makl$bl5$1@dont-email.me> <t2mbmf$bvv$1@gioia.aioe.org> <t2nfhm$d4f$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On Thu, 7 Apr 2022 21:54:27 +0200
Christian Gollwitzer <auriocus@gmx.de> wrote:
>Am 07.04.22 um 11:42 schrieb Muttley@dastardlyhq.com:
>> On Thu, 7 Apr 2022 11:24:36 +0200
>> David Brown <david.brown@hesbynett.no> wrote:
>>> On 07/04/2022 00:18, Richard wrote:
>>>> ...and speaking of package managers and python, I really dislike these
>>>> package managers for C++ that are written in python.  Adding a
>>>> dependency on another language is a fail from step 1.
>>>
>>> Why would you say that?  Pick the right language for the task in hand.
>>> Python is a better language for a package manager than C++ - it has far
>>> more of the useful components already in its library (internet
>>> protocols, zip/tar/bzip2, that kind of thing), and lets you make a
>>> package manager in a small fraction of the number of lines of code you'd
>>> need in C++.  There are no advantages in using C++ here - you don't need
>>> the speed (code speed is not the bottleneck), you don't care about
>>> memory efficiency or disk space.
>> 
>> Using bash would be even better. Its installed by default on every version
>> of *nix that matters.
>> 
>
>Bash is a terrible language, if you plan to write larger programs in it. 
>Yes, it is possible, but the quoting rules (automatic expansion unless 
>you carefully quote everything) will lead to many data-dependent bugs, 
>like surprise with whitespace in paths and so on. Remember Shellshock?
>
>Additionally, it's hard to get Bash working on Windows. Bash is rather 

Windows installers are completely seperate to linux and mac installers so
thats irrelevant.

>useless without a bunch of other tools like awk, sed, cp, mv, find, ...

Well obviously bash is just glue logic. But the point is its always available
unlike Python or even worse Java (does Oracle still require java to install
its software?)

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

A love of languages Jack Lemmon <invalid@invalid.net> - 2022-03-27 17:00 +0100
  Re: A love of languages Bonita Montero <Bonita.Montero@gmail.com> - 2022-03-27 18:24 +0200
  Re: A love of languages Juha Nieminen <nospam@thanks.invalid> - 2022-03-28 23:08 +0000
    Re: A love of languages Vir Campestris <vir.campestris@invalid.invalid> - 2022-03-30 21:53 +0100
      Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-03-31 10:29 +0200
        Re: A love of languages Mateusz Viste <mateusz@xyz.invalid> - 2022-03-31 10:52 +0200
          Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-03-31 11:59 +0200
          Re: A love of languages Kaz Kylheku <480-992-1380@kylheku.com> - 2022-03-31 16:15 +0000
        Re: A love of languages Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2022-03-31 09:06 -0700
      Re: A love of languages Muttley@dastardlyhq.com - 2022-03-31 08:29 +0000
        Re: A love of languages Juha Nieminen <nospam@thanks.invalid> - 2022-04-04 06:00 +0000
          Re: A love of languages Muttley@dastardlyhq.com - 2022-04-04 08:28 +0000
            Re: A love of languages Vir Campestris <vir.campestris@invalid.invalid> - 2022-04-05 21:10 +0100
              Re: A love of languages red floyd <no.spam.here@its.invalid> - 2022-04-05 13:28 -0700
              Re: A love of languages om@iki.fi (Otto J. Makela) - 2022-04-11 13:24 -0400
              Re: A love of languages om@iki.fi (Otto J. Makela) - 2022-04-11 19:13 -0400
        Re: A love of languages legalize+jeeves@mail.xmission.com (Richard) - 2022-04-06 22:18 +0000
          Re: A love of languages Muttley@dastardlyhq.com - 2022-04-07 09:02 +0000
          Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-07 11:24 +0200
            Re: A love of languages Muttley@dastardlyhq.com - 2022-04-07 09:42 +0000
              Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-07 12:02 +0200
              Re: A love of languages Christian Gollwitzer <auriocus@gmx.de> - 2022-04-07 21:54 +0200
                Re: A love of languages Muttley@dastardlyhq.com - 2022-04-08 10:49 +0000
                Re: A love of languages Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2022-04-08 05:21 -0700
                Re: A love of languages Juha Nieminen <nospam@thanks.invalid> - 2022-04-08 12:16 +0000
                Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-08 15:08 +0200
                Re: A love of languages Bart <bc@freeuk.com> - 2022-04-08 15:31 +0100
                Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-08 18:15 +0200
                Re: A love of languages Bart <bc@freeuk.com> - 2022-04-08 19:14 +0100
                Re: A love of languages scott@slp53.sl.home (Scott Lurndal) - 2022-04-08 14:53 +0000
                Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-08 18:18 +0200
                Re: A love of languages scott@slp53.sl.home (Scott Lurndal) - 2022-04-08 17:47 +0000
                Re: A love of languages Muttley@dastardlyhq.com - 2022-04-09 09:13 +0000
                Re: A love of languages scott@slp53.sl.home (Scott Lurndal) - 2022-04-08 14:51 +0000
                Re: A love of languages Michael S <already5chosen@yahoo.com> - 2022-04-16 13:39 -0700
                Re: A love of languages Jorgen Grahn <grahn+nntp@snipabacken.se> - 2022-04-11 08:28 +0000
              Re: A love of languages legalize+jeeves@mail.xmission.com (Richard) - 2022-04-07 20:54 +0000

csiph-web