Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The "cutting edge" is getting rather dull. -- Andy Purshottam


devel / comp.lang.c / A love of languages

SubjectAuthor
* A love of languagesJack Lemmon
+- Re: A love of languagesBonita Montero
`* Re: A love of languagesJuha Nieminen
 `* Re: A love of languagesVir Campestris
  +* Re: A love of languagesDavid Brown
  |+* Re: A love of languagesMateusz Viste
  ||+- Re: A love of languagesDavid Brown
  ||`- Re: A love of languagesKaz Kylheku
  |`- Re: A love of languagesMalcolm McLean
  `* Re: A love of languagesMuttley
   +* Re: A love of languagesJuha Nieminen
   |`* Re: A love of languagesMuttley
   | `* Re: A love of languagesVir Campestris
   |  +- Re: A love of languagesred floyd
   |  +- Re: A love of languagesOtto J. Makela
   |  `- Re: A love of languagesOtto J. Makela
   `* Re: A love of languagesRichard
    +- Re: A love of languagesMuttley
    `* Re: A love of languagesDavid Brown
     `* Re: A love of languagesMuttley
      +- Re: A love of languagesDavid Brown
      +* Re: A love of languagesChristian Gollwitzer
      |+* Re: A love of languagesMuttley
      ||`- Re: A love of languagesMalcolm McLean
      |+* Re: A love of languagesJuha Nieminen
      ||`* Re: A love of languagesDavid Brown
      || +* Re: A love of languagesBart
      || |`* Re: A love of languagesDavid Brown
      || | `- Re: A love of languagesBart
      || `* Re: A love of languagesScott Lurndal
      ||  `* Re: A love of languagesDavid Brown
      ||   +- Re: A love of languagesScott Lurndal
      ||   `- Re: A love of languagesMuttley
      |+* Re: A love of languagesScott Lurndal
      ||`- Re: A love of languagesMichael S
      |`- Re: A love of languagesJorgen Grahn
      `- Re: A love of languagesRichard

Pages:12
A love of languages

<t1q227$14hc0$1@paganini.bofh.team>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21028&group=comp.lang.c#21028

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: inva...@invalid.net (Jack Lemmon)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: A love of languages
Date: Sun, 27 Mar 2022 17:00:00 +0100
Organization: To protect and to server
Message-ID: <t1q227$14hc0$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 27 Mar 2022 16:06:31 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1197440"; posting-host="xWoSobfAAAMkUmDG6ndrsw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team";
X-Notice: Filtered by postfilter v. 0.9.1
Content-Language: en-US
 by: Jack Lemmon - Sun, 27 Mar 2022 16:00 UTC

"Some developers are content with the languages they use for work.
Others experiment with other languages, and others still might make
their own languages. All of these are fine! But I find myself in the
second category. This is exploration of why I personally find languages
so interesting � and further, why I have involved myself with language
development."

<https://derw.substack.com/p/a-love-of-languages?s=r>

Re: A love of languages

<t1q33e$af7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21029&group=comp.lang.c#21029

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Sun, 27 Mar 2022 18:24:14 +0200
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <t1q33e$af7$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 27 Mar 2022 16:24:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d4475c19dedfc8ca2fa40c0be90809e7";
logging-data="10727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wO46UWf1NdgysSIH7gIGV9Wg+dURFFI0="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:4iDutXaBb8UanUPKz49hudZ4Qbs=
In-Reply-To: <t1q227$14hc0$1@paganini.bofh.team>
Content-Language: de-DE
 by: Bonita Montero - Sun, 27 Mar 2022 16:24 UTC

Am 27.03.2022 um 18:00 schrieb Jack Lemmon:
> "Some developers are content with the languages they use for work.
> Others experiment with other languages, and others still might make
> their own languages. All of these are fine! But I find myself in the
> second category. This is exploration of why I personally find languages
> so interesting — and further, why I have involved myself with language
> development."
> <https://derw.substack.com/p/a-love-of-languages?s=r>

A developer who doesn't understand generic programming or
OOP is a developer who should beam himself back into the 80s.

Re: A love of languages

<t1tf5k$1smm$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21042&group=comp.lang.c#21042

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!NK0c7qMEn6mmBWqphs27pg.user.46.165.242.75.POSTED!not-for-mail
From: nos...@thanks.invalid (Juha Nieminen)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Mon, 28 Mar 2022 23:08:38 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t1tf5k$1smm$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team>
Injection-Info: gioia.aioe.org; logging-data="62166"; posting-host="NK0c7qMEn6mmBWqphs27pg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/5.10.103-grsec-kapsi (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Juha Nieminen - Mon, 28 Mar 2022 23:08 UTC

In comp.lang.c++ Jack Lemmon <invalid@invalid.net> wrote:
> "Some developers are content with the languages they use for work.
> Others experiment with other languages, and others still might make
> their own languages. All of these are fine! But I find myself in the
> second category. This is exploration of why I personally find languages
> so interesting ? and further, why I have involved myself with language
> development."
>
> <https://derw.substack.com/p/a-love-of-languages?s=r>

From a career point of view it's an interesting question whether it's
better that you are a top expert on two programming languages (that
are useful in your field of work), or having moderate knowledge of
twenty languages.

For example, if you are a frontend web developer, it's quite
unlikely you would ever need a deep knowledge of C or C++
(or any knowledge at all for that matter). Likewise if you are an
embedded developer it's unlikely you'll ever need any knowledge
of Javascript or Haxe.

Perhaps the only language that's truly universal (in the sense that it's
shoved absolutely *everywhere*, be it a good choice or not) is Python.

Re: A love of languages

<t22g0k$hi4$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21043&group=comp.lang.c#21043

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: vir.camp...@invalid.invalid (Vir Campestris)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Wed, 30 Mar 2022 21:53:39 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <t22g0k$hi4$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 30 Mar 2022 20:53:40 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b491a174bb59286f1bf91b123f524f2f";
logging-data="17988"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R7OKvLwRgaAqI42/OicN/pKskzQD/hjw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:v+uPZbHRE4NRImlqStmFN8YdLG4=
In-Reply-To: <t1tf5k$1smm$1@gioia.aioe.org>
Content-Language: en-GB
 by: Vir Campestris - Wed, 30 Mar 2022 20:53 UTC

On 29/03/2022 00:08, Juha Nieminen wrote:
> From a career point of view it's an interesting question whether it's
> better that you are a top expert on two programming languages (that
> are useful in your field of work), or having moderate knowledge of
> twenty languages.
>
> For example, if you are a frontend web developer, it's quite
> unlikely you would ever need a deep knowledge of C or C++
> (or any knowledge at all for that matter). Likewise if you are an
> embedded developer it's unlikely you'll ever need any knowledge
> of Javascript or Haxe.
>
> Perhaps the only language that's truly universal (in the sense that it's
> shoved absolutely*everywhere*, be it a good choice or not) is Python.

I'm embedded these days, and I mostly use C and C++. I've written
Assembler on I don't-know-how-many architectures (I'm read-only on
ARM!(. Pascal would probably come back in minutes, and I don't think
Fortran would take a lot longer. If you asked me to refresh my APL I'd
just refuse... there are others. Does Make count?

But I've never learned Python. Perhaps I should.

Andy

Re: A love of languages

<t23oph$ble$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21045&group=comp.lang.c#21045

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 31 Mar 2022 10:29:36 +0200
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <t23oph$ble$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 31 Mar 2022 08:29:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="15c18001e39f524a042fd98568236fb4";
logging-data="11950"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qeJusJeEf1MZ5/ak9lMvnHpQsjcZ3j1Q="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:3Oa+Q8EOIoFCH9rVKti4WTDm6PM=
In-Reply-To: <t22g0k$hi4$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Thu, 31 Mar 2022 08:29 UTC

On 30/03/2022 22:53, Vir Campestris wrote:
> On 29/03/2022 00:08, Juha Nieminen wrote:
>>  From a career point of view it's an interesting question whether it's
>> better that you are a top expert on two programming languages (that
>> are useful in your field of work), or having moderate knowledge of
>> twenty languages.
>>
>> For example, if you are a frontend web developer, it's quite
>> unlikely you would ever need a deep knowledge of C or C++
>> (or any knowledge at all for that matter). Likewise if you are an
>> embedded developer it's unlikely you'll ever need any knowledge
>> of Javascript or Haxe.
>>
>> Perhaps the only language that's truly universal (in the sense that it's
>> shoved absolutely*everywhere*, be it a good choice or not) is Python.
>
> I'm embedded these days, and I mostly use C and C++. I've written
> Assembler on I don't-know-how-many architectures (I'm read-only on
> ARM!(. Pascal would probably come back in minutes, and I don't think
> Fortran would take a lot longer. If you asked me to refresh my APL I'd
> just refuse... there are others. Does Make count?
>
> But I've never learned Python. Perhaps I should.
>

Python is a useful language to learn. I find that I use it for most of
my PC and server programming. It has its disadvantages compared to C++
- the dynamic features of the language mean you don't get the kind of
compile-time checks that you have in a static language, and of course it
is slower if you are doing heavy processor work. But it is /vastly/
simpler to work with for string processing, anything involving
networking, databases, etc. Your source code is usually a fraction of
the size - it has a very different "programmer efficiency" vs. "run-time
efficiency" balance than C++. For small and simple programs and
scripts, it is extremely handy - I have little Python programs that run
on PC's, servers, Raspberry Pi's, etc. Many of my embedded C and C++
projects have Python scripts in their make process for generating update
files with CRC checks and other data, or for pre-processing data files
(images, web pages, etc.) into data arrays to link into the program.

There is plenty not to like about Python - Python 2 and Python 3
incompatibilities can be a pain, and mixups between tabs and spaces can
drive you crazy. But I've yet to find the "perfect" programming
language for all purposes. Python does not at all replace C or C++, but
it is a useful complement (in my experience).

Re: A love of languages

<t23oq5$1jau$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21046&group=comp.lang.c#21046

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!BKzeqmo2UYxb4eR2zKm0zw.user.46.165.242.91.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 31 Mar 2022 08:29:57 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t23oq5$1jau$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="52574"; posting-host="BKzeqmo2UYxb4eR2zKm0zw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Mutt...@dastardlyhq.com - Thu, 31 Mar 2022 08:29 UTC

On Wed, 30 Mar 2022 21:53:39 +0100
Vir Campestris <vir.campestris@invalid.invalid> wrote:
>On 29/03/2022 00:08, Juha Nieminen wrote:
>> From a career point of view it's an interesting question whether it's
>> better that you are a top expert on two programming languages (that
>> are useful in your field of work), or having moderate knowledge of
>> twenty languages.
>>
>> For example, if you are a frontend web developer, it's quite
>> unlikely you would ever need a deep knowledge of C or C++
>> (or any knowledge at all for that matter). Likewise if you are an
>> embedded developer it's unlikely you'll ever need any knowledge
>> of Javascript or Haxe.
>>
>> Perhaps the only language that's truly universal (in the sense that it's
>> shoved absolutely*everywhere*, be it a good choice or not) is Python.
>
>I'm embedded these days, and I mostly use C and C++. I've written
>Assembler on I don't-know-how-many architectures (I'm read-only on
>ARM!(. Pascal would probably come back in minutes, and I don't think
>Fortran would take a lot longer. If you asked me to refresh my APL I'd
>just refuse... there are others. Does Make count?
>
>But I've never learned Python. Perhaps I should.

If you think you might need it to get a job then do it, otherwise there's
little point. Its just another procedural scripting language with an OO
kludge nailed on top and doesn't bring anything new to the table.

Annoyingly all the AI libraries seem to use Python as their API language
and either a C/C++ API isn't supported or the documentation is non existent
despite the core AI code being written in C/C++. Go figure.

Re: A love of languages

<t23q4r$3as$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21047&group=comp.lang.c#21047

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!Vdyo56s06k4BZyKnr/zdjA.user.46.165.242.75.POSTED!not-for-mail
From: mate...@xyz.invalid (Mateusz Viste)
Newsgroups: comp.lang.c
Subject: Re: A love of languages
Date: Thu, 31 Mar 2022 10:52:43 +0200
Organization: . . .
Message-ID: <t23q4r$3as$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team>
<t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me>
<t23oph$ble$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="3420"; posting-host="Vdyo56s06k4BZyKnr/zdjA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Mateusz Viste - Thu, 31 Mar 2022 08:52 UTC

2022-03-31 at 10:29 +0200, David Brown wrote:
> Python is a useful language to learn. [...]
> it is slower if you are doing heavy processor work. But it is
> /vastly/ simpler to work with for string processing, anything
> involving networking, databases, etc. Your source code is usually a
> fraction of the size - it has a very different "programmer
> efficiency" vs. "run-time efficiency" balance than C++. For small
> and simple programs and scripts, it is extremely handy

In this very same context I use PHP as my "go-to scripting language". I
find it much more pleasant than Python.

People often think of PHP as a web-only language, while it is
perfectly good for writing standalone, local scripts.

Mateusz

Re: A love of languages

<t23u21$ir6$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21048&group=comp.lang.c#21048

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: A love of languages
Date: Thu, 31 Mar 2022 11:59:28 +0200
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <t23u21$ir6$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oph$ble$1@dont-email.me>
<t23q4r$3as$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 31 Mar 2022 09:59:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="15c18001e39f524a042fd98568236fb4";
logging-data="19302"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195CkeQ9R+MsgyP3CJnYmMQEayTykeWAAo="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:lCOriYR6vagQF1TujjnC57vwSmc=
In-Reply-To: <t23q4r$3as$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Brown - Thu, 31 Mar 2022 09:59 UTC

On 31/03/2022 10:52, Mateusz Viste wrote:
> 2022-03-31 at 10:29 +0200, David Brown wrote:
>> Python is a useful language to learn. [...]
>> it is slower if you are doing heavy processor work. But it is
>> /vastly/ simpler to work with for string processing, anything
>> involving networking, databases, etc. Your source code is usually a
>> fraction of the size - it has a very different "programmer
>> efficiency" vs. "run-time efficiency" balance than C++. For small
>> and simple programs and scripts, it is extremely handy
>
> In this very same context I use PHP as my "go-to scripting language". I
> find it much more pleasant than Python.
>
> People often think of PHP as a web-only language, while it is
> perfectly good for writing standalone, local scripts.
>

I've used PHP for a few scripts too, mostly long ago, before I learned
Python. I /hugely/ prefer Python to PHP, and use it for any significant
webpage server-side scripting. (But PHP is more convenient for small
script bits in an otherwise static html file.)

Experiences and preferences vary, of course. There's room for many
programming languages.

Re: A love of languages

<b046d776-7163-40a6-b437-d5eda22e6fe4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21049&group=comp.lang.c#21049

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:5bc2:0:b0:443:901b:39a with SMTP id t2-20020ad45bc2000000b00443901b039amr6551871qvt.78.1648742779012;
Thu, 31 Mar 2022 09:06:19 -0700 (PDT)
X-Received: by 2002:a05:622a:1981:b0:2e1:b778:94ce with SMTP id
u1-20020a05622a198100b002e1b77894cemr4885414qtc.588.1648742778832; Thu, 31
Mar 2022 09:06:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Thu, 31 Mar 2022 09:06:18 -0700 (PDT)
In-Reply-To: <t23oph$ble$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:402d:deec:90a9:38f3;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:402d:deec:90a9:38f3
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oph$ble$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b046d776-7163-40a6-b437-d5eda22e6fe4n@googlegroups.com>
Subject: Re: A love of languages
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Thu, 31 Mar 2022 16:06:19 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 41
 by: Malcolm McLean - Thu, 31 Mar 2022 16:06 UTC

On Thursday, 31 March 2022 at 09:29:51 UTC+1, David Brown wrote:
>
> Python is a useful language to learn. I find that I use it for most of
> my PC and server programming. It has its disadvantages compared to C++
> - the dynamic features of the language mean you don't get the kind of
> compile-time checks that you have in a static language, and of course it
> is slower if you are doing heavy processor work. But it is /vastly/
> simpler to work with for string processing, anything involving
> networking, databases, etc. Your source code is usually a fraction of
> the size - it has a very different "programmer efficiency" vs. "run-time
> efficiency" balance than C++. For small and simple programs and
> scripts, it is extremely handy - I have little Python programs that run
> on PC's, servers, Raspberry Pi's, etc. Many of my embedded C and C++
> projects have Python scripts in their make process for generating update
> files with CRC checks and other data, or for pre-processing data files
> (images, web pages, etc.) into data arrays to link into the program.
>
> There is plenty not to like about Python - Python 2 and Python 3
> incompatibilities can be a pain, and mixups between tabs and spaces can
> drive you crazy. But I've yet to find the "perfect" programming
> language for all purposes. Python does not at all replace C or C++, but
> it is a useful complement (in my experience).
>
I had a little job to do. There's a dataset of crossword puzzles that
an American data scientist has collected. They're out of copyright or
abandoned (pre-1965) so I can use the data for Crossword Designer.
I don't have a good algorithm for designing American-style blank grids,
so my idea was to just take the girds and store them in the program.

A perfect job for Python. Except I don't know Python. So I did it in C.
I'd forgotten how to use the dirent.h functions, and had to do some
exploratory programming. Then I wrote a little function to recurse
the directory. My Mac asked me if I wanted to allow terminal to access
my photos folder. I'd forgotten about the ".." link and it had recursed up
the directory tree and down through my entire file system. No damage
done, but alarming.

It took about an afternoon to get the data into compileable C form.
So I can well believe that Python is more productive. I was burned with
Perl and haven't looked seriously at scripting since. I seldom need it
for the type of programming I do.

Re: A love of languages

<20220331090830.172@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21050&group=comp.lang.c#21050

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 480-992-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: A love of languages
Date: Thu, 31 Mar 2022 16:15:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <20220331090830.172@kylheku.com>
References: <t1q227$14hc0$1@paganini.bofh.team>
<t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me>
<t23oph$ble$1@dont-email.me> <t23q4r$3as$1@gioia.aioe.org>
Injection-Date: Thu, 31 Mar 2022 16:15:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f8be93b4555e8b406f842eb174eb9672";
logging-data="3770"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GjQRIur9fKwoOyha12pq2qw2KryjGgmo="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:wnYshFJpIpByitCneOw18ofQC6o=
 by: Kaz Kylheku - Thu, 31 Mar 2022 16:15 UTC

On 2022-03-31, Mateusz Viste <mateusz@xyz.invalid> wrote:
> 2022-03-31 at 10:29 +0200, David Brown wrote:
>> Python is a useful language to learn. [...]
>> it is slower if you are doing heavy processor work. But it is
>> /vastly/ simpler to work with for string processing, anything
>> involving networking, databases, etc. Your source code is usually a
>> fraction of the size - it has a very different "programmer
>> efficiency" vs. "run-time efficiency" balance than C++. For small
>> and simple programs and scripts, it is extremely handy
>
> In this very same context I use PHP as my "go-to scripting language". I
> find it much more pleasant than Python.

My go-to language is TXR. It has a whole-document pattern-matching
language, and feature-rich Lisp dialect: powerful macro system, object
orientation with multiple inheritance, laziness, pattern matching,
bignum integers, FFI with an expressive type system: has everything down
to bitfields, and alignment and packing options for struct members.
There is a compiler (to a virtual machine), with multiple levels of
optimizations: constant folding, dead code elimination, control and data
flow optimizations. All character data in TXR is wide characters, and
text I/O is UTF-8.

I wrote this myself, starting back in 2009; currently it's in in its
274-th public release. I wanted a language exactly like this and got it!

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

Re: A love of languages

<t2e1hh$1b64$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21076&group=comp.lang.c#21076

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!NK0c7qMEn6mmBWqphs27pg.user.46.165.242.75.POSTED!not-for-mail
From: nos...@thanks.invalid (Juha Nieminen)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Mon, 4 Apr 2022 06:00:19 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t2e1hh$1b64$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
Injection-Info: gioia.aioe.org; logging-data="44228"; posting-host="NK0c7qMEn6mmBWqphs27pg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/5.10.103-grsec-kapsi (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Juha Nieminen - Mon, 4 Apr 2022 06:00 UTC

In comp.lang.c++ Muttley@dastardlyhq.com wrote:
>>But I've never learned Python. Perhaps I should.
>
> If you think you might need it to get a job then do it, otherwise there's
> little point. Its just another procedural scripting language with an OO
> kludge nailed on top and doesn't bring anything new to the table.

The thing is that even you don't write Python it's likely you'll encounter
it in one form of another. Sometimes even in the form of having to understand
what a Python program is doing, or even change/fix it.

This is because, as mentioned, Python is shoved *everywhere* (regardless of
whather it's a good choice or not).

I wouldn't be surprised if Python is at this moment running on the surface
of Mars, and near the Lagrange-2 point.

Re: A love of languages

<t2ea7o$10jd$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21078&group=comp.lang.c#21078

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!BKzeqmo2UYxb4eR2zKm0zw.user.46.165.242.91.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Mon, 4 Apr 2022 08:28:40 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t2ea7o$10jd$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org> <t2e1hh$1b64$1@gioia.aioe.org>
Injection-Info: gioia.aioe.org; logging-data="33389"; posting-host="BKzeqmo2UYxb4eR2zKm0zw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Mutt...@dastardlyhq.com - Mon, 4 Apr 2022 08:28 UTC

On Mon, 4 Apr 2022 06:00:19 -0000 (UTC)
Juha Nieminen <nospam@thanks.invalid> wrote:
>In comp.lang.c++ Muttley@dastardlyhq.com wrote:
>>>But I've never learned Python. Perhaps I should.
>>
>> If you think you might need it to get a job then do it, otherwise there's
>> little point. Its just another procedural scripting language with an OO
>> kludge nailed on top and doesn't bring anything new to the table.
>
>The thing is that even you don't write Python it's likely you'll encounter
>it in one form of another. Sometimes even in the form of having to understand
>what a Python program is doing, or even change/fix it.
>
>This is because, as mentioned, Python is shoved *everywhere* (regardless of
>whather it's a good choice or not).
>
>I wouldn't be surprised if Python is at this moment running on the surface
>of Mars, and near the Lagrange-2 point.

I don't think its used in the spacecraft but I can tell you (no, I can't tell
you how I know) that Python *is* used in the ground systems for certain space
missions in certain areas.

Re: A love of languages

<t2i7n8$ucs$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21092&group=comp.lang.c#21092

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: vir.camp...@invalid.invalid (Vir Campestris)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Tue, 5 Apr 2022 21:10:16 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <t2i7n8$ucs$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
<t2e1hh$1b64$1@gioia.aioe.org> <t2ea7o$10jd$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Apr 2022 20:10:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="361b7d42f7c34cf9b59ab0bae11d3161";
logging-data="31132"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dPzzRBMfPy+n94XZ54/t9LIvAi+Gg0i4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:3Iju/nVYRRttk42kxjmM1nouuCI=
In-Reply-To: <t2ea7o$10jd$1@gioia.aioe.org>
Content-Language: en-GB
 by: Vir Campestris - Tue, 5 Apr 2022 20:10 UTC

On 04/04/2022 09:28, Muttley@dastardlyhq.com wrote:
> On Mon, 4 Apr 2022 06:00:19 -0000 (UTC)
> Juha Nieminen <nospam@thanks.invalid> wrote:
>> In comp.lang.c++ Muttley@dastardlyhq.com wrote:
>>>> But I've never learned Python. Perhaps I should.
>>>
>>> If you think you might need it to get a job then do it, otherwise there's
>>> little point. Its just another procedural scripting language with an OO
>>> kludge nailed on top and doesn't bring anything new to the table.
>>
>> The thing is that even you don't write Python it's likely you'll encounter
>> it in one form of another. Sometimes even in the form of having to understand
>> what a Python program is doing, or even change/fix it.
>>
>> This is because, as mentioned, Python is shoved *everywhere* (regardless of
>> whather it's a good choice or not).
>>
>> I wouldn't be surprised if Python is at this moment running on the surface
>> of Mars, and near the Lagrange-2 point.
>
> I don't think its used in the spacecraft but I can tell you (no, I can't tell
> you how I know) that Python *is* used in the ground systems for certain space
> missions in certain areas.
>
"To get a job" ... that's one thing I _won't_ need it for. I'm retiring
at the end of the month.

You mentioned space. I know _exactly_ where I was on 15th July 1969.

Andy

Re: A love of languages

<t2i8pn$nuh$1@redfloyd.dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21093&group=comp.lang.c#21093

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!redfloyd.dont-email.me!.POSTED!not-for-mail
From: no.spam....@its.invalid (red floyd)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Tue, 5 Apr 2022 13:28:39 -0700
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <t2i8pn$nuh$1@redfloyd.dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
<t2e1hh$1b64$1@gioia.aioe.org> <t2ea7o$10jd$1@gioia.aioe.org>
<t2i7n8$ucs$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Apr 2022 20:28:40 -0000 (UTC)
Injection-Info: redfloyd.dont-email.me; posting-host="0962b7e4ccde972ddfe435d9e7ecef46";
logging-data="24529"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vrBcuHc4V+kvFuTfMJGf7soOxN80zRpc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:vxwSzsgFTBcDQ+7FXrqm7eLWgFw=
In-Reply-To: <t2i7n8$ucs$1@dont-email.me>
Content-Language: en-US
 by: red floyd - Tue, 5 Apr 2022 20:28 UTC

On 4/5/2022 1:10 PM, Vir Campestris wrote:

> You mentioned space. I know _exactly_ where I was on 15th July 1969.

As do I. I was waiting for the Apollo 11 launch on the 16th.

Re: A love of languages

<t2l3kh$2jo9d$2@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21094&group=comp.lang.c#21094

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: legalize...@mail.xmission.com (Richard)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Wed, 6 Apr 2022 22:18:57 -0000 (UTC)
Organization: multi-cellular, biological
Sender: legalize+jeeves@mail.xmission.com
Message-ID: <t2l3kh$2jo9d$2@news.xmission.com>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
Reply-To: (Richard) legalize+jeeves@mail.xmission.com
Injection-Date: Wed, 6 Apr 2022 22:18:57 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:2607:fa18:0:beef::4";
logging-data="2744621"; mail-complaints-to="abuse@xmission.com"
X-Reply-Etiquette: No copy by email, please
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: legalize@shell.xmission.com (Richard)
 by: Richard - Wed, 6 Apr 2022 22:18 UTC

[Please do not mail me a copy of your followup]

Muttley@dastardlyhq.com spake the secret code
<t23oq5$1jau$1@gioia.aioe.org> thusly:

>If you think you might need it to get a job then do it, otherwise there's
>little point. Its just another procedural scripting language with an OO
>kludge nailed on top and doesn't bring anything new to the table.

The point about python isn't the language, it's the ecosystem of
packages.

Same for nodejs, perl, TeX, ruby, etc. All those languages continue to
thrive and be useful for their niche because the ecosystem of packages
and the ease by which you can consume them makes it easy to get stuff
done.

vcpkg is making a difference for C++ though.
<https://www.youtube.com/watch?v=gpBDHh47w-I>

....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.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

Re: A love of languages

<t2m9ar$162k$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21095&group=comp.lang.c#21095

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!BKzeqmo2UYxb4eR2zKm0zw.user.46.165.242.91.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 7 Apr 2022 09:02:19 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t2m9ar$162k$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org> <t2l3kh$2jo9d$2@news.xmission.com>
Injection-Info: gioia.aioe.org; logging-data="38996"; posting-host="BKzeqmo2UYxb4eR2zKm0zw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Mutt...@dastardlyhq.com - Thu, 7 Apr 2022 09:02 UTC

On Wed, 6 Apr 2022 22:18:57 -0000 (UTC)
legalize+jeeves@mail.xmission.com (Richard) wrote:
>[Please do not mail me a copy of your followup]
>
>Muttley@dastardlyhq.com spake the secret code
><t23oq5$1jau$1@gioia.aioe.org> thusly:
>
>>If you think you might need it to get a job then do it, otherwise there's
>>little point. Its just another procedural scripting language with an OO
>>kludge nailed on top and doesn't bring anything new to the table.
>
>The point about python isn't the language, it's the ecosystem of
>packages.
>
>Same for nodejs, perl, TeX, ruby, etc. All those languages continue to
>thrive and be useful for their niche because the ecosystem of packages
>and the ease by which you can consume them makes it easy to get stuff
>done.

You could use the same argument for Java. Poor language but lots of libraries.
Cross platform runtime support doesn't matter nearly as much now as it did in
the 90s when Java came out due to VMs and the cloud.

>....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.

Agreed.

Re: A love of languages

<t2makl$bl5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21096&group=comp.lang.c#21096

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 7 Apr 2022 11:24:36 +0200
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <t2makl$bl5$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
<t2l3kh$2jo9d$2@news.xmission.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Apr 2022 09:24:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7feedb2ef5c783a4630985cba90f0d20";
logging-data="11941"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BHwUbElc6hNaBf+7u1wUgh2t8UpOkUM4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:5K2IMm/zBo+Z/K4gDinwtDsv1Z4=
In-Reply-To: <t2l3kh$2jo9d$2@news.xmission.com>
Content-Language: en-GB
 by: David Brown - Thu, 7 Apr 2022 09:24 UTC

On 07/04/2022 00:18, Richard wrote:
> [Please do not mail me a copy of your followup]
>
> Muttley@dastardlyhq.com spake the secret code
> <t23oq5$1jau$1@gioia.aioe.org> thusly:
>
>> If you think you might need it to get a job then do it, otherwise there's
>> little point. Its just another procedural scripting language with an OO
>> kludge nailed on top and doesn't bring anything new to the table.
>
> The point about python isn't the language, it's the ecosystem of
> packages.
>
> Same for nodejs, perl, TeX, ruby, etc. All those languages continue to
> thrive and be useful for their niche because the ecosystem of packages
> and the ease by which you can consume them makes it easy to get stuff
> done.
>
> vcpkg is making a difference for C++ though.
> <https://www.youtube.com/watch?v=gpBDHh47w-I>
>
> ...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.

Re: A love of languages

<t2mbmf$bvv$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21097&group=comp.lang.c#21097

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!BKzeqmo2UYxb4eR2zKm0zw.user.46.165.242.91.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 7 Apr 2022 09:42:39 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t2mbmf$bvv$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
<t2l3kh$2jo9d$2@news.xmission.com>
<t2makl$bl5$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="12287"; posting-host="BKzeqmo2UYxb4eR2zKm0zw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Mutt...@dastardlyhq.com - Thu, 7 Apr 2022 09:42 UTC

On Thu, 7 Apr 2022 11:24:36 +0200
David Brown <david.brown@hesbynett.no> wrote:
>On 07/04/2022 00:18, Richard wrote:
>> [Please do not mail me a copy of your followup]
>>
>> Muttley@dastardlyhq.com spake the secret code
>> <t23oq5$1jau$1@gioia.aioe.org> thusly:
>>
>>> If you think you might need it to get a job then do it, otherwise there's
>>> little point. Its just another procedural scripting language with an OO
>>> kludge nailed on top and doesn't bring anything new to the table.
>>
>> The point about python isn't the language, it's the ecosystem of
>> packages.
>>
>> Same for nodejs, perl, TeX, ruby, etc. All those languages continue to
>> thrive and be useful for their niche because the ecosystem of packages
>> and the ease by which you can consume them makes it easy to get stuff
>> done.
>>
>> vcpkg is making a difference for C++ though.
>> <https://www.youtube.com/watch?v=gpBDHh47w-I>
>>
>> ...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.

Re: A love of languages

<t2mcs4$qn4$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21098&group=comp.lang.c#21098

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 7 Apr 2022 12:02:44 +0200
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <t2mcs4$qn4$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
<t2l3kh$2jo9d$2@news.xmission.com> <t2makl$bl5$1@dont-email.me>
<t2mbmf$bvv$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Apr 2022 10:02:44 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7feedb2ef5c783a4630985cba90f0d20";
logging-data="27364"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QSYydKi8gWqJDg7kmGpnSCroHZFOn+98="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:/PY/OkVznpoeG2exqPQ6B2V5zyE=
In-Reply-To: <t2mbmf$bvv$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Brown - Thu, 7 Apr 2022 10:02 UTC

On 07/04/2022 11:42, Muttley@dastardlyhq.com wrote:
> On Thu, 7 Apr 2022 11:24:36 +0200
> David Brown <david.brown@hesbynett.no> wrote:
>> On 07/04/2022 00:18, Richard wrote:
>>> [Please do not mail me a copy of your followup]
>>>
>>> Muttley@dastardlyhq.com spake the secret code
>>> <t23oq5$1jau$1@gioia.aioe.org> thusly:
>>>
>>>> If you think you might need it to get a job then do it, otherwise there's
>>>> little point. Its just another procedural scripting language with an OO
>>>> kludge nailed on top and doesn't bring anything new to the table.
>>>
>>> The point about python isn't the language, it's the ecosystem of
>>> packages.
>>>
>>> Same for nodejs, perl, TeX, ruby, etc. All those languages continue to
>>> thrive and be useful for their niche because the ecosystem of packages
>>> and the ease by which you can consume them makes it easy to get stuff
>>> done.
>>>
>>> vcpkg is making a difference for C++ though.
>>> <https://www.youtube.com/watch?v=gpBDHh47w-I>
>>>
>>> ...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.
>

It is not uncommon for things like a package manager to use other common
utilities - including shells. But bash alone is not a language you'd
use for a task like this.

Re: A love of languages

<t2nfhm$d4f$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21099&group=comp.lang.c#21099

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: aurio...@gmx.de (Christian Gollwitzer)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 7 Apr 2022 21:54:27 +0200
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <t2nfhm$d4f$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <t23oq5$1jau$1@gioia.aioe.org>
<t2l3kh$2jo9d$2@news.xmission.com> <t2makl$bl5$1@dont-email.me>
<t2mbmf$bvv$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Apr 2022 19:54:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="acf8a39bf7a9dfbbe3eed028e57e5cf6";
logging-data="13455"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GmgUB3pBiQZIUBKYPz5BgTtrMNf6wizg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.7.0
Cancel-Lock: sha1:OtkrkB/ufLXF2JVn9LLgWx9LMks=
In-Reply-To: <t2mbmf$bvv$1@gioia.aioe.org>
 by: Christian Gollwitzer - Thu, 7 Apr 2022 19:54 UTC

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
useless without a bunch of other tools like awk, sed, cp, mv, find, ...

It is way easier to get a working Python installation.

Christian

Re: A love of languages

<t2nj1l$2l02c$2@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21101&group=comp.lang.c#21101

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: legalize...@mail.xmission.com (Richard)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Thu, 7 Apr 2022 20:54:13 -0000 (UTC)
Organization: multi-cellular, biological
Sender: legalize+jeeves@mail.xmission.com
Message-ID: <t2nj1l$2l02c$2@news.xmission.com>
References: <t1q227$14hc0$1@paganini.bofh.team> <t2l3kh$2jo9d$2@news.xmission.com> <t2makl$bl5$1@dont-email.me> <t2mbmf$bvv$1@gioia.aioe.org>
Reply-To: (Richard) legalize+jeeves@mail.xmission.com
Injection-Date: Thu, 7 Apr 2022 20:54:13 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:2607:fa18:0:beef::4";
logging-data="2785356"; mail-complaints-to="abuse@xmission.com"
X-Reply-Etiquette: No copy by email, please
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: legalize@shell.xmission.com (Richard)
 by: Richard - Thu, 7 Apr 2022 20:54 UTC

[Please do not mail me a copy of your followup]

Muttley@dastardlyhq.com spake the secret code
<t2mbmf$bvv$1@gioia.aioe.org> thusly:

>On Thu, 7 Apr 2022 11:24:36 +0200
>David Brown <david.brown@hesbynett.no> wrote:
>>On 07/04/2022 00:18, Richard wrote:
>>> [Please do not mail me a copy of your followup]
>>>
>>> Muttley@dastardlyhq.com spake the secret code
>>> <t23oq5$1jau$1@gioia.aioe.org> thusly:
>>>
>>>> If you think you might need it to get a job then do it, otherwise there's
>>>> little point. Its just another procedural scripting language with an OO
>>>> kludge nailed on top and doesn't bring anything new to the table.
>>>
>>> The point about python isn't the language, it's the ecosystem of
>>> packages.
>>>
>>> Same for nodejs, perl, TeX, ruby, etc. All those languages continue to
>>> thrive and be useful for their niche because the ecosystem of packages
>>> and the ease by which you can consume them makes it easy to get stuff
>>> done.
>>>
>>> vcpkg is making a difference for C++ though.
>>> <https://www.youtube.com/watch?v=gpBDHh47w-I>
>>>
>>> ...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.

You forgot </sarcasm>
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

Re: A love of languages

<t2p3ut$1bil$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21103&group=comp.lang.c#21103

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!BKzeqmo2UYxb4eR2zKm0zw.user.46.165.242.91.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Fri, 8 Apr 2022 10:49:01 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t2p3ut$1bil$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <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>
Injection-Info: gioia.aioe.org; logging-data="44629"; posting-host="BKzeqmo2UYxb4eR2zKm0zw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Mutt...@dastardlyhq.com - Fri, 8 Apr 2022 10:49 UTC

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?)

Re: A love of languages

<t2p925$1his$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21105&group=comp.lang.c#21105

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!aioe.org!NK0c7qMEn6mmBWqphs27pg.user.46.165.242.75.POSTED!not-for-mail
From: nos...@thanks.invalid (Juha Nieminen)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Fri, 8 Apr 2022 12:16:07 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t2p925$1his$1@gioia.aioe.org>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me> <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>
Injection-Info: gioia.aioe.org; logging-data="50780"; posting-host="NK0c7qMEn6mmBWqphs27pg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/5.10.103-grsec-kapsi (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Juha Nieminen - Fri, 8 Apr 2022 12:16 UTC

In comp.lang.c++ Christian Gollwitzer <auriocus@gmx.de> wrote:
> Additionally, it's hard to get Bash working on Windows. Bash is rather
> useless without a bunch of other tools like awk, sed, cp, mv, find, ...
>
> It is way easier to get a working Python installation.

Is Python any easier?

It's not like you can just run "apt install python" in Windows.

(Of course in modern Windows there's WSL which ought to make it much easier
to use Python, bash, or almost any other (non-graphical) unix tool you want.)

Re: A love of languages

<ccdefce4-c5e3-495b-b9ae-29bdf7b9e128n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21106&group=comp.lang.c#21106

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:2293:b0:600:2b7b:2a19 with SMTP id o19-20020a05620a229300b006002b7b2a19mr12317325qkh.408.1649420509796;
Fri, 08 Apr 2022 05:21:49 -0700 (PDT)
X-Received: by 2002:a05:620a:c4b:b0:67e:11a2:7cfb with SMTP id
u11-20020a05620a0c4b00b0067e11a27cfbmr12276512qki.9.1649420509610; Fri, 08
Apr 2022 05:21:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Fri, 8 Apr 2022 05:21:49 -0700 (PDT)
In-Reply-To: <t2p3ut$1bil$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:2c:c663:f2fd:5124;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:2c:c663:f2fd:5124
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <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> <t2p3ut$1bil$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ccdefce4-c5e3-495b-b9ae-29bdf7b9e128n@googlegroups.com>
Subject: Re: A love of languages
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Fri, 08 Apr 2022 12:21:49 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 44
 by: Malcolm McLean - Fri, 8 Apr 2022 12:21 UTC

On Friday, 8 April 2022 at 11:49:16 UTC+1, Mut...@dastardlyhq.com wrote:
> On Thu, 7 Apr 2022 21:54:27 +0200
> Christian Gollwitzer <auri...@gmx.de> wrote:
> >Am 07.04.22 um 11:42 schrieb Mut...@dastardlyhq.com:
> >> On Thu, 7 Apr 2022 11:24:36 +0200
> >> David Brown <david...@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?)
>
The dependency problem is severe. The worst problem is mismatched diamond
dependencies, where one component, call it A, depends on C, and another component,
call it B, also depends on C, but the versions of C that they require are different.

Not as severe, but very time consuming, are lasange-dependencies, where one
thing depnds on another, depends on another. However eventually youu get to
the bottom of the lasange and something already installed or directly obtainable.
But it can take a long time, with potential things going subtly wrong at every stage.

Re: A love of languages

<t2pc4k$dq7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21107&group=comp.lang.c#21107

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: A love of languages
Date: Fri, 8 Apr 2022 15:08:36 +0200
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <t2pc4k$dq7$1@dont-email.me>
References: <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org>
<t22g0k$hi4$1@dont-email.me> <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>
<t2p925$1his$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 8 Apr 2022 13:08:36 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0f8013f343e5df5048ca85d14628a8b4";
logging-data="14151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oDtYKZNWpD0H5kFcG4gyh3idXgOB78+4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:KIP+eX4HtdANPBndBvRTzHjPbXE=
In-Reply-To: <t2p925$1his$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Brown - Fri, 8 Apr 2022 13:08 UTC

On 08/04/2022 14:16, Juha Nieminen wrote:
> In comp.lang.c++ Christian Gollwitzer <auriocus@gmx.de> wrote:
>> Additionally, it's hard to get Bash working on Windows. Bash is rather
>> useless without a bunch of other tools like awk, sed, cp, mv, find, ...
>>
>> It is way easier to get a working Python installation.
>
> Is Python any easier?
>
> It's not like you can just run "apt install python" in Windows.
>

Installing Python on Windows is simple - using the standard Windows
installation method. Go to "www.python.org", click "Downloads", click
"Windows", and download and install it. (Or perhaps skip a click or two
by just googling "install python" on a Windows machine.)

If you want to do more complicated Python work on Windows, and have
multiple versions installed, it can get a little more complicated. But
for simple "install the latest Python", it's easy.

But anyone making a Python program that they want to make easy for
Windows can also use "py2exe" (or a similar system - there are a few to
choose from) that combines your Python code along with the Python
runtime, interpreter and required libraries, into a single exe file. It
can be quite big - you probably have a minimum size of about 8 or 10 MB,
but that's rarely a problem. The user gets the convenience of
installing it and running it as a stand-alone program with no extra
dependencies, while the developer gets the convenience of writing in
Python with all its high-level libraries.

The great majority of general-purpose Linux systems already have Python
installed by default - so the usual Linux installation method is to do
nothing. (The only relatively modern Linux systems I have seen that
don't have Python don't have bash either - they have busybox for their
shell.)

Installing bash, awk, sed, and friends on Windows is not rocket science
either, but you need to know more - generally, the best way IMHO (other
than WSL or similar) is to install msys2. And you can get Python with
that too :-) (To get vaguely back to the newsgroups' topic, msys2 is
also a good way to get gcc, g++, make, binutils, and such programs for
use on Windows.)

> (Of course in modern Windows there's WSL which ought to make it much easier
> to use Python, bash, or almost any other (non-graphical) unix tool you want.)

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor