• "Internationalis(z)ing Code - Computerphile"

    From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Fri Jan 23 21:35:54 2026
    From Newsgroup: comp.lang.c++

    "Internationalis(z)ing Code - Computerphile"
    https://www.youtube.com/watch?v=0j74jcxSunY

    "Catering for a global audience is difficult, Tom takes us through a 'timezones' style explanation of the things you need to keep in mind
    when internationalising your code."

    I knew it was bad, but not that bad.

    Yup, I just write and sell my software in American English. I've got
    enough problems without having to deal with localization.

    One of my programmers has been working on converting our Windows user interface, written in 450,000 lines of C++, from Ascii to Unicode for
    two years now. It was a one year project to start and his latest
    estimate is another year to complete.

    Lynn

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sat Jan 24 04:46:22 2026
    From Newsgroup: comp.lang.c++

    On Fri, 23 Jan 2026 21:35:54 -0600, Lynn McGuire wrote:

    I knew it was bad, but not that bad.

    Back in earlier Web 1.0 days, I developed an online shop system for
    a client, that had to be localizable for different target markets --
    different currencies, different languages.

    I developed a templating system, which allowed the code to substitute
    strings into other strings, making choices according to numbers of
    items (for singular-versus-plural cases), gender etc. Since the
    placeholders were substituted by name, not position, this allowed for differences in grammar (e.g. verb-noun ordering).

    As new languages came along with more grammatical peculiarities, I
    added new templating cases, that could substitute to exactly the same
    strings for existing languages. For example, a list of items in
    English might expand to one of

    1 item -- rCLArCY
    2 items -- rCLA or BrCY
    3 or more items -- rCLA, B, ... C or DrCY

    whereas in Japanese, the case with 3 items has to be distinguished
    from the ones with 4 or more items.

    The hard part was explaining the templating system to translators. I
    tried giving copious examples of how the substitutions would work in
    specific cases. As I recall, I still had to do some massaging of the
    strings they sent back, in some cases having to guess what they meant,
    and then get them to test the results, to confirm with them that the
    site was producing the correct messages in all cases.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Gary Scott@garylscott@sbcglobal.net to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sat Jan 24 10:11:08 2026
    From Newsgroup: comp.lang.c++

    On 1/23/2026 10:46 PM, Lawrence DrCOOliveiro wrote:
    On Fri, 23 Jan 2026 21:35:54 -0600, Lynn McGuire wrote:

    I knew it was bad, but not that bad.

    Back in earlier Web 1.0 days, I developed an online shop system for
    a client, that had to be localizable for different target markets -- different currencies, different languages.

    I developed a templating system, which allowed the code to substitute
    strings into other strings, making choices according to numbers of
    items (for singular-versus-plural cases), gender etc. Since the
    placeholders were substituted by name, not position, this allowed for differences in grammar (e.g. verb-noun ordering).

    As new languages came along with more grammatical peculiarities, I
    added new templating cases, that could substitute to exactly the same
    strings for existing languages. For example, a list of items in
    English might expand to one of

    1 item -- rCLArCY
    2 items -- rCLA or BrCY
    3 or more items -- rCLA, B, ... C or DrCY

    whereas in Japanese, the case with 3 items has to be distinguished
    from the ones with 4 or more items.

    The hard part was explaining the templating system to translators. I
    tried giving copious examples of how the substitutions would work in
    specific cases. As I recall, I still had to do some massaging of the
    strings they sent back, in some cases having to guess what they meant,
    and then get them to test the results, to confirm with them that the
    site was producing the correct messages in all cases.

    I would think that in some cases, you could simply substitute a
    different bubble help message for hovering over a provided icon,
    nowadays. Might be sufficient for some cases.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Jan 25 17:13:19 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    "Internationalis(z)ing Code - Computerphile"
    https://www.youtube.com/watch?v=0j74jcxSunY

    "Catering for a global audience is difficult, Tom takes us through a 'timezones' style explanation of the things you need to keep in mind
    when internationalising your code."

    I knew it was bad, but not that bad.

    Yup, I just write and sell my software in American English. I've got
    enough problems without having to deal with localization.

    You can probably get by with engineering software.

    One of my programmers has been working on converting our Windows user interface, written in 450,000 lines of C++, from Ascii to Unicode for
    two years now. It was a one year project to start and his latest
    estimate is another year to complete.

    Like the early history of Fortran - when people ask when the project
    was going to be finisehd, the answer was always "in six months".
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Jan 25 15:21:27 2026
    From Newsgroup: comp.lang.c++

    On 1/25/2026 11:13 AM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    "Internationalis(z)ing Code - Computerphile"
    https://www.youtube.com/watch?v=0j74jcxSunY

    "Catering for a global audience is difficult, Tom takes us through a
    'timezones' style explanation of the things you need to keep in mind
    when internationalising your code."

    I knew it was bad, but not that bad.

    Yup, I just write and sell my software in American English. I've got
    enough problems without having to deal with localization.

    You can probably get by with engineering software.

    One of my programmers has been working on converting our Windows user
    interface, written in 450,000 lines of C++, from Ascii to Unicode for
    two years now. It was a one year project to start and his latest
    estimate is another year to complete.

    Like the early history of Fortran - when people ask when the project
    was going to be finisehd, the answer was always "in six months".

    I started writing Fortran code in 1975 for one of my dad's programmers
    when I was 14. Dad was always selling the future capabilities of the software, more than the software did or was even designed to do. Here I
    am in 2026, still trying to add more capabilities to the same software
    for my customers demands.

    BTW, I don't put commas in my 12 digit printed numbers because I sell
    40% of my software outside the USA, just periods. Shoot, people can't
    even agree on periods or commas for the fractional part.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 01:00:15 2026
    From Newsgroup: comp.lang.c++

    On 2026-01-25 22:21, Lynn McGuire wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    [...]-aI've got enough problems without having to deal with localization.

    Getting all right if implementing things from scratch is demanding.
    (Luckily software and systems nowadays handle that for us.)

    $ LC_NUMERIC=de_DE.UTF-8 printf "%9.3f\n" 1.234,567
    1234,567
    $ LC_NUMERIC=en_US.UTF-8 printf "%9.3f\n" 1,234.567
    1234.567

    BTW, I don't put commas in my 12 digit printed numbers because I sell
    40% of my software outside the USA, just periods.

    That, OTOH, is just the trivial part. Even some old languages (like
    Simula) allowed to change the decimal mark character for read/write
    of real numbers. Since you just need that function on the interface
    level it can be done in one place (presuming you use the respective
    function, or redefine your own); the internal representation may be
    all the same. So just define the numeric separators in the program's environment.

    Shoot, people can't
    even agree on periods or commas for the fractional part.

    Are you really complaining about characteristics of people's (or
    nation's) historic conventions?

    They typically use what's defined in their nation. (What's actually
    supported by the respective locale for that language/nation.) It's
    hard to change long used common habits. (See introduction of the SI
    units in the USA, for example.) I think they usually also don't need
    to change their habits. Only in case of international cooperation we
    need to distinguish the [external] representation. (Our IT, software
    systems, and programmers certainly can handle that.)

    Personally I'm using the "C" locale for numeric representations in
    my private computing. But I'm used to write numbers like "1234.567",
    where non-IT people might not be used to it.

    Though even long existing software doesn't get localization sensibly implemented (despite they're technically using locales). But that's
    another story.

    Janis

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 01:42:48 2026
    From Newsgroup: comp.lang.c++

    On Sun, 25 Jan 2026 15:21:27 -0600, Lynn McGuire wrote:

    BTW, I don't put commas in my 12 digit printed numbers because I sell
    40% of my software outside the USA, just periods. Shoot, people can't
    even agree on periods or commas for the fractional part.

    This is where you should automatically query the locale settings.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 00:45:41 2026
    From Newsgroup: comp.lang.c++

    On 1/25/2026 7:42 PM, Lawrence DrCOOliveiro wrote:
    On Sun, 25 Jan 2026 15:21:27 -0600, Lynn McGuire wrote:

    BTW, I don't put commas in my 12 digit printed numbers because I sell
    40% of my software outside the USA, just periods. Shoot, people can't
    even agree on periods or commas for the fractional part.

    This is where you should automatically query the locale settings.

    Yup, only if I had the time. I am at 15% of converting my Fortran code
    to C++. 800,000 lines of Fortran code with 700,000 lines to go. I got
    my input parser on my data reduction software to working in C++ just
    last Thursday.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 09:07:35 2026
    From Newsgroup: comp.lang.c++

    On 26/01/2026 02:42, Lawrence DrCOOliveiro wrote:
    On Sun, 25 Jan 2026 15:21:27 -0600, Lynn McGuire wrote:

    BTW, I don't put commas in my 12 digit printed numbers because I sell
    40% of my software outside the USA, just periods. Shoot, people can't
    even agree on periods or commas for the fractional part.

    This is where you should automatically query the locale settings.

    In my experience, that's often of no help at all. It is very dependent
    on the type of programs you are writing, and the type of users.

    There are some PCs that are /personal/ computers. But there are many situations where PCs are not personal, or where the same program is used
    on the same system by different people (different humans, not different Linux/Windows logins) who have different preferences. The obvious
    example is web-based software, though that's not a common model for the languages in these Usenet groups.

    I don't write a lot of user-facing software, but when I do, it is not
    uncommon for it to be bilingual - Norwegian and English. And the
    language is changed while the program is running, perhaps in connection
    to a login if the program has one.

    IME, locale settings can be a bigger hinder than help, especially on
    Windows and with MS Office. If your program exports data in tab or
    semicolon separated formats to be opened in a spreadsheet, or has some
    other connection to MS Office programs, you have to use the formats that
    the locale wants, not the formats the current user wants. (LibreOffice
    is vastly more flexible.) Displaying a decimal point, decimal colon, or decimal apostrophe is not difficult - it is handling the imports and
    exports that is the challenge.

    And if you are writing wider-range internationalised software (not my
    field), locales cover only a very small part. Your screen layout should likely be very different for a country with a right-to-left writing
    system, for example. And whatever name you pick for your program, if
    you have enough languages then you are pretty much guaranteed that in
    some countries your program name will be an insult, a swear word, or at
    least sound ridiculous.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 14:17:46 2026
    From Newsgroup: comp.lang.c++

    On Mon, 26 Jan 2026 00:45:41 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:
    On 1/25/2026 7:42 PM, Lawrence DrCOOliveiro wrote:
    On Sun, 25 Jan 2026 15:21:27 -0600, Lynn McGuire wrote:

    BTW, I don't put commas in my 12 digit printed numbers because I
    sell 40% of my software outside the USA, just periods. Shoot,
    people can't even agree on periods or commas for the fractional
    part.

    This is where you should automatically query the locale settings.

    Yup, only if I had the time. I am at 15% of converting my Fortran
    code to C++. 800,000 lines of Fortran code with 700,000 lines to go.
    I got my input parser on my data reduction software to working in
    C++ just last Thursday.

    Lynn

    How many of your grandchildren are working on this software?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From scott@scott@slp53.sl.home (Scott Lurndal) to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 15:04:43 2026
    From Newsgroup: comp.lang.c++

    Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
    On 2026-01-25 22:21, Lynn McGuire wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    [...]-aI've got enough problems without having to deal with localization.

    Getting all right if implementing things from scratch is demanding.
    (Luckily software and systems nowadays handle that for us.)

    $ LC_NUMERIC=de_DE.UTF-8 printf "%9.3f\n" 1.234,567
    1234,567
    $ LC_NUMERIC=en_US.UTF-8 printf "%9.3f\n" 1,234.567
    1234.567

    BTW, I don't put commas in my 12 digit printed numbers because I sell
    40% of my software outside the USA, just periods.

    That, OTOH, is just the trivial part. Even some old languages (like
    Simula) allowed to change the decimal mark character for read/write
    of real numbers. Since you just need that function on the interface
    level it can be done in one place (presuming you use the respective
    function, or redefine your own); the internal representation may be
    all the same. So just define the numeric separators in the program's >environment.

    COBOL:

    ENVIRONMENT DIVISION.
    SPECIAL-NAMES.
    DECIMAL POINT IS COMMA.



    Shoot, people can't
    even agree on periods or commas for the fractional part.

    Are you really complaining about characteristics of people's (or
    nation's) historic conventions?

    It's Lynn. He's a rather hidebound trump supporter. Logic and
    history are not components of his thought processes.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 22:47:33 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I started writing Fortran code in 1975 for one of my dad's programmers
    when I was 14. Dad was always selling the future capabilities of the software, more than the software did or was even designed to do.

    Sounds an awful lot like Bill Gates, but he even sold software
    that had not even been written. There is a story where he wrote a
    Fortran compiler, which failed tests and was therefore not accepted,
    and he refused to fix the bugs.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 16:50:11 2026
    From Newsgroup: comp.lang.c++

    On 1/26/2026 6:17 AM, Michael S wrote:
    On Mon, 26 Jan 2026 00:45:41 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:

    On 1/25/2026 7:42 PM, Lawrence DrCOOliveiro wrote:
    On Sun, 25 Jan 2026 15:21:27 -0600, Lynn McGuire wrote:

    BTW, I don't put commas in my 12 digit printed numbers because I
    sell 40% of my software outside the USA, just periods. Shoot,
    people can't even agree on periods or commas for the fractional
    part.

    This is where you should automatically query the locale settings.

    Yup, only if I had the time. I am at 15% of converting my Fortran
    code to C++. 800,000 lines of Fortran code with 700,000 lines to go.
    I got my input parser on my data reduction software to working in
    C++ just last Thursday.

    Lynn


    How many of your grandchildren are working on this software?

    None as I have no grandchildren.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Jan 26 16:51:43 2026
    From Newsgroup: comp.lang.c++

    On 1/26/2026 4:47 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I started writing Fortran code in 1975 for one of my dad's programmers
    when I was 14. Dad was always selling the future capabilities of the
    software, more than the software did or was even designed to do.

    Sounds an awful lot like Bill Gates, but he even sold software
    that had not even been written. There is a story where he wrote a
    Fortran compiler, which failed tests and was therefore not accepted,
    and he refused to fix the bugs.

    Powerstation. Very buggy. Several service packs. I could never get it
    to work properly.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 05:17:12 2026
    From Newsgroup: comp.lang.c++

    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 06:45:38 2026
    From Newsgroup: comp.lang.c++

    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    They didn't, it was not accepted.

    Unfortunately, the story itself seems to have vanished from the
    Internet, or at least I cannot find it with Google any more.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 01:46:43 2026
    From Newsgroup: comp.lang.c++

    On 1/27/2026 12:45 AM, Thomas Koenig wrote:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    They didn't, it was not accepted.

    Unfortunately, the story itself seems to have vanished from the
    Internet, or at least I cannot find it with Google any more.

    If I remember correctly, Microsoft licensed somebody else's Fortran 90 compiler and relabeled it.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 00:14:45 2026
    From Newsgroup: comp.lang.c++

    On 1/26/2026 11:46 PM, Lynn McGuire wrote:
    On 1/27/2026 12:45 AM, Thomas Koenig wrote:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    They didn't, it was not accepted.

    Unfortunately, the story itself seems to have vanished from the
    Internet, or at least I cannot find it with Google any more.

    If I remember correctly, Microsoft licensed somebody else's Fortran 90 compiler and relabeled it.

    Kind of reminded me of, god what was that C++ std lib they licensed for
    msvc 6.0. Damn I cannot remember the name right now... search...
    Dinkumware! Ahhh.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 11:04:36 2026
    From Newsgroup: comp.lang.c++

    On Tue, 27 Jan 2026 01:46:43 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:
    On 1/27/2026 12:45 AM, Thomas Koenig wrote:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    They didn't, it was not accepted.

    Unfortunately, the story itself seems to have vanished from the
    Internet, or at least I cannot find it with Google any more.

    If I remember correctly, Microsoft licensed somebody else's Fortran
    90 compiler and relabeled it.

    Lynn

    There is a big chance that you don't remember correctly.
    At least it is different, not to say opposite, from the story that I
    read in other places.
    They say that when Microsoft found out that support for F90 is
    necessary for continuation of their Fortran business then they
    decided that their compilers stuff has more important things to
    do. So they sold their compiler sources and Powerstation brand to
    Digital that later became Compaq and later yet before merger with HP
    sold it to Intel where it either replaced Intel's own Fortran compiler
    or was merged with it. The last part of the story is not conclusive.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Gary Scott@garylscott@sbcglobal.net to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 08:35:35 2026
    From Newsgroup: comp.lang.c++

    On 1/27/2026 3:04 AM, Michael S wrote:
    On Tue, 27 Jan 2026 01:46:43 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:

    On 1/27/2026 12:45 AM, Thomas Koenig wrote:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    They didn't, it was not accepted.

    Unfortunately, the story itself seems to have vanished from the
    Internet, or at least I cannot find it with Google any more.

    If I remember correctly, Microsoft licensed somebody else's Fortran
    90 compiler and relabeled it.

    Lynn


    There is a big chance that you don't remember correctly.
    At least it is different, not to say opposite, from the story that I
    read in other places.
    They say that when Microsoft found out that support for F90 is
    necessary for continuation of their Fortran business then they
    decided that their compilers stuff has more important things to
    do. So they sold their compiler sources and Powerstation brand to
    Digital that later became Compaq and later yet before merger with HP
    sold it to Intel where it either replaced Intel's own Fortran compiler
    or was merged with it. The last part of the story is not conclusive.

    re: Intel: Merged is more accurate. Mostly the "front end" was
    retained and adjusted to produce the intel "back end" format.

    I used Powerstation 1.0 and 4.0 with some success. Yes, they were both
    buggy, but I was able to work around any issues I found.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From scott@scott@slp53.sl.home (Scott Lurndal) to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 15:21:03 2026
    From Newsgroup: comp.lang.c++

    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    Probably someone like you who is dumb enough to snip relevent
    context when replying to a post.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From scott@scott@slp53.sl.home (Scott Lurndal) to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 15:22:49 2026
    From Newsgroup: comp.lang.c++

    "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
    On 1/26/2026 11:46 PM, Lynn McGuire wrote:
    On 1/27/2026 12:45 AM, Thomas Koenig wrote:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    They didn't, it was not accepted.

    Unfortunately, the story itself seems to have vanished from the
    Internet, or at least I cannot find it with Google any more.

    If I remember correctly, Microsoft licensed somebody else's Fortran 90
    compiler and relabeled it.

    Kind of reminded me of, god what was that C++ std lib they licensed for
    msvc 6.0. Damn I cannot remember the name right now... search...
    Dinkumware! Ahhh.


    To be fair dinkum about it, the company name was not derogatory.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Jan 27 12:33:06 2026
    From Newsgroup: comp.lang.c++

    On 1/27/2026 7:22 AM, Scott Lurndal wrote:
    "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
    On 1/26/2026 11:46 PM, Lynn McGuire wrote:
    On 1/27/2026 12:45 AM, Thomas Koenig wrote:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Mon, 26 Jan 2026 22:47:33 -0000 (UTC), Thomas Koenig wrote:

    There is a story where he wrote a Fortran compiler, which failed
    tests and was therefore not accepted, and he refused to fix the
    bugs.

    Who was dumb enough to buy that?

    They didn't, it was not accepted.

    Unfortunately, the story itself seems to have vanished from the
    Internet, or at least I cannot find it with Google any more.

    If I remember correctly, Microsoft licensed somebody else's Fortran 90
    compiler and relabeled it.

    Kind of reminded me of, god what was that C++ std lib they licensed for
    msvc 6.0. Damn I cannot remember the name right now... search...
    Dinkumware! Ahhh.


    To be fair dinkum about it, the company name was not derogatory.

    :^)

    Iirc, MSVC 6 seemed to have better C support than C++? God that was way
    back in late 1990's early 2000's. That was back when I was using NT 4.0
    and Solaris a lot.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Paavo Helde@eesnimi@osa.pri.ee to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Fri Jan 30 14:56:35 2026
    From Newsgroup: comp.lang.c++

    On 1/26/2026 10:07 AM, David Brown wrote:


    IME, locale settings can be a bigger hinder than help, especially on
    Windows and with MS Office.
    Right. When using locales, the result of the program run is not
    deterministic as you never know what locale might be installed by the
    user. On top of that, the code using locales is often several times
    slower, especially in multithreaded programs where threads are sharing
    the common global locale. Seems like a lose-lose situation to me.

    Locales are only useful when displaying info directly for the user to
    view. Alas, most C++ projects are not GUI, but much lower level
    libraries where there is no connection between the current machine
    locale and the locale of the human viewer who might eventually view the produced data. Moreover, most produced text data is consumed by other
    software nowadays, not humans, and having to deal with varying locales
    just breaks or at least complicates the things here. So locale-dependent behavior should not be the default, but rather something to be ordered explicitly and used rarely.

    Of course, i18n is a broader topic than locales, and will fail in more braindead ways as well. Just today MS Teams kindly informed me that the
    tab "Files" has been renamed to "Shared". However, it did in Estonian,
    so the help balloon box talked about renaming the tab to "|Lhiskasutuses"
    and at the same time pointing to the real tab which was named totally differently - "Jagatud". Both of these are legitimate translations of "Shared", but the translators of the tab and of the help balloon
    apparently did not cooperate. So the help balloon was really more
    confusing than helpful.


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Fri Jan 30 14:37:37 2026
    From Newsgroup: comp.lang.c++

    On 2026-01-30 13:56, Paavo Helde wrote:

    Locales are only useful when displaying info directly for the user to
    view.

    Right. And also for entering data through the UI.

    Alas, most C++ projects are not GUI, but much lower level libraries

    Probably.

    where there is no connection between the current machine
    locale and the locale of the human viewer

    Sensibly so.

    The system wide setting can be a default (but need not be). Similar
    with user specific locale settings.

    who might eventually view the produced data.

    As you say initially, it's a feature for the UI. You should separate
    the internal data model from the UI data representation level.

    Moreover, most produced text data is consumed by other
    software nowadays,

    This may or may not be true. (But as argument it's anyway irrelevant.)

    not humans, and having to deal with varying locales
    just breaks or at least complicates the things here.

    No. Nothing is broken if designed sensibly. If the software supports
    internal communication interfaces these should be specified and used
    on both communication sides as defined. If you use (or misuse) the
    standard UI for tools' access the tools may and (if necessary) should
    control the locale setting on that level to conform to the definition.

    So locale-dependent
    behavior should not be the default, but rather something to be ordered explicitly and used rarely.

    Wrong conclusion based on wrong assumptions or wrong use (or design).

    If your software doesn't support locales it's anyway pointless. And
    if your software sensibly supports it you typically have control over
    it. (Can't tell about Windows, the initially discussed platform, but
    I'd doubt that it's broken by design; or is it?)

    Janis

    [...]

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Fri Jan 30 20:28:01 2026
    From Newsgroup: comp.lang.c++

    David Brown <david.brown@hesbynett.no> schrieb:
    [...]


    IME, locale settings can be a bigger hinder than help, especially on
    Windows and with MS Office. If your program exports data in tab or semicolon separated formats to be opened in a spreadsheet, or has some
    other connection to MS Office programs, you have to use the formats that
    the locale wants, not the formats the current user wants.

    That is so true. Localization in MS Office is a pain, and the different
    CSV formats are horrible.

    On my personal PC, I have set the decimal separator, with German
    settings otherwise, to a dot. This makes data interoperable
    with all sorts of scripts and other programs that I tend to use
    togetether with data from Excel files. Using tab as a separator works
    pretty well then, it is at least unique.

    I do have another computer, used as a workstation, which I keep
    on US English settings. This allows easier communication with,
    for example, international support for programs which originate
    outside of Germany. It also allows me to have the original Excel
    function names, which are also localized. Luckily, I can save
    an Excel file in English and than open it on my German-language
    computer in German.


    (LibreOffice
    is vastly more flexible.) Displaying a decimal point, decimal colon, or decimal apostrophe is not difficult - it is handling the imports and
    exports that is the challenge.

    I have not yet succeeded in getting LibreOffice to display a decimal
    point with German settings, and when I use US English I get inches
    for paper sizes :-(

    [...]
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Tristan Wibberley@tristan.wibberley+netnews2@alumni.manchester.ac.uk to comp.lang.c++ on Sat Jan 31 02:06:16 2026
    From Newsgroup: comp.lang.c++

    On 24/01/2026 03:35, Lynn McGuire wrote:
    "Internationalis(z)ing Code - Computerphile"
    -a-a https://www.youtube.com/watch?v=0j74jcxSunY

    "Catering for a global audience is difficult, Tom takes us through a 'timezones' style explanation of the things you need to keep in mind
    when internationalising your code."

    I knew it was bad, but not that bad.

    Yup, I just write and sell my software in American English.-a I've got
    enough problems without having to deal with localization.

    One of my programmers has been working on converting our Windows user interface, written in 450,000 lines of C++, from Ascii to Unicode for
    two years now.-a It was a one year project to start and his latest
    estimate is another year to complete.

    Probably the original code base was made "simple" instead of "abstract"
    by the influence of one of those "simpletons" that goes around saying
    "simple" at people.

    Find the simplest person you can and ask them to get you to the moon and
    back safely. It's not going to happen. The world just hasn't figured
    that out yet, bizarrely.

    I hope he doesn't have any text matching functionality to generalise, if
    his task is set to some sort of "achieve unicode" then it was set by
    someone that wasn't a stakeholder. Expect it to be a failure no matter
    how many years it takes.
    --
    Tristan Wibberley

    The message body is Copyright (C) 2026 Tristan Wibberley except
    citations and quotations noted. All Rights Reserved except that you may,
    of course, cite it academically giving credit to me, distribute it
    verbatim as part of a usenet system or its archives, and use it to
    promote my greatness and general superiority without misrepresentation
    of my opinions other than my opinion of my greatness and general
    superiority which you _may_ misrepresent. You definitely MAY NOT train
    any production AI system with it but you may train experimental AI that
    will only be used for evaluation of the AI methods it implements.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sat Jan 31 12:50:42 2026
    From Newsgroup: comp.lang.c++

    On 30/01/2026 21:28, Thomas Koenig wrote:
    David Brown <david.brown@hesbynett.no> schrieb:
    [...]


    IME, locale settings can be a bigger hinder than help, especially on
    Windows and with MS Office. If your program exports data in tab or
    semicolon separated formats to be opened in a spreadsheet, or has some
    other connection to MS Office programs, you have to use the formats that
    the locale wants, not the formats the current user wants.

    That is so true. Localization in MS Office is a pain, and the different
    CSV formats are horrible.

    On my personal PC, I have set the decimal separator, with German
    settings otherwise, to a dot. This makes data interoperable
    with all sorts of scripts and other programs that I tend to use
    togetether with data from Excel files. Using tab as a separator works
    pretty well then, it is at least unique.

    I do have another computer, used as a workstation, which I keep
    on US English settings. This allows easier communication with,
    for example, international support for programs which originate
    outside of Germany. It also allows me to have the original Excel
    function names, which are also localized. Luckily, I can save
    an Excel file in English and than open it on my German-language
    computer in German.


    (LibreOffice
    is vastly more flexible.) Displaying a decimal point, decimal colon, or
    decimal apostrophe is not difficult - it is handling the imports and
    exports that is the challenge.

    I have not yet succeeded in getting LibreOffice to display a decimal
    point with German settings, and when I use US English I get inches
    for paper sizes :-(


    Use UK settings, not US settings. Then at least you get sane paper
    sizes and measurement units.

    LibreOffice has its faults and weaknesses, but it is still far ahead of
    MS Office in many aspects. (Or perhaps "less terrible" is more accurate?)


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From g@g@nowhere.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sat Jan 31 18:50:33 2026
    From Newsgroup: comp.lang.c++

    In comp.lang.c David Brown <david.brown@hesbynett.no> wrote:
    On 30/01/2026 21:28, Thomas Koenig wrote:
    David Brown <david.brown@hesbynett.no> schrieb:
    [...]


    IME, locale settings can be a bigger hinder than help, especially on
    Windows and with MS Office. If your program exports data in tab or
    semicolon separated formats to be opened in a spreadsheet, or has some
    other connection to MS Office programs, you have to use the formats that >>> the locale wants, not the formats the current user wants.

    That is so true. Localization in MS Office is a pain, and the different
    CSV formats are horrible.

    On my personal PC, I have set the decimal separator, with German
    settings otherwise, to a dot. This makes data interoperable
    with all sorts of scripts and other programs that I tend to use
    togetether with data from Excel files. Using tab as a separator works
    pretty well then, it is at least unique.

    I do have another computer, used as a workstation, which I keep
    on US English settings. This allows easier communication with,
    for example, international support for programs which originate
    outside of Germany. It also allows me to have the original Excel
    function names, which are also localized. Luckily, I can save
    an Excel file in English and than open it on my German-language
    computer in German.


    (LibreOffice
    is vastly more flexible.) Displaying a decimal point, decimal colon, or >>> decimal apostrophe is not difficult - it is handling the imports and
    exports that is the challenge.

    I have not yet succeeded in getting LibreOffice to display a decimal
    point with German settings, and when I use US English I get inches
    for paper sizes :-(


    Use UK settings, not US settings. Then at least you get sane paper
    sizes and measurement units.

    and sane dates...

    LibreOffice has its faults and weaknesses, but it is still far ahead of
    MS Office in many aspects. (Or perhaps "less terrible" is more accurate?)
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Gary Scott@garylscott@sbcglobal.net to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sat Jan 31 16:10:38 2026
    From Newsgroup: comp.lang.c++

    On 1/31/2026 12:50 PM, G wrote:
    In comp.lang.c David Brown <david.brown@hesbynett.no> wrote:
    On 30/01/2026 21:28, Thomas Koenig wrote:
    David Brown <david.brown@hesbynett.no> schrieb:
    [...]


    IME, locale settings can be a bigger hinder than help, especially on
    Windows and with MS Office. If your program exports data in tab or
    semicolon separated formats to be opened in a spreadsheet, or has some >>>> other connection to MS Office programs, you have to use the formats that >>>> the locale wants, not the formats the current user wants.

    That is so true. Localization in MS Office is a pain, and the different >>> CSV formats are horrible.

    On my personal PC, I have set the decimal separator, with German
    settings otherwise, to a dot. This makes data interoperable
    with all sorts of scripts and other programs that I tend to use
    togetether with data from Excel files. Using tab as a separator works
    pretty well then, it is at least unique.

    I do have another computer, used as a workstation, which I keep
    on US English settings. This allows easier communication with,
    for example, international support for programs which originate
    outside of Germany. It also allows me to have the original Excel
    function names, which are also localized. Luckily, I can save
    an Excel file in English and than open it on my German-language
    computer in German.


    (LibreOffice
    is vastly more flexible.) Displaying a decimal point, decimal colon, or >>>> decimal apostrophe is not difficult - it is handling the imports and
    exports that is the challenge.

    I have not yet succeeded in getting LibreOffice to display a decimal
    point with German settings, and when I use US English I get inches
    for paper sizes :-(


    Use UK settings, not US settings. Then at least you get sane paper
    sizes and measurement units.

    and sane dates...

    Date format is adjustable in many applications. Choose the one you
    want. Flexibility is taken to a bit extreme in GINO graphics libraries
    (a UK product), with a calendar that goes all the way back to 1066...:)


    LibreOffice has its faults and weaknesses, but it is still far ahead of
    MS Office in many aspects. (Or perhaps "less terrible" is more accurate?)

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From ImperiusDamian@dgwrightauthor@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sat Jan 31 21:08:47 2026
    From Newsgroup: comp.lang.c++

    On 1/31/2026 5:10 PM, Gary Scott wrote:

    Date format is adjustable in many applications.-a Choose the one you
    want.-a Flexibility is taken to a bit extreme in GINO graphics libraries
    (a UK product), with a calendar that goes all the way back to 1066...:)


    Is that all? Should be 927 at the very latest.
    --
    Maintainer of the Gemstone Mod (Official AGD2 Diablo 2 mod)
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Feb 1 09:06:02 2026
    From Newsgroup: comp.lang.c++

    On Sat, 31 Jan 2026 16:10:38 -0600, Gary Scott wrote:

    Flexibility is taken to a bit extreme in GINO graphics libraries (a
    UK product), with a calendar that goes all the way back to 1066...:)

    ldo@theon:~> date -d "1-Jan-1066"
    Mon 01 Jan 1066 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-966"
    Wed 01 Jan 0966 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-866"
    Fri 01 Jan 0866 00:00:00 LMT
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Feb 1 09:42:34 2026
    From Newsgroup: comp.lang.c++

    David Brown <david.brown@hesbynett.no> schrieb:
    On 30/01/2026 21:28, Thomas Koenig wrote:

    I have not yet succeeded in getting LibreOffice to display a decimal
    point with German settings, and when I use US English I get inches
    for paper sizes :-(


    Use UK settings, not US settings. Then at least you get sane paper
    sizes and measurement units.

    That is better, thanks!


    LibreOffice has its faults and weaknesses, but it is still far ahead of
    MS Office in many aspects. (Or perhaps "less terrible" is more accurate?)

    I find Impress to be very difficult to work with, compared to
    PowerPoint. But the most recent thing that drove me up the wall
    was Excel's inability to display a bar graph with non-overlapping
    bars for a primary and secondary axis, so I can display data like

    a 2 0.1
    b 3 0.3
    c 5 0.2

    in a sane way. Libreoffice Calc can actually do this.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Feb 1 11:18:08 2026
    From Newsgroup: comp.lang.c++

    On 31/01/2026 23:10, Gary Scott wrote:
    On 1/31/2026 12:50 PM, G wrote:
    In comp.lang.c David Brown <david.brown@hesbynett.no> wrote:
    On 30/01/2026 21:28, Thomas Koenig wrote:

    I have not yet succeeded in getting LibreOffice to display a decimal
    point with German settings, and when I use US English I get inches
    for paper sizes :-(


    Use UK settings, not US settings.-a Then at least you get sane paper
    sizes and measurement units.

    and sane dates...

    Indeed. Some countries use little-endian dates, some use big-endian
    dates, and one country likes muddled-endian dates :-)


    Date format is adjustable in many applications.-a Choose the one you
    want.-a Flexibility is taken to a bit extreme in GINO graphics libraries
    (a UK product), with a calendar that goes all the way back to 1066...:)


    Dates from long ago can be very important, and challenging to get right.
    But I doubt that there is a lot of overlap between people interested
    in programming with graphics libraries and people trying to match up
    exact dates a millennium ago!

    (In the MS Office vs. LibreOffice comparison, Excel famously thinks 1900
    was a leap year. And rather than fix the problem, MS bullied it in as
    an ISO standard.)


    LibreOffice has its faults and weaknesses, but it is still far ahead of
    MS Office in many aspects.-a (Or perhaps "less terrible" is more
    accurate?)


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Feb 1 11:35:46 2026
    From Newsgroup: comp.lang.c++

    On 01/02/2026 10:42, Thomas Koenig wrote:
    David Brown <david.brown@hesbynett.no> schrieb:
    On 30/01/2026 21:28, Thomas Koenig wrote:

    I have not yet succeeded in getting LibreOffice to display a decimal
    point with German settings, and when I use US English I get inches
    for paper sizes :-(


    Use UK settings, not US settings. Then at least you get sane paper
    sizes and measurement units.

    That is better, thanks!

    I fully understand why many people from non-English-speaking countries sometimes find it best to have an English locale or language settings on
    their systems. But I have never understood why they pick US English for
    the purpose. Despite the Brexit madness, UK standards are far closer to European norms than the US standards are. And for many purposes, those
    norms are nearly global - the US is the only one that is different.
    (Although for dates, China and Japan and a few other countries use YMD ordering daily, while most of the world only uses it for more technical documents.)


    LibreOffice has its faults and weaknesses, but it is still far ahead of
    MS Office in many aspects. (Or perhaps "less terrible" is more accurate?)

    I find Impress to be very difficult to work with, compared to
    PowerPoint.

    From my limited experience in that area, I agree - PowerPoint is the
    one part of MS Office that is a lot better than LibreOffice.

    But the most recent thing that drove me up the wall
    was Excel's inability to display a bar graph with non-overlapping
    bars for a primary and secondary axis, so I can display data like

    a 2 0.1
    b 3 0.3
    c 5 0.2

    in a sane way. Libreoffice Calc can actually do this.

    Another difference I have seen is in graphs with some missing data.
    Excel fills in the gaps with 0, while LibreOffice draws the graphs with appropriate gaps.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Gary Scott@garylscott@sbcglobal.net to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Feb 1 08:28:19 2026
    From Newsgroup: comp.lang.c++

    On 2/1/2026 4:18 AM, David Brown wrote:
    On 31/01/2026 23:10, Gary Scott wrote:
    On 1/31/2026 12:50 PM, G wrote:
    In comp.lang.c David Brown <david.brown@hesbynett.no> wrote:
    On 30/01/2026 21:28, Thomas Koenig wrote:

    I have not yet succeeded in getting LibreOffice to display a decimal >>>>> point with German settings, and when I use US English I get inches
    for paper sizes :-(


    Use UK settings, not US settings.-a Then at least you get sane paper
    sizes and measurement units.

    and sane dates...

    Indeed.-a Some countries use little-endian dates, some use big-endian
    dates, and one country likes muddled-endian dates :-)


    Date format is adjustable in many applications.-a Choose the one you
    want.-a Flexibility is taken to a bit extreme in GINO graphics
    libraries (a UK product), with a calendar that goes all the way back
    to 1066...:)


    Dates from long ago can be very important, and challenging to get right.
    -aBut I doubt that there is a lot of overlap between people interested
    in programming with graphics libraries and people trying to match up
    exact dates a millennium ago!

    It's part of the graphing/charting library. It's targeted at engineers/scientists/academics.


    (In the MS Office vs. LibreOffice comparison, Excel famously thinks 1900
    was a leap year.-a And rather than fix the problem, MS bullied it in as
    an ISO standard.)


    LibreOffice has its faults and weaknesses, but it is still far ahead of >>>> MS Office in many aspects.-a (Or perhaps "less terrible" is more
    accurate?)



    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From James Kuyper@jameskuyper@alumni.caltech.edu to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Feb 1 12:21:38 2026
    From Newsgroup: comp.lang.c++

    On 2026-02-01 05:35, David Brown wrote:
    ...
    I fully understand why many people from non-English-speaking countries sometimes find it best to have an English locale or language settings on their systems. But I have never understood why they pick US English for
    the purpose. Despite the Brexit madness, UK standards are far closer to European norms than the US standards are. And for many purposes, those norms are nearly global - the US is the only one that is different.
    Because the US is fairly big, and has economic power disproportionate to
    it's size, so it's peculiarities get catered to more often than might
    otherwise seem justified. I am a US citizen, but I'm not endorsing this,
    merely describing it.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Sun Feb 1 23:01:32 2026
    From Newsgroup: comp.lang.c++

    On 01/02/2026 18:21, James Kuyper wrote:
    On 2026-02-01 05:35, David Brown wrote:
    ...
    I fully understand why many people from non-English-speaking countries
    sometimes find it best to have an English locale or language settings on
    their systems. But I have never understood why they pick US English for
    the purpose. Despite the Brexit madness, UK standards are far closer to
    European norms than the US standards are. And for many purposes, those
    norms are nearly global - the US is the only one that is different.
    Because the US is fairly big, and has economic power disproportionate to
    it's size, so it's peculiarities get catered to more often than might otherwise seem justified. I am a US citizen, but I'm not endorsing this, merely describing it.

    Sure - the US has a lot of influence on the rest of the world for a
    great many reasons (some good, some bad, with that judgement being
    highly subjective). We are using a protocol written in the USA,
    transported over a network system developed (at least initially) in the
    USA, to discuss a programming language from the USA. I've no problem
    with that.

    But when people in other countries want to choose an English language environment (because English has a lot of influence on the world - for
    good reasons and bad reasons), why pick an environment that has more incompatibilities and baggage than necessary? I expect it is mostly a
    matter of sticking to default choices unless you know you need something different, and simply not thinking about the alternatives.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From James Kuyper@jameskuyper@alumni.caltech.edu to comp.lang.c++,comp.lang.c on Sun Feb 1 19:11:35 2026
    From Newsgroup: comp.lang.c++

    On 2026-02-01 17:01, David Brown wrote:
    ...
    But when people in other countries want to choose an English language environment (because English has a lot of influence on the world - for
    good reasons and bad reasons), why pick an environment that has more incompatibilities and baggage than necessary? I expect it is mostly a
    matter of sticking to default choices unless you know you need
    something different, and simply not thinking about the alternatives.

    The US has three times as many native speakers of English than the
    entire rest of the world combined, including the entire British
    Commonwealth. When someone from a non-English speaking country sets up
    an English compatible environment, there's a pretty good chance he's
    doing so to communicate with people in the US, rather than other parts
    of English-speaking world.


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.c++,comp.lang.c on Mon Feb 2 04:31:40 2026
    From Newsgroup: comp.lang.c++

    On Sun, 1 Feb 2026 19:11:35 -0500, James Kuyper wrote:

    The US has three times as many native speakers of English than the
    entire rest of the world combined, including the entire British
    Commonwealth.

    But theyrCOre almost all concentrated in one place.

    This is like the issue with Mandarin, which has more speakers than
    English, but they are largely confined to one country.

    British English (and its offshoots) remain the most widely spoken
    language, not purely by numbers, but by sheer distribution.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Fred. Zwarts@F.Zwarts@HetNet.nl to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Feb 2 11:18:03 2026
    From Newsgroup: comp.lang.c++

    Op 01.feb.2026 om 10:06 schreef Lawrence DrCOOliveiro:
    On Sat, 31 Jan 2026 16:10:38 -0600, Gary Scott wrote:

    Flexibility is taken to a bit extreme in GINO graphics libraries (a
    UK product), with a calendar that goes all the way back to 1066...:)

    ldo@theon:~> date -d "1-Jan-1066"
    Mon 01 Jan 1066 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-966"
    Wed 01 Jan 0966 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-866"
    Fri 01 Jan 0866 00:00:00 LMT

    Now it becomes important to indicate whether the Gregorian or the Julian calendar is used. Not all countries switched at the same date. That is
    missing in the notation above, so I am not sure about the names of the days.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.c++,comp.lang.c on Mon Feb 2 11:27:53 2026
    From Newsgroup: comp.lang.c++

    On 02/02/2026 01:11, James Kuyper wrote:
    On 2026-02-01 17:01, David Brown wrote:
    ...
    But when people in other countries want to choose an English language
    environment (because English has a lot of influence on the world - for
    good reasons and bad reasons), why pick an environment that has more
    incompatibilities and baggage than necessary? I expect it is mostly a
    matter of sticking to default choices unless you know you need
    something different, and simply not thinking about the alternatives.

    The US has three times as many native speakers of English than the
    entire rest of the world combined, including the entire British
    Commonwealth.

    There are about 400 million native English speakers around the world, of
    which about 230 are in the USA. Of course any such numbers will be
    estimates, with surveys being from different years, but it certainly
    looks like you overestimate the numerical ratios.

    Still, the native speaker numbers are not the relevant numbers here - it
    is primarily the second language users that matter. That is, of course,
    even more difficult to judge well - there is no consensus on how well a
    second language must be understood to count as an English speaker. Best guesses, as far as I can see, are about 1.1 billion.

    When someone from a non-English speaking country sets up
    an English compatible environment, there's a pretty good chance he's
    doing so to communicate with people in the US, rather than other parts
    of English-speaking world.


    No, by far the most likely reason for a non-native English speaker to
    speak English is to communicate with another non-native English speaker.
    English is the lingua franca of the world.

    But my point was more about the factors /other/ than the language. The
    whole world, other than the USA, uses metric for everything technical.
    The whole world, other than the USA, Canada and Mexico uses A4 and
    related paper sizes. The whole world, other than the USA, uses either little-endian or big-endian dates.

    Thus for perhaps 80% of people in the world using a computer and
    communicating in English, UK locale settings are a better fit than US
    locale settings. (For many, perhaps most, other English variants - like Indian English locale, would be even better.)




    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.c++,comp.lang.c on Mon Feb 2 12:49:22 2026
    From Newsgroup: comp.lang.c++

    On Mon, 2 Feb 2026 11:27:53 +0100
    David Brown <david.brown@hesbynett.no> wrote:

    On 02/02/2026 01:11, James Kuyper wrote:
    On 2026-02-01 17:01, David Brown wrote:
    ...
    But when people in other countries want to choose an English
    language environment (because English has a lot of influence on
    the world - for good reasons and bad reasons), why pick an
    environment that has more incompatibilities and baggage than
    necessary? I expect it is mostly a matter of sticking to default
    choices unless you know you need something different, and simply
    not thinking about the alternatives.

    The US has three times as many native speakers of English than the
    entire rest of the world combined, including the entire British Commonwealth.

    There are about 400 million native English speakers around the world,
    of which about 230 are in the USA. Of course any such numbers will
    be estimates, with surveys being from different years, but it
    certainly looks like you overestimate the numerical ratios.

    Still, the native speaker numbers are not the relevant numbers here -
    it is primarily the second language users that matter. That is, of
    course, even more difficult to judge well - there is no consensus on
    how well a second language must be understood to count as an English
    speaker. Best guesses, as far as I can see, are about 1.1 billion.

    When someone from a non-English speaking country sets up
    an English compatible environment, there's a pretty good chance he's
    doing so to communicate with people in the US, rather than other
    parts of English-speaking world.


    No, by far the most likely reason for a non-native English speaker to
    speak English is to communicate with another non-native English
    speaker. English is the lingua franca of the world.

    But my point was more about the factors /other/ than the language.
    The whole world, other than the USA, uses metric for everything
    technical. The whole world, other than the USA, Canada and Mexico
    uses A4 and related paper sizes. The whole world, other than the
    USA, uses either little-endian or big-endian dates.

    Thus for perhaps 80% of people in the world using a computer and communicating in English, UK locale settings are a better fit than US
    locale settings. (For many, perhaps most, other English variants -
    like Indian English locale, would be even better.)





    That sounds about right except for keyboard layout.
    For majority of non-native English user (not necessarily speakers, many computer users can't speak English, even more can't understand English
    spoken by natives, but they read and write English not too badly) US
    layout would be more practical than UK layout.



    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.c++,comp.lang.c on Mon Feb 2 13:14:32 2026
    From Newsgroup: comp.lang.c++

    On 02/02/2026 11:49, Michael S wrote:
    On Mon, 2 Feb 2026 11:27:53 +0100
    David Brown <david.brown@hesbynett.no> wrote:

    On 02/02/2026 01:11, James Kuyper wrote:
    On 2026-02-01 17:01, David Brown wrote:
    ...
    But when people in other countries want to choose an English
    language environment (because English has a lot of influence on
    the world - for good reasons and bad reasons), why pick an
    environment that has more incompatibilities and baggage than
    necessary? I expect it is mostly a matter of sticking to default
    choices unless you know you need something different, and simply
    not thinking about the alternatives.

    The US has three times as many native speakers of English than the
    entire rest of the world combined, including the entire British
    Commonwealth.

    There are about 400 million native English speakers around the world,
    of which about 230 are in the USA. Of course any such numbers will
    be estimates, with surveys being from different years, but it
    certainly looks like you overestimate the numerical ratios.

    Still, the native speaker numbers are not the relevant numbers here -
    it is primarily the second language users that matter. That is, of
    course, even more difficult to judge well - there is no consensus on
    how well a second language must be understood to count as an English
    speaker. Best guesses, as far as I can see, are about 1.1 billion.

    When someone from a non-English speaking country sets up
    an English compatible environment, there's a pretty good chance he's
    doing so to communicate with people in the US, rather than other
    parts of English-speaking world.


    No, by far the most likely reason for a non-native English speaker to
    speak English is to communicate with another non-native English
    speaker. English is the lingua franca of the world.

    But my point was more about the factors /other/ than the language.
    The whole world, other than the USA, uses metric for everything
    technical. The whole world, other than the USA, Canada and Mexico
    uses A4 and related paper sizes. The whole world, other than the
    USA, uses either little-endian or big-endian dates.

    Thus for perhaps 80% of people in the world using a computer and
    communicating in English, UK locale settings are a better fit than US
    locale settings. (For many, perhaps most, other English variants -
    like Indian English locale, would be even better.)





    That sounds about right except for keyboard layout.
    For majority of non-native English user (not necessarily speakers, many computer users can't speak English, even more can't understand English
    spoken by natives, but they read and write English not too badly) US
    layout would be more practical than UK layout.


    If that is the case, then that is a good reason for choosing US layout.
    But AFAIK the differences between the US and the UK layouts are very
    small. And a large proportion of computer users use Latin keyboards,
    even if their native languages use significantly different writing
    systems. So keyboard layout is often partially independent of other
    language and locale choices. For example, I use a Norwegian layout
    keyboard, but have my locale set to UK (with the region set to Norway). Changing to the UK keyboard layout would be silly - it would mean some
    symbols are in a different place, and I could not type the Norwegian
    letters I need when writing in Norwegian. Changing to US layout would
    be a step sillier, and there would be no advantages.

    If you are used to a keyboard with a different writing system - say,
    Greek - then you might find it convenient to change to a Latin based
    layout for writing in English. But I see no reason why you might have a preference for US layout over UK - either would be fine.


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From James Kuyper@jameskuyper@alumni.caltech.edu to comp.lang.c++,comp.lang.c on Mon Feb 2 09:36:37 2026
    From Newsgroup: comp.lang.c++

    On 2026-02-02 05:27, David Brown wrote:
    On 02/02/2026 01:11, James Kuyper wrote:
    ...
    The US has three times as many native speakers of English than the
    entire rest of the world combined, including the entire British
    Commonwealth.

    There are about 400 million native English speakers around the world, of which about 230 are in the USA. Of course any such numbers will be estimates, with surveys being from different years, but it certainly
    looks like you overestimate the numerical ratios.

    I looked at the Wikipedia article on English (language), which says that
    US has 244,079,241 native speakers of English, and that the world has 391,286,346. When I did the calculations last night, that, came out to
    75%, but for some reason it's 62% this morning. Perhaps I shouldn't post
    that late at night.
    It's still more US speakers than non-US speakers.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.c++,comp.lang.c on Mon Feb 2 16:01:10 2026
    From Newsgroup: comp.lang.c++

    On 02/02/2026 15:36, James Kuyper wrote:
    On 2026-02-02 05:27, David Brown wrote:
    On 02/02/2026 01:11, James Kuyper wrote:
    ...
    The US has three times as many native speakers of English than the
    entire rest of the world combined, including the entire British
    Commonwealth.

    There are about 400 million native English speakers around the world, of
    which about 230 are in the USA. Of course any such numbers will be
    estimates, with surveys being from different years, but it certainly
    looks like you overestimate the numerical ratios.

    I looked at the Wikipedia article on English (language), which says that
    US has 244,079,241 native speakers of English, and that the world has 391,286,346. When I did the calculations last night, that, came out to
    75%, but for some reason it's 62% this morning. Perhaps I shouldn't post
    that late at night.

    I also got my numbers from Wikipedia. I think there are a variety of
    numbers, depending on the dates and the source of the numbers.

    It's still more US speakers than non-US speakers.

    For native speakers, all the numbers I have seen support that, yes. But native speakers are not the numbers of interest here. Native English
    speakers will, for the most part, have their locales and settings for
    their locale English variant.

    But this is all getting wildly off-topic for these newsgroups, and I
    don't think we are likely to get anything but speculation and anecdotal examples. My speculation is that the reason non-native English users
    might be more likely to pick US locales than anything else is simply
    that it is the default for a lot of software and OS's, and it's usually
    not difficult to change things like paper sizes manually.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.lang.c++,comp.lang.c on Mon Feb 2 16:07:49 2026
    From Newsgroup: comp.lang.c++

    On 2026-02-02 13:14, David Brown wrote:

    If that is the case, then that is a good reason for choosing US layout.
    But AFAIK the differences between the US and the UK layouts are very small.-a And a large proportion of computer users use Latin keyboards,
    even if their native languages use significantly different writing systems.-a So keyboard layout is often partially independent of other language and locale choices.

    Yes.

    For example, I use a Norwegian layout
    keyboard, but have my locale set to UK (with the region set to Norway).

    It seems to be similar to, e.g., a German keyboard...

    Changing to the UK keyboard layout would be silly - it would mean some symbols are in a different place, and I could not type the Norwegian
    letters I need when writing in Norwegian.

    ...where the German specific letters are in the same place as the
    Norwegian specific letters. Exceptions are the location/ordering
    of quite some of the punctuation characters. (And of course the
    infamous QWERTZ vs. QWERTY cultural detail.)

    Changing to US layout would
    be a step sillier, and there would be no advantages.

    Well, an advantage - and here we're getting on-topic again - is
    writing programs in C-like languages; the access to the braces and
    brackets is a pain (IMO) with those "Latin based" layouts.

    That's why I'm running two keyboards in parallel on my system, one
    with DE and one with US layout. - But in practice I rarely use the
    US keyboard - despite its advantage for C-like programming - because
    of the mentioned differences of many important control characters
    (and the Y/Z placement); my muscle memory would make too many typing
    mistakes.


    If you are used to a keyboard with a different writing system - say,
    Greek - then you might find it convenient to change to a Latin based
    layout for writing in English.

    Actually many Greek letters are "naturally" transcribed to Latin
    (Alpha, Sigma, Delta, Phi, Gamma, etc. to A, S, D, F, G, etc.), so
    it's not much hassle to use one or the other keyboard type. (But
    some letters, Latin or Greek, don't exist in the other language and
    will be mapped to use their respective places on the other type of
    keyboard.)

    But I see no reason why you might have a
    preference for US layout over UK - either would be fine.

    The locale issues are of course another thing. I'm using a mixture
    of 3 or 4 locales in my system defaults; for example: LC_NUMERIC=C
    (for the numeric dot), en_DK (for the time format), en_US (basically),
    de_DE (for the writing). - This mixed setting somehow feels wrong to
    me. Since what I want to set and use is in principle neither language
    specific nor country specific (although cultures associated with
    language and countries use specific conventions reflected in their
    locale setting). I'd probably want something like "iso_UN" (not really
    but that may come close); using ISO dates and time, DIN paper sizes,
    SI units, and my language specific collate setting (which varies when
    I'm writing in more than one language).

    Janis

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.lang.c++,comp.lang.c on Mon Feb 2 16:19:36 2026
    From Newsgroup: comp.lang.c++

    On 2026-02-02 16:01, David Brown wrote:
    On 02/02/2026 15:36, James Kuyper wrote:

    I looked at the Wikipedia article on English (language), [...]

    I also got my numbers from Wikipedia.-a I think there are a variety of numbers, depending on the dates and the source of the numbers.

    In the past I occasionally inquired the CIA's "The World Factbook"
    for actual numbers and other cultural, demographic, etc. details;
    the data I retrieved from there appeared reliable and accurate (as
    far as I could tell). - Just mentioning another public data source.

    Janis

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Feb 2 21:02:51 2026
    From Newsgroup: comp.lang.c++

    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows user interface, written in 450,000 lines of C++, from Ascii to Unicode for
    two years now.-a It was a one year project to start and his latest
    estimate is another year to complete.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great opportunity to
    make your app far better than previous. Modern industry approach, is modularity. This is prove in many essential industry branch, and
    especially in IIww years.

    You can make your app "modular", by simply respect following rules:
    1. Split your code in to 3 parts:
    1) Business Logic classes;
    2) Tool classes;
    3) Window and widget classes.
    This is my "programming pattern" which I call TLW "tools-logics-window" pattern, and it replace more specialised MVC "model-view-controler" pattern.

    2. Split your code in to few static libs.
    NOTE: Do not push any "business logic" in to your libs. Libs must be
    acted only as "tools". All "business logic" should remain in your core app. NOTE: When you have static libs, then you can develop your libs and
    prog. simultaneously, because they will not interfere with other
    projects (other projects can work normally and can be upgraded later).

    3. Split your code in to many dynamically loaded plug-ins.
    NOTE 1: Create your plug-ins only in 3 cases:
    1) for file type and network protocol formats (for tool classes);
    2) for new algorithms (for logic classes);
    3) for new widgets (for windows classes).
    Note 2: In many cases one plug-in provide together new widget and new algorithm;

    4. Make your libs and plug-in rest code independent as far as possible
    and make them to use minimal set of 3rd party libs dependencies.
    NOTE: This mean that your libs and plug-ins (for tools and logic
    classes) should not be depended of GUI libs, nor any platform specific
    libs. In order to do this all build in types and used classes should be renamed. Then, if necessary, renamed type can be easily expanded by make
    it normal class (with earlier renamed class as a parent).

    NOTE: Above I invent and covered in my monograph under title "Arch.
    Prog. Nieuprzywilejowanych" (in eng.: "Architecture of Unprivileged Programs"). I publish it in dec. 2024, on my WWW site under URL:

    <https://energokod.gda.pl/monografie/Arch.%20Prog.%20Nieuprzywilejowanych.pdf>

    One more hint: Buy great and thin Stroustrup book "A Tour of C++ (C++
    In-Depth Series" - it is all about basic C++ concepts but focused on
    C++20. Then consider what "C++ modern parts" are worth to apply for your project.
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Feb 2 21:13:18 2026
    From Newsgroup: comp.lang.c++

    W dniu 2.02.2026 o-a21:02, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# pisze:

    which I call TLW "tools-logics-window"

    "tools-logics-windows" (note addes 's' in the end).

    I publish it in dec. 2024, on my WWW site under URL:

    <https://energokod.gda.pl/monografie/Arch.%20Prog.%20Nieuprzywilejowanych.pdf>

    NOTE: in dec. 2024 I have other domain (but it still works, and will be working until 2026-12-12):

    <https://energokod.pl/monografie/Arch.%20Prog.%20Nieuprzywilejowanych.pdf>
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Feb 2 21:23:12 2026
    From Newsgroup: comp.lang.c++

    On Mon, 2 Feb 2026 11:18:03 +0100, Fred. Zwarts wrote:

    Op 01.feb.2026 om 10:06 schreef Lawrence DrCOOliveiro:

    On Sat, 31 Jan 2026 16:10:38 -0600, Gary Scott wrote:

    Flexibility is taken to a bit extreme in GINO graphics libraries
    (a UK product), with a calendar that goes all the way back to
    1066...:)

    ldo@theon:~> date -d "1-Jan-1066"
    Mon 01 Jan 1066 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-966"
    Wed 01 Jan 0966 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-866"
    Fri 01 Jan 0866 00:00:00 LMT

    Now it becomes important to indicate whether the Gregorian or the Julian calendar is used.

    ldo@theon:~> date -d 4-oct-1582
    Mon 04 Oct 1582 00:00:00 LMT
    ldo@theon:~> date -d 15-oct-1582
    Fri 15 Oct 1582 00:00:00 LMT

    Proleptic Gregorian.

    Not all countries switched at the same date.

    ldo@theon:~> ncal -s IT oct 1582
    October 1582
    Mo 1 18 25
    Tu 2 19 26
    We 3 20 27
    Th 4 21 28
    Fr 15 22 29
    Sa 16 23 30
    Su 17 24 31
    ldo@theon:~> ncal -s GB oct 1582
    October 1582
    Mo 1 8 15 22 29
    Tu 2 9 16 23 30
    We 3 10 17 24 31
    Th 4 11 18 25
    Fr 5 12 19 26
    Sa 6 13 20 27
    Su 7 14 21 28
    ldo@theon:~> ncal -s GB sep 1752
    September 1752
    Mo 18 25
    Tu 1 19 26
    We 2 20 27
    Th 14 21 28
    Fr 15 22 29
    Sa 16 23 30
    Su 17 24
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Mon Feb 2 21:25:20 2026
    From Newsgroup: comp.lang.c++

    On Mon, 2 Feb 2026 21:02:51 +0100, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    NOTE: Do not push any "business logic" in to your libs.

    Anything that is reusable is a candidate for putting in a library.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 10:54:02 2026
    From Newsgroup: comp.lang.c++

    On Mon, 2 Feb 2026 21:02:51 +0100
    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# <jmj@energokod.gda.pl> wrote:
    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows
    user interface, written in 450,000 lines of C++, from Ascii to
    Unicode for two years now.-a It was a one year project to start and
    his latest estimate is another year to complete.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great opportunity
    to make your app far better than previous. Modern industry approach,
    is modularity. This is prove in many essential industry branch, and especially in IIww years.

    It seems to me that industry trend in GUI programming is to stay as far
    away from C++ as possible.
    JS is a king.
    C#, Swift, Kotlin are second choice.
    Even Java is still used for new development in this feild, despite
    technically being almost as unsuitable as C++.
    But C++ is strictly legacy, no new, from scratch GUI development is done
    in this language for something like 15 years.
    Of course, the statement above is "at large". The world is a big
    place and one can always find one developer or one hundred or ten
    thousands that make unusual sub-optimal choices.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Fred. Zwarts@F.Zwarts@HetNet.nl to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Feb 3 10:33:55 2026
    From Newsgroup: comp.lang.c++

    Op 02.feb.2026 om 22:23 schreef Lawrence DrCOOliveiro:
    On Mon, 2 Feb 2026 11:18:03 +0100, Fred. Zwarts wrote:

    Op 01.feb.2026 om 10:06 schreef Lawrence DrCOOliveiro:

    On Sat, 31 Jan 2026 16:10:38 -0600, Gary Scott wrote:

    Flexibility is taken to a bit extreme in GINO graphics libraries
    (a UK product), with a calendar that goes all the way back to
    1066...:)

    ldo@theon:~> date -d "1-Jan-1066"
    Mon 01 Jan 1066 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-966"
    Wed 01 Jan 0966 00:00:00 LMT
    ldo@theon:~> date -d "1-Jan-866"
    Fri 01 Jan 0866 00:00:00 LMT

    Now it becomes important to indicate whether the Gregorian or the Julian
    calendar is used.

    ldo@theon:~> date -d 4-oct-1582
    Mon 04 Oct 1582 00:00:00 LMT
    ldo@theon:~> date -d 15-oct-1582
    Fri 15 Oct 1582 00:00:00 LMT

    Proleptic Gregorian.

    Not all countries switched at the same date.

    ldo@theon:~> ncal -s IT oct 1582
    October 1582
    Mo 1 18 25
    Tu 2 19 26
    We 3 20 27
    Th 4 21 28
    Fr 15 22 29
    Sa 16 23 30
    Su 17 24 31
    ldo@theon:~> ncal -s GB oct 1582
    October 1582
    Mo 1 8 15 22 29
    Tu 2 9 16 23 30
    We 3 10 17 24 31
    Th 4 11 18 25
    Fr 5 12 19 26
    Sa 6 13 20 27
    Su 7 14 21 28
    ldo@theon:~> ncal -s GB sep 1752
    September 1752
    Mo 18 25
    Tu 1 19 26
    We 2 20 27
    Th 14 21 28
    Fr 15 22 29
    Sa 16 23 30
    Su 17 24

    What I meant is that the calender should be added in the output. We add
    a time-zone to avoid confusion, for such old dates the calendar should
    be added as well to avoid confusion.
    When the country, e.g. IT is known, then we don't need a time zone or calendar, strictly speaking, because it can be looked up somewhere, but
    not everyone knows the time zone and the calendar switch by heart and it
    saves time to add them both.
    Another thing is that time zones did not exist centuries ago. Every
    place had its own local time.
    But how serious should we be?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 10:44:17 2026
    From Newsgroup: comp.lang.c++

    W dniu 3.02.2026 o-a09:54, Michael S pisze:
    On Mon, 2 Feb 2026 21:02:51 +0100
    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# <jmj@energokod.gda.pl> wrote:

    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows
    user interface, written in 450,000 lines of C++, from Ascii to
    Unicode for two years now.-a It was a one year project to start and
    his latest estimate is another year to complete.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great opportunity
    to make your app far better than previous. Modern industry approach,
    is modularity. This is prove in many essential industry branch, and
    especially in IIww years.


    It seems to me that industry trend in GUI programming is to stay as far
    away from C++ as possible.
    JS is a king.
    C#, Swift, Kotlin are second choice.
    Even Java is still used for new development in this feild, despite technically being almost as unsuitable as C++.

    This is just pure hype: Apps word does not end on Android (all its apps
    are written in some scripts lang)!!!

    There are many areas where normal C++ programs are needed, and are not replaceable due to their time critical nature.
    Even on desktop such simple app like text editor must be coded in C++
    because in JS (VS Code) programmers see noticeable lags. The same is
    true for huge programs like Text Processors, CAD, 3D Modeling, Graphic Editors, and many more.

    Summary: only silly apps can be write in JS (or in other scripting
    lang). Normal and professional programs must be written in compiling
    lang, like modern object-oriented C++.
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 09:47:25 2026
    From Newsgroup: comp.lang.c++

    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote this post by blinking in Morse code:

    W dniu 3.02.2026 o-a09:54, Michael S pisze:
    On Mon, 2 Feb 2026 21:02:51 +0100
    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# <jmj@energokod.gda.pl> wrote:

    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows
    user interface, written in 450,000 lines of C++, from Ascii to
    Unicode for two years now.-a It was a one year project to start and
    his latest estimate is another year to complete.

    450K lines??? At a minute per line (assuming all lines need the
    "fix") that's 312 days.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great opportunity
    to make your app far better than previous. Modern industry approach,
    is modularity. This is prove in many essential industry branch, and
    especially in IIww years.

    It seems to me that industry trend in GUI programming is to stay as far
    away from C++ as possible.

    :-D

    JS is a king.
    C#, Swift, Kotlin are second choice.
    Even Java is still used for new development in this feild, despite
    technically being almost as unsuitable as C++.

    :-D

    <https://wiki.qt.io/List_of_Qt_Applications>

    You do realize that C++ is used for performance, don't you.
    That's helpful even in a GUI.

    This is just pure hype: Apps word does not end on Android (all its apps
    are written in some scripts lang)!!!

    There are many areas where normal C++ programs are needed, and are not replaceable due to their time critical nature.
    Even on desktop such simple app like text editor must be coded in C++ because in JS (VS Code) programmers see noticeable lags. The same is
    true for huge programs like Text Processors, CAD, 3D Modeling, Graphic Editors, and many more.

    Summary: only silly apps can be write in JS (or in other scripting
    lang). Normal and professional programs must be written in compiling
    lang, like modern object-oriented C++.

    Actually, Javascript is a decent language and even has some
    object-oriented features. I had to use it pretty heavily in a
    project at work years ago.
    --
    Live long and prosper.
    -- Spock, "Amok Time", stardate 3372.7
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 16:02:55 2026
    From Newsgroup: comp.lang.c++

    W dniu 3.02.2026 o-a15:47, Chris Ahlstrom pisze:
    Summary: only silly apps can be write in JS (or in other scripting
    lang). Normal and professional programs must be written in compiling
    lang, like modern object-oriented C++.
    Actually, Javascript is a decent language and even has some
    object-oriented features. I had to use it pretty heavily in a
    project at work years ago.

    That must be night mare! But apparently you gain some wisdom and decide
    to learn C++. We have good proverb in polish which illustrate your
    experience:
    "Nie ma tego z+eego co by na dobre nie wysz+eo."
    , in eng.:
    "There is not such evil which finally will not turn to be good".
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 21:32:08 2026
    From Newsgroup: comp.lang.c++

    On Tue, 3 Feb 2026 10:44:17 +0100, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    W dniu 3.02.2026 o-a09:54, Michael S pisze:

    Even Java is still used for new development in this feild, despite
    technically being almost as unsuitable as C++.

    This is just pure hype: Apps word does not end on Android (all its
    apps are written in some scripts lang)!!!

    You can run code written in C, C++ and other languages that compile to
    machine code, on Android.

    <https://developer.android.com/ndk>
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 22:56:28 2026
    From Newsgroup: comp.lang.c++

    W dniu 3.02.2026 o-a22:32, Lawrence DrCOOliveiro pisze:
    On Tue, 3 Feb 2026 10:44:17 +0100, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    W dniu 3.02.2026 o-a09:54, Michael S pisze:
    Even Java is still used for new development in this feild, despite
    technically being almost as unsuitable as C++.
    This is just pure hype: Apps word does not end on Android (all its
    apps are written in some scripts lang)!!!
    You can run code written in C, C++ and other languages that compile to machine code, on Android.

    <https://developer.android.com/ndk>

    I can bet with you that you will failed when you ask your boss for that!

    This is my real and sad story:
    In 2019-20y. I finished earlier began project Posnet Pospay Online, and
    we win 1 (FIRST!) price on national RetailShow2019 and title "Innowacja
    w Handlu 2019" (in eng. "Innovation of the 2019y. in market"). Next
    project, Pospay Netpay, I finished together with newly employed
    colleague within 5 months.
    The problems started in the middle of 2020, when I prove that C++ with
    Qt app, witch earlier run on the embeded Linux in chinese Pax D220, can
    run on the Pax A920 with Android. But I was unaware that this is
    "silently prohibited" - this is first "conspiracy theory". So they
    through 2y. call me for new features and optimizations. And suddenly,
    without any warning nor any talk, they fire me and my manual tester
    without any explanations. This happen 2022-05-27, fri.
    Even worst: Since that black fri. I am still unemployed. This is in
    spite of fact, that I send over 400 apply for a job to companies from
    all polish territory - this is the second "conspiracy theory".
    NOTE: I apply for a job not only as programmer, but also for many
    electronics related jobs. This is because I have Technic of Electronics diploma with Specialization in Computers.
    That is the truth about the riches from Poland!
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Feb 3 17:32:10 2026
    From Newsgroup: comp.lang.c++

    On 2/2/2026 2:02 PM, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:
    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows user
    interface, written in 450,000 lines of C++, from Ascii to Unicode for
    two years now.-a It was a one year project to start and his latest
    estimate is another year to complete.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great opportunity to make your app far better than previous. Modern industry approach, is modularity. This is prove in many essential industry branch, and
    especially in IIww years.

    You can make your app "modular", by simply respect following rules:
    1. Split your code in to 3 parts:
    1) Business Logic classes;
    2) Tool classes;
    3) Window and widget classes.
    This is my "programming pattern" which I call TLW "tools-logics-window" pattern, and it replace more specialised MVC "model-view-controler"
    pattern.

    2. Split your code in to few static libs.
    NOTE: Do not push any "business logic" in to your libs. Libs must be
    acted only as "tools". All "business logic" should remain in your core app. NOTE: When you have static libs, then you can develop your libs and
    prog. simultaneously, because they will not interfere with other
    projects (other projects can work normally and can be upgraded later).

    3. Split your code in to many dynamically loaded plug-ins.
    NOTE 1: Create your plug-ins only in 3 cases:
    1) for file type and network protocol formats (for tool classes);
    2) for new algorithms (for logic classes);
    3) for new widgets (for windows classes).
    Note 2: In many cases one plug-in provide together new widget and new algorithm;

    4. Make your libs and plug-in rest code independent as far as possible
    and make them to use minimal set of 3rd party libs dependencies.
    NOTE: This mean that your libs and plug-ins (for tools and logic
    classes) should not be depended of GUI libs, nor any platform specific
    libs. In order to do this all build in types and used classes should be renamed. Then, if necessary, renamed type can be easily expanded by make
    it normal class (with earlier renamed class as a parent).

    NOTE: Above I invent and covered in my monograph under title "Arch.
    Prog. Nieuprzywilejowanych" (in eng.: "Architecture of Unprivileged Programs"). I publish it in dec. 2024, on my WWW site under URL:

    <https://energokod.gda.pl/monografie/Arch.%20Prog. %20Nieuprzywilejowanych.pdf>

    One more hint: Buy great and thin Stroustrup book "A Tour of C++ (C++ In-Depth Series" - it is all about basic C++ concepts but focused on C+
    +20. Then consider what "C++ modern parts" are worth to apply for your project.

    I have over 300 classes in my C++ Windows User Interface source code.
    You do not get much more focusing than that.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 17:28:35 2026
    From Newsgroup: comp.lang.c++

    On 2/3/2026 2:54 AM, Michael S wrote:
    On Mon, 2 Feb 2026 21:02:51 +0100
    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# <jmj@energokod.gda.pl> wrote:

    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows
    user interface, written in 450,000 lines of C++, from Ascii to
    Unicode for two years now.-a It was a one year project to start and
    his latest estimate is another year to complete.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great opportunity
    to make your app far better than previous. Modern industry approach,
    is modularity. This is prove in many essential industry branch, and
    especially in IIww years.


    It seems to me that industry trend in GUI programming is to stay as far
    away from C++ as possible.
    JS is a king.
    C#, Swift, Kotlin are second choice.
    Even Java is still used for new development in this feild, despite technically being almost as unsuitable as C++.
    But C++ is strictly legacy, no new, from scratch GUI development is done
    in this language for something like 15 years.

    Of course, the statement above is "at large". The world is a big
    place and one can always find one developer or one hundred or ten
    thousands that make unusual sub-optimal choices.

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB.
    Nothing besides C++ has the oomph and speed to make this happen.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 00:14:35 2026
    From Newsgroup: comp.lang.c++

    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB.
    Nothing besides C++ has the oomph and speed to make this happen.

    Lots of Pythoneers are doing data science at this sort of scale.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 00:15:39 2026
    From Newsgroup: comp.lang.c++

    On Tue, 3 Feb 2026 22:56:28 +0100, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    W dniu 3.02.2026 o-a22:32, Lawrence DrCOOliveiro pisze:

    On Tue, 3 Feb 2026 10:44:17 +0100, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    W dniu 3.02.2026 o-a09:54, Michael S pisze:

    Even Java is still used for new development in this feild,
    despite technically being almost as unsuitable as C++.

    This is just pure hype: Apps word does not end on Android (all its
    apps are written in some scripts lang)!!!

    You can run code written in C, C++ and other languages that compile
    to machine code, on Android.

    <https://developer.android.com/ndk>

    I can bet with you that you will failed when you ask your boss for that!

    I am my boss. And I have done it.

    How much is your bet worth?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Tue Feb 3 20:17:04 2026
    From Newsgroup: comp.lang.c++

    On 2/3/2026 6:14 PM, Lawrence DrCOOliveiro wrote:
    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB.
    Nothing besides C++ has the oomph and speed to make this happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Been there, done that. I really doubt that any Python apps are doing
    the level of what I do. I would be careful telling people that Python
    apps run anywhere near the speed of C++.

    I used to have my data storage code written in Smalltalk, an interpreter
    using automatic garbage collection. It was about a 100X slower than my
    C++ code. Python is faster than the old Smalltalk language but not the
    speed of C++.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 04:57:28 2026
    From Newsgroup: comp.lang.c++

    On Tue, 3 Feb 2026 20:17:04 -0600, Lynn McGuire wrote:

    On 2/3/2026 6:14 PM, Lawrence DrCOOliveiro wrote:

    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to
    1,000 MB. Nothing besides C++ has the oomph and speed to make this
    happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Been there, done that. I really doubt that any Python apps are doing
    the level of what I do. I would be careful telling people that
    Python apps run anywhere near the speed of C++.

    Python has number-crunching engines like NumPy to do the grunt work.
    The question is, how long does the overall job take: the C++ code may
    run a bit faster, but it takes several times longer to write. You can
    get a lot of analyses done in that time in Python. Particularly since
    it is very easy to experiment with just a few lines of code, before
    committing yourself to more elaborate analyses along particular lines.

    And then you have access to visualization tools like Matplotlib to
    view the results. And again, it is much quicker to generate displays
    from that in Python than it would be to write C++ code.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 09:37:06 2026
    From Newsgroup: comp.lang.c++

    W dniu 4.02.2026 o-a01:15, Lawrence DrCOOliveiro pisze:
    On Tue, 3 Feb 2026 22:56:28 +0100, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    W dniu 3.02.2026 o-a22:32, Lawrence DrCOOliveiro pisze:

    On Tue, 3 Feb 2026 10:44:17 +0100, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    W dniu 3.02.2026 o-a09:54, Michael S pisze:

    Even Java is still used for new development in this feild,
    despite technically being almost as unsuitable as C++.

    This is just pure hype: Apps word does not end on Android (all its
    apps are written in some scripts lang)!!!

    You can run code written in C, C++ and other languages that compile
    to machine code, on Android.

    <https://developer.android.com/ndk>

    I can bet with you that you will failed when you ask your boss for that!

    I am my boss. And I have done it.

    How much is your bet worth?

    Because I am poor (not by laziness, but due to deny my apply for a job
    by polish riches), I propose to use polish phrase "zak+ead o
    przekonianie", which in literally translation mean "bet about
    confidence". So now you have my confidence, that it is not impossible
    create commercial C/C++ apps for Android.

    BTW: What kind of GUI/graphic lib do you use in your programs running on Android?
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 14:24:00 2026
    From Newsgroup: comp.lang.c++

    On Tue, 3 Feb 2026 17:28:35 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:
    On 2/3/2026 2:54 AM, Michael S wrote:
    On Mon, 2 Feb 2026 21:02:51 +0100
    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# <jmj@energokod.gda.pl> wrote:

    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows
    user interface, written in 450,000 lines of C++, from Ascii to
    Unicode for two years now.-a It was a one year project to start and
    his latest estimate is another year to complete.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great
    opportunity to make your app far better than previous. Modern
    industry approach, is modularity. This is prove in many essential
    industry branch, and especially in IIww years.


    It seems to me that industry trend in GUI programming is to stay as
    far away from C++ as possible.
    JS is a king.
    C#, Swift, Kotlin are second choice.
    Even Java is still used for new development in this feild, despite technically being almost as unsuitable as C++.
    But C++ is strictly legacy, no new, from scratch GUI development is
    done in this language for something like 15 years.

    Of course, the statement above is "at large". The world is a big
    place and one can always find one developer or one hundred or ten
    thousands that make unusual sub-optimal choices.

    I am swinging huge datasets for simulation models from 1 MB to 1,000
    MB. Nothing besides C++ has the oomph and speed to make this happen.

    Lynn

    I am not sure what "swinging" means in this context and whether other
    languages can do it or not (at very least, anything related to speed
    that C++ can do, C can do as well, but I would be very surprised if
    there no other options beyond C).
    But all that sounds off topic.
    The topic is user interface code (a.k.a. GUI) rather than "swinging".
    C++ used to be a popular choice for coding user interfaces, but it
    ceased to be popular long time ago.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 08:45:52 2026
    From Newsgroup: comp.lang.c++

    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote this post by blinking in Morse code:

    W dniu 3.02.2026 o-a15:47, Chris Ahlstrom pisze:
    Summary: only silly apps can be write in JS (or in other scripting
    lang). Normal and professional programs must be written in compiling
    lang, like modern object-oriented C++.
    Actually, Javascript is a decent language and even has some
    object-oriented features. I had to use it pretty heavily in a
    project at work years ago.

    That must be night mare! But apparently you gain some wisdom and decide
    to learn C++.

    I started using C++ in the early 1990s. C in the mid 1980s.

    We have good proverb in polish which illustrate your
    experience:
    "Nie ma tego z+eego co by na dobre nie wysz+eo."
    , in eng.:
    "There is not such evil which finally will not turn to be good".

    I can think of a contrary example today.
    --
    You will win success in whatever calling you adopt.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 08:54:23 2026
    From Newsgroup: comp.lang.c++

    Lawrence DrCOOliveiro wrote this post by blinking in Morse code:

    On Tue, 3 Feb 2026 20:17:04 -0600, Lynn McGuire wrote:

    On 2/3/2026 6:14 PM, Lawrence DrCOOliveiro wrote:

    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to
    1,000 MB. Nothing besides C++ has the oomph and speed to make this
    happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Been there, done that. I really doubt that any Python apps are doing
    the level of what I do. I would be careful telling people that
    Python apps run anywhere near the speed of C++.

    Python has number-crunching engines like NumPy to do the grunt work.
    The question is, how long does the overall job take: the C++ code may
    run a bit faster, but it takes several times longer to write.

    Bullshit.

    You can
    get a lot of analyses done in that time in Python. Particularly since
    it is very easy to experiment with just a few lines of code, before committing yourself to more elaborate analyses along particular lines.

    You can
    do that in any language.

    And then you have access to visualization tools like Matplotlib to
    view the results. And again, it is much quicker to generate displays
    from that in Python than it would be to write C++ code.

    AI Overview

    Several C++ plotting libraries are available, ranging from
    simple, header-only solutions to comprehensive, feature-rich
    systems. Key options include general-purpose libraries,
    wrappers for existing tools, and those designed for real-time
    visualization.

    Here are some popular C++ plotting libraries:

    Matplotlib-cpp: This is possibly the simplest C++ plotting
    library, designed to mimic the API of the popular Python
    matplotlib library. It is a header-only library that acts as a
    C++ wrapper around the Python matplotlib backend, so a Python
    installation is required at runtime.

    Matplot++: A modern C++ graphics library that offers
    interactive plotting and a compact syntax, supporting generic
    backends including gnuplot and the web-optimized Bokeh. It
    provides a wide range of plot categories suitable for
    scientific data visualization.

    sciplot: Another modern, header-only library that aims to make
    plotting in C++ as easy as in higher-level languages like
    Python. It uses gnuplot as a backend dependency at runtime to
    generate high-quality graphs and requires a C++17 capable
    compiler.

    Gnuplot (via C++ interface): You can directly interface with
    the standalone, classic plotting program gnuplot using
    libraries like gnuplot-iostream or similar wrappers. This
    approach leverages gnuplot's powerful, domain-specific
    plotting language.

    Qt Charts: If you are already building a cross-platform
    desktop application using the Qt framework, the Qt Charts
    module is a well-integrated option that provides robust
    charting capabilities.

    ImPlot: An extension for the popular Dear ImGui library, ideal
    for integrating plots directly into performance-oriented,
    real-time GUI applications, such as internal tools or game
    development debugging interfaces.

    Visualization Toolkit (VTK): A powerful open-source library
    for 3D graphics, image processing, and visualization. It is a
    comprehensive, low-level option best suited for complex
    scientific visualization needs.
    --
    Q: Why is Christmas just like a day at the office?
    A: You do all of the work and the fat guy in the suit
    gets all the credit.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From scott@scott@slp53.sl.home (Scott Lurndal) to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 15:44:04 2026
    From Newsgroup: comp.lang.c++

    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:
    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB.
    Nothing besides C++ has the oomph and speed to make this happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Even "R" can handle datasets larger than that.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 16:57:05 2026
    From Newsgroup: comp.lang.c++

    W dniu 4.02.2026 o-a13:24, Michael S pisze:
    anything related to speed
    that C++ can do, C can do as well, but I would be very surprised if
    there no other options beyond C

    Update your info, and learn basic of the D lang:

    <https://dlang.org/>

    Nowadays it has not only Digital Mars implementation, but also exists GCC-based, and LLVM-based implementations. But D lang is isolated, so
    there is lack modern GUI lib and good IDE with integrated debugger.
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jmj@energokod.gda.pl to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 17:16:24 2026
    From Newsgroup: comp.lang.c++

    W dniu 4.02.2026 o-a13:24, Michael S pisze:
    at very least, anything related to speed
    that C++ can do, C can do as well, but I would be very surprised if
    there no other options beyond C

    There is also FreePascal:

    <https://www.freepascal.org>

    But I am unsure if it has templates, but I am sure that D it has.
    --
    Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska Efc|Efc#, EU Efc-Efc|;
    tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
    Domowa s. WWW: <https://energokod.gda.pl>;
    Mini Netykieta: <https://energokod.gda.pl/MiniNetykieta.html>;
    Mailowa Samoobrona: <https://emailselfdefense.fsf.org/pl>.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 19:20:18 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB.
    Nothing besides C++ has the oomph and speed to make this happen.

    Speed differences between compiled languages are reltively small.
    But Fortran (where I am reading this) can certainly do so. A pity
    you missed out on Fortran's development in the last 35 years.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 16:43:53 2026
    From Newsgroup: comp.lang.c++

    On 2/4/2026 7:54 AM, Chris Ahlstrom wrote:
    Lawrence DrCOOliveiro wrote this post by blinking in Morse code:

    On Tue, 3 Feb 2026 20:17:04 -0600, Lynn McGuire wrote:

    On 2/3/2026 6:14 PM, Lawrence DrCOOliveiro wrote:

    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to
    1,000 MB. Nothing besides C++ has the oomph and speed to make this
    happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Been there, done that. I really doubt that any Python apps are doing
    the level of what I do. I would be careful telling people that
    Python apps run anywhere near the speed of C++.

    Python has number-crunching engines like NumPy to do the grunt work.
    The question is, how long does the overall job take: the C++ code may
    run a bit faster, but it takes several times longer to write.

    Bullshit.

    You can
    get a lot of analyses done in that time in Python. Particularly since
    it is very easy to experiment with just a few lines of code, before
    committing yourself to more elaborate analyses along particular lines.

    You can
    do that in any language.

    And then you have access to visualization tools like Matplotlib to
    view the results. And again, it is much quicker to generate displays
    from that in Python than it would be to write C++ code.

    AI Overview

    Several C++ plotting libraries are available, ranging from
    simple, header-only solutions to comprehensive, feature-rich
    systems. Key options include general-purpose libraries,
    wrappers for existing tools, and those designed for real-time
    visualization.

    Here are some popular C++ plotting libraries:

    Matplotlib-cpp: This is possibly the simplest C++ plotting
    library, designed to mimic the API of the popular Python
    matplotlib library. It is a header-only library that acts as a
    C++ wrapper around the Python matplotlib backend, so a Python
    installation is required at runtime.

    Matplot++: A modern C++ graphics library that offers
    interactive plotting and a compact syntax, supporting generic
    backends including gnuplot and the web-optimized Bokeh. It
    provides a wide range of plot categories suitable for
    scientific data visualization.

    sciplot: Another modern, header-only library that aims to make
    plotting in C++ as easy as in higher-level languages like
    Python. It uses gnuplot as a backend dependency at runtime to
    generate high-quality graphs and requires a C++17 capable
    compiler.

    Gnuplot (via C++ interface): You can directly interface with
    the standalone, classic plotting program gnuplot using
    libraries like gnuplot-iostream or similar wrappers. This
    approach leverages gnuplot's powerful, domain-specific
    plotting language.

    Qt Charts: If you are already building a cross-platform
    desktop application using the Qt framework, the Qt Charts
    module is a well-integrated option that provides robust
    charting capabilities.

    ImPlot: An extension for the popular Dear ImGui library, ideal
    for integrating plots directly into performance-oriented,
    real-time GUI applications, such as internal tools or game
    development debugging interfaces.

    Visualization Toolkit (VTK): A powerful open-source library
    for 3D graphics, image processing, and visualization. It is a
    comprehensive, low-level option best suited for complex
    scientific visualization needs.

    We use gnuplot to generate graphs in our software.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 16:53:38 2026
    From Newsgroup: comp.lang.c++

    On 2/4/2026 9:44 AM, Scott Lurndal wrote:
    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:
    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB. >>> Nothing besides C++ has the oomph and speed to make this happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Even "R" can handle datasets larger than that.

    We are not 64 bit yet. 1,000 MB is about the largest dataset we can
    swing in Win32 due to our inefficiency in managing memory. We do
    compress all strings above 1,000 bytes which means that our datasets are actually 2X to 3X bigger than the binary version of the dataset.

    As soon as I convert my calculation engine from 32 bit Fortran to 64 bit
    C++, I will start on converting our Win32 C++ user interface to Win64.
    Or maybe I will work on a intertube version of our user interface, I
    will make the leap of faith then.

    You know, when my staff and I converted our user interface from Win16 Smalltalk and Win16 C to all Win32 C++ back in 2000, I was amazed at the
    huge memory space that we now had. Before that, we were chaining
    datasets to each other which was fraught with danger. Now that Win32
    memory space seems small.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 16:55:28 2026
    From Newsgroup: comp.lang.c++

    On 2/4/2026 6:24 AM, Michael S wrote:
    On Tue, 3 Feb 2026 17:28:35 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:

    On 2/3/2026 2:54 AM, Michael S wrote:
    On Mon, 2 Feb 2026 21:02:51 +0100
    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# <jmj@energokod.gda.pl> wrote:

    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows
    user interface, written in 450,000 lines of C++, from Ascii to
    Unicode for two years now.-a It was a one year project to start and
    his latest estimate is another year to complete.

    I think that this task should be named "rewrite". But I recommended
    "clean up" instead. In the case "clean up" you have great
    opportunity to make your app far better than previous. Modern
    industry approach, is modularity. This is prove in many essential
    industry branch, and especially in IIww years.


    It seems to me that industry trend in GUI programming is to stay as
    far away from C++ as possible.
    JS is a king.
    C#, Swift, Kotlin are second choice.
    Even Java is still used for new development in this feild, despite
    technically being almost as unsuitable as C++.
    But C++ is strictly legacy, no new, from scratch GUI development is
    done in this language for something like 15 years.

    Of course, the statement above is "at large". The world is a big
    place and one can always find one developer or one hundred or ten
    thousands that make unusual sub-optimal choices.

    I am swinging huge datasets for simulation models from 1 MB to 1,000
    MB. Nothing besides C++ has the oomph and speed to make this happen.

    Lynn


    I am not sure what "swinging" means in this context and whether other languages can do it or not (at very least, anything related to speed
    that C++ can do, C can do as well, but I would be very surprised if
    there no other options beyond C).
    But all that sounds off topic.
    The topic is user interface code (a.k.a. GUI) rather than "swinging".
    C++ used to be a popular choice for coding user interfaces, but it
    ceased to be popular long time ago.

    My variant of "swinging" means to load an entire dataset into memory
    which used to be very common for desktop software like mine.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 16:57:40 2026
    From Newsgroup: comp.lang.c++

    On 2/4/2026 10:16 AM, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:
    W dniu 4.02.2026 o-a13:24, Michael S pisze:
    at very least, anything related to speed
    that C++ can do, C can do as well, but I would be very surprised if
    there no other options beyond C

    There is also FreePascal:

    <https://www.freepascal.org>

    But I am unsure if it has templates, but I am sure that D it has.

    Nope. I moved from Turbo Pascal to C in 1987 and never looked back.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Wed Feb 4 17:07:36 2026
    From Newsgroup: comp.lang.c++

    On 2/4/2026 1:20 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB.
    Nothing besides C++ has the oomph and speed to make this happen.

    Speed differences between compiled languages are reltively small.
    But Fortran (where I am reading this) can certainly do so. A pity
    you missed out on Fortran's development in the last 35 years.

    We will see. When I finish converting the 800,000 lines of F77 code to
    C++ in my calculation engine, I will run a timing test using my 659 +
    100 = 759 benchmark files. I just restarted this project after a year
    or two of working on customers problems and demands.

    I have over 100,000 lines of F77 converted to C++ now and the input
    parser of my chemical data regression tool is fully working.

    If interested, this is what we do (8 MB PDF):
    https://www.winsim.com/media/diiw_brochure.pdf

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 07:23:41 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    On 2/4/2026 1:20 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB. >>> Nothing besides C++ has the oomph and speed to make this happen.

    Speed differences between compiled languages are reltively small.
    But Fortran (where I am reading this) can certainly do so. A pity
    you missed out on Fortran's development in the last 35 years.

    We will see.

    We will not see, because you made the decision to switch to C++
    instead of gradually introducing modern Fortran features in your
    code. There will be no benchmark to test against.

    When I finish converting the 800,000 lines of F77 code to
    C++ in my calculation engine, I will run a timing test using my 659 +
    100 = 759 benchmark files. I just restarted this project after a year
    or two of working on customers problems and demands.

    That could be interesting. With such a conversion test, it would
    also be interesting to see how many bugs were uncovered in the
    conversion process, and how many new ones were introduced. You
    may know the first number (although I totally understand if you don't
    want to share), but you may never know the second one.

    Do you use tools like valgrind and sanitizers?

    I have over 100,000 lines of F77 converted to C++ now and the input
    parser of my chemical data regression tool is fully working.

    Parsers are a field where Fortran does not shine, although allocatable characters have made this much easier.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 09:10:51 2026
    From Newsgroup: comp.lang.c++

    On Wed, 4 Feb 2026 16:53:38 -0600, Lynn McGuire wrote:

    We are not 64 bit yet. 1,000 MB is about the largest dataset we can
    swing in Win32 due to our inefficiency in managing memory.

    WouldnrCOt a rCLrealrCY computer (i.e. running Linux) do better? Have you compared?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 09:11:55 2026
    From Newsgroup: comp.lang.c++

    On Wed, 4 Feb 2026 16:57:40 -0600, Lynn McGuire wrote:

    On 2/4/2026 10:16 AM, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# wrote:

    There is also FreePascal:

    <https://www.freepascal.org>

    But I am unsure if it has templates, but I am sure that D it has.

    Nope. I moved from Turbo Pascal to C in 1987 and never looked back.

    In a language where functions and classes are first-class objects, you
    donrCOt need templates.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 09:14:05 2026
    From Newsgroup: comp.lang.c++

    On Thu, 5 Feb 2026 07:23:41 -0000 (UTC), Thomas Koenig wrote:

    Parsers are a field where Fortran does not shine, although
    allocatable characters have made this much easier.

    On a *nix system, it is usual to delegate common janitorial tasks
    (like parsing) to open-source libraries that already handle such jobs.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 09:09:10 2026
    From Newsgroup: comp.lang.c++

    On Wed, 4 Feb 2026 16:43:53 -0600, Lynn McGuire wrote:

    We use gnuplot to generate graphs in our software.

    Matplotlib examples gallery: <https://matplotlib.org/stable/gallery/index>
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 12:02:02 2026
    From Newsgroup: comp.lang.c++

    On Thu, 5 Feb 2026 07:23:41 -0000 (UTC)
    Thomas Koenig <tkoenig@netcologne.de> wrote:


    Parsers are a field where Fortran does not shine, although allocatable characters have made this much easier.

    Another field where Fortran "does not shine" is handling of huge uni-dimensional arrays. But 1GB is small enough, here Fortran shall be comfortable.


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 12:10:32 2026
    From Newsgroup: comp.lang.c++

    On Thu, 5 Feb 2026 09:10:51 -0000 (UTC)
    Lawrence DrCOOliveiro <ldo@nz.invalid> wrote:
    On Wed, 4 Feb 2026 16:53:38 -0600, Lynn McGuire wrote:

    We are not 64 bit yet. 1,000 MB is about the largest dataset we can
    swing in Win32 due to our inefficiency in managing memory.

    WouldnrCOt a rCLrealrCY computer (i.e. running Linux) do better? Have you compared?
    64-bit Windows supports 32-bit programs rather well. The user does not
    need to have Phd in multilib or similar nonsense. Things mostly just
    work.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 11:13:07 2026
    From Newsgroup: comp.lang.c++

    On 05/02/2026 08:23, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    On 2/4/2026 1:20 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB. >>>> Nothing besides C++ has the oomph and speed to make this happen.

    Speed differences between compiled languages are reltively small.
    But Fortran (where I am reading this) can certainly do so. A pity
    you missed out on Fortran's development in the last 35 years.

    We will see.

    We will not see, because you made the decision to switch to C++
    instead of gradually introducing modern Fortran features in your
    code. There will be no benchmark to test against.


    There would probably be speed improvements in simply converting from old Fortran to re-written old Fortran - most re-writes offer plenty of scope
    for improving the structure and algorithms of old code simply because
    you have better knowledge of the real-world usage of the code, and you
    can turn old "layers of patches and modifications" code into more
    streamlined code. Then there are more modern editors, linters,
    debuggers, etc., that let you write code in different ways (without
    losing track of what you are doing) than you could with ancient tools.
    Then there are more modern compilers that do a much better job of optimisation, especially tuning for running on more modern processors.
    And you can re-write the code with a view to efficiency on modern
    processors (such as by different choice of data types, consideration of
    cache, etc.). All that comes before using a more modern language standard.

    Without knowing anything about the code, the company, the programmers,
    the future plans, etc., it is totally impossible for others to guess if
    a re-write to C++ or modern Fortran would be best - I assume that Lynn
    and colleagues have that knowledge and made the best choice. But I
    would be confident that speed comparisons from a re-write in C++ to the
    old Fortran code would not give a fair comparison of the languages here.



    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 12:24:49 2026
    From Newsgroup: comp.lang.c++

    On Wed, 4 Feb 2026 16:55:28 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:
    On 2/4/2026 6:24 AM, Michael S wrote:
    On Tue, 3 Feb 2026 17:28:35 -0600
    Lynn McGuire <lynnmcguire5@gmail.com> wrote:

    On 2/3/2026 2:54 AM, Michael S wrote:
    On Mon, 2 Feb 2026 21:02:51 +0100
    Efc|Efc#Jacek Marcin JaworskiEfc|Efc# <jmj@energokod.gda.pl> wrote:

    W dniu 24.01.2026 o-a04:35, Lynn McGuire pisze:
    One of my programmers has been working on converting our Windows
    user interface, written in 450,000 lines of C++, from Ascii to
    Unicode for two years now.-a It was a one year project to start
    and his latest estimate is another year to complete.

    I think that this task should be named "rewrite". But I
    recommended "clean up" instead. In the case "clean up" you have
    great opportunity to make your app far better than previous.
    Modern industry approach, is modularity. This is prove in many
    essential industry branch, and especially in IIww years.


    It seems to me that industry trend in GUI programming is to stay
    as far away from C++ as possible.
    JS is a king.
    C#, Swift, Kotlin are second choice.
    Even Java is still used for new development in this feild, despite
    technically being almost as unsuitable as C++.
    But C++ is strictly legacy, no new, from scratch GUI development
    is done in this language for something like 15 years.

    Of course, the statement above is "at large". The world is a big
    place and one can always find one developer or one hundred or ten
    thousands that make unusual sub-optimal choices.

    I am swinging huge datasets for simulation models from 1 MB to
    1,000 MB. Nothing besides C++ has the oomph and speed to make this
    happen.

    Lynn


    I am not sure what "swinging" means in this context and whether
    other languages can do it or not (at very least, anything related
    to speed that C++ can do, C can do as well, but I would be very
    surprised if there no other options beyond C).
    But all that sounds off topic.
    The topic is user interface code (a.k.a. GUI) rather than
    "swinging". C++ used to be a popular choice for coding user
    interfaces, but it ceased to be popular long time ago.

    My variant of "swinging" means to load an entire dataset into memory
    which used to be very common for desktop software like mine.

    Lynn

    Then I wonder what languages are *not* able to do it?
    Please name a few.
    Personally, I can't recollect any popular (or semi-popular) language
    like that, apart from those (VB6) that never graduated into 64-bit
    world.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 18:38:48 2026
    From Newsgroup: comp.lang.c++

    ["Followup-To:" nach comp.lang.fortran gesetzt.]
    Michael S <already5chosen@yahoo.com> schrieb:
    On Thu, 5 Feb 2026 07:23:41 -0000 (UTC)
    Thomas Koenig <tkoenig@netcologne.de> wrote:


    Parsers are a field where Fortran does not shine, although allocatable
    characters have made this much easier.

    Another field where Fortran "does not shine" is handling of huge uni-dimensional arrays.

    Why?

    If you are referring to pre-Fortran-90 days, you are also 35
    years in the past :-)

    A bit more verbiage than required (usually, I would expect people
    to put their kind numbers into modules):

    module my_kinds
    use iso_fortran_env, only: real64, int64
    implicit none
    private
    public :: ik, rk
    integer, parameter :: ik = int64, rk = real64
    end module my_kinds

    program main
    use my_kinds
    implicit none
    integer(ik) :: sz
    real(rk), allocatable, dimension(:) :: array
    read (*,*) sz
    allocate(array(sz))
    end program main

    works just fine.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 15:47:11 2026
    From Newsgroup: comp.lang.c++

    On 2/5/2026 3:09 AM, Lawrence DrCOOliveiro wrote:
    On Wed, 4 Feb 2026 16:43:53 -0600, Lynn McGuire wrote:

    We use gnuplot to generate graphs in our software.

    Matplotlib examples gallery: <https://matplotlib.org/stable/gallery/index>

    You are really telling me to rip out a working feature in my software
    and spend months replacing it ???

    Are you daft ?

    I've got over 2,000 program modification requests (PMRs) from paying customers. I listen to them first. FYI, I have almost 10,000 PMRs in
    my system dating back to 1982.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 15:58:18 2026
    From Newsgroup: comp.lang.c++

    On 2/5/2026 1:23 AM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    On 2/4/2026 1:20 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB. >>>> Nothing besides C++ has the oomph and speed to make this happen.

    Speed differences between compiled languages are reltively small.
    But Fortran (where I am reading this) can certainly do so. A pity
    you missed out on Fortran's development in the last 35 years.

    We will see.

    We will not see, because you made the decision to switch to C++
    instead of gradually introducing modern Fortran features in your
    code. There will be no benchmark to test against.

    When I finish converting the 800,000 lines of F77 code to
    C++ in my calculation engine, I will run a timing test using my 659 +
    100 = 759 benchmark files. I just restarted this project after a year
    or two of working on customers problems and demands.

    That could be interesting. With such a conversion test, it would
    also be interesting to see how many bugs were uncovered in the
    conversion process, and how many new ones were introduced. You
    may know the first number (although I totally understand if you don't
    want to share), but you may never know the second one.

    Do you use tools like valgrind and sanitizers?

    I have over 100,000 lines of F77 converted to C++ now and the input
    parser of my chemical data regression tool is fully working.

    Parsers are a field where Fortran does not shine, although allocatable characters have made this much easier.

    I have tried valgrind in the past. It alerts too much in my F77 code
    since we have a homegrown dynamic memory system dating back to 1977.
    The pointers are stored in integers and valgrind really hates those.

    The only conversion problem that I am worried about is that I have
    Fortran 66 interpreter built into my software for my customers to write
    custom calculations embedded in their datasets attached to any type of
    object. I will need to write a converter for the F66 format statements
    to C formats. Not a big deal though. Some of my customers have over
    10,000 lines of F66 code in their datasets. And yes, the F66 parser is written in F77 code, we wrote that back in 1982.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 16:01:05 2026
    From Newsgroup: comp.lang.c++

    On 2/5/2026 3:14 AM, Lawrence DrCOOliveiro wrote:
    On Thu, 5 Feb 2026 07:23:41 -0000 (UTC), Thomas Koenig wrote:

    Parsers are a field where Fortran does not shine, although
    allocatable characters have made this much easier.

    On a *nix system, it is usual to delegate common janitorial tasks
    (like parsing) to open-source libraries that already handle such jobs.

    Parsing is not just looking at input. It is also about converting that
    input and storing it properly in the proper data storage areas in the
    dataset.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 22:30:29 2026
    From Newsgroup: comp.lang.c++

    On Thu, 5 Feb 2026 16:01:05 -0600, Lynn McGuire wrote:

    On 2/5/2026 3:14 AM, Lawrence DrCOOliveiro wrote:

    On a *nix system, it is usual to delegate common janitorial tasks
    (like parsing) to open-source libraries that already handle such
    jobs.

    Parsing is not just looking at input. It is also about converting
    that input and storing it properly in the proper data storage areas
    in the dataset.

    Look at common parser libraries. They are designed to deal with
    precisely these sorts of issues.

    Here <https://textx.github.io/Arpeggio/latest/> is one I have used.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 20:22:37 2026
    From Newsgroup: comp.lang.c++

    On 2/5/2026 4:30 PM, Lawrence DrCOOliveiro wrote:
    On Thu, 5 Feb 2026 16:01:05 -0600, Lynn McGuire wrote:

    On 2/5/2026 3:14 AM, Lawrence DrCOOliveiro wrote:

    On a *nix system, it is usual to delegate common janitorial tasks
    (like parsing) to open-source libraries that already handle such
    jobs.

    Parsing is not just looking at input. It is also about converting
    that input and storing it properly in the proper data storage areas
    in the dataset.

    Look at common parser libraries. They are designed to deal with
    precisely these sorts of issues.

    Here <https://textx.github.io/Arpeggio/latest/> is one I have used.

    I can tell that you have never worked on a large software package. You
    do not rip it up just to modernize a section of the code.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Fri Feb 6 04:50:09 2026
    From Newsgroup: comp.lang.c++

    On Thu, 5 Feb 2026 20:22:37 -0600, Lynn McGuire wrote:

    I can tell that you have never worked on a large software package.
    You do not rip it up just to modernize a section of the code.

    Stop trying to cast aspersions on those offering advice.

    If it can replace a bunch of code you have to rewrite anyway, it
    should be worth it.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 23:52:49 2026
    From Newsgroup: comp.lang.c++

    On 2/5/2026 10:50 PM, Lawrence DrCOOliveiro wrote:
    On Thu, 5 Feb 2026 20:22:37 -0600, Lynn McGuire wrote:

    I can tell that you have never worked on a large software package.
    You do not rip it up just to modernize a section of the code.

    Stop trying to cast aspersions on those offering advice.

    If it can replace a bunch of code you have to rewrite anyway, it
    should be worth it.

    Nope. The existing algorithm works. There are way more pressing
    matters to fix.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Harold Stevens@wookie@aspen.localdomain to comp.lang.fortran,comp.lang.c++ on Fri Feb 6 04:24:23 2026
    From Newsgroup: comp.lang.c++

    In <10m3j9e$3on86$1@dont-email.me> Lynn McGuire:

    On 2/5/2026 4:30 PM, Lawrence DrCOOliveiro wrote:

    [Snip...]

    I can tell that you have never worked on a large software package. You
    do not rip it up just to modernize a section of the code.

    +1

    As I noted elsewhere in another thread ,,,

    Greybeard quants like me operated on 3 simple maxims:

    1. Anything that works is better than anything that doesn't.
    2. If it ain't broke, don't fix it.
    3. If it breaks, don't ignore it.
    --
    Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
    Pardon any bogus email addresses (wookie) in place for spambots.
    Really, it's (wyrd) at att, dotted with net. * DO NOT SPAM IT. *
    I toss (404) GoogleGroup (404 http://twovoyagers.com/improve-usenet.org/).
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c,comp.lang.c++ on Tue Feb 3 21:29:11 2026
    From Newsgroup: comp.lang.c++

    On Tue, 3 Feb 2026 10:33:55 +0100, Fred. Zwarts wrote:

    What I meant is that the calender should be added in the output.

    The usual assumption (at least internationally) is proleptic
    Gregorian, unless otherwise stated.

    Also, this:

    ldo@theon:~> TZ=UTC date -d 01-jan-0
    Sat 01 Jan 0000 00:00:00 UTC
    ldo@theon:~> TZ=UTC date -d 01-jan-0 +%s
    -62167219200
    ldo@theon:~> TZ=UTC date -d '@-62167219100'
    Sat 01 Jan 0000 00:01:40 UTC
    ldo@theon:~> TZ=UTC date -d '@-62167219300'
    Fri 31 Dec -001 23:58:20 UTC
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Thu Feb 5 22:35:02 2026
    From Newsgroup: comp.lang.c++

    On Thu, 5 Feb 2026 15:47:11 -0600, Lynn McGuire wrote:

    You are really telling me to rip out a working feature in my
    software and spend months replacing it ???

    The question was whether you needed to write the whole thing in C or
    C++ to get the best performance. You do not.

    Typically, code performance follows a sort of 90/10 rule: 90% of the
    time will be spent in 10% of the code (or something skewed along those
    lines, maybe even 95%/5% or 99%/1%). It is a waste of time to optimize
    100% of the code for speed; you will get most gain for least pain from concentrating on that critical 10% or 5% or 1%.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Sat Feb 7 19:15:07 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    The only conversion problem that I am worried about is that I have
    Fortran 66 interpreter built into my software for my customers to write custom calculations embedded in their datasets attached to any type of object. I will need to write a converter for the F66 format statements
    to C formats.

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    Not a big deal though. Some of my customers have over
    10,000 lines of F66 code in their datasets. And yes, the F66 parser is written in F77 code, we wrote that back in 1982.

    If you used Fortran 77's runtime including internal formats,
    that must have made your job a lot easier. Converting this to
    C formats... well, that is tricky. Consider

    REAL A
    DIMENSION A(10)
    READ (10,'(4F12.5)') A

    It is not possible to translate this into C printf formats
    (which you seem to imply above), you need logic to handle
    the format reversion. Also, the handling of field overflow
    (C just extends things, Fortran inserts asterisks) is tricky.

    Why not just use the f2c runtime?
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Sat Feb 7 09:23:01 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    On 2/4/2026 9:44 AM, Scott Lurndal wrote:
    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:
    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB. >>>> Nothing besides C++ has the oomph and speed to make this happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Even "R" can handle datasets larger than that.

    We are not 64 bit yet. 1,000 MB is about the largest dataset we can
    swing in Win32 due to our inefficiency in managing memory. We do
    compress all strings above 1,000 bytes which means that our datasets are actually 2X to 3X bigger than the binary version of the dataset.

    Wow, this must hurt, both for speed and complexity...

    Depending on what your database is like, it might make sense to
    convert into a suitable binary format, map it into your address
    space (I am fairly sure that Windows can do memory-mapped I/O,
    although I am *not* a Windows person, at least not as far as
    programming is concerned) and then immediately do things with it.
    You could then reduce your startup time by only "recompiling"
    from the text representation when needed.

    If this makes sense to your application or not, I don't know (of course) because I do not know what exactly your database does and does not do.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Sat Feb 7 20:34:05 2026
    From Newsgroup: comp.lang.c++

    On Sat, 7 Feb 2026 19:15:07 -0000 (UTC), Thomas Koenig wrote:

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    How do these tools compare to something like
    <https://nwchemgit.github.io>?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Sun Feb 8 08:58:37 2026
    From Newsgroup: comp.lang.c++

    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Sat, 7 Feb 2026 19:15:07 -0000 (UTC), Thomas Koenig wrote:

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    How do these tools compare to something like
    <https://nwchemgit.github.io>?

    How does a hacksaw compare to a screwdriver?
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Keith Thompson@Keith.S.Thompson+u@gmail.com to comp.lang.fortran,comp.lang.c++ on Sun Feb 8 04:07:44 2026
    From Newsgroup: comp.lang.c++

    Thomas Koenig <tkoenig@netcologne.de> writes:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Sat, 7 Feb 2026 19:15:07 -0000 (UTC), Thomas Koenig wrote:
    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    How do these tools compare to something like >><https://nwchemgit.github.io>?

    How does a hacksaw compare to a screwdriver?

    A screwdriver is vodka and orange juice. A hacksaw has orange soda
    as well.
    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Michael S@already5chosen@yahoo.com to comp.lang.fortran,comp.lang.c++ on Sun Feb 8 15:39:39 2026
    From Newsgroup: comp.lang.c++

    On Sun, 08 Feb 2026 04:07:44 -0800
    Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
    Thomas Koenig <tkoenig@netcologne.de> writes:
    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:
    On Sat, 7 Feb 2026 19:15:07 -0000 (UTC), Thomas Koenig wrote:
    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution
    to diverge when the starting solution is already converged is
    beyond me, all explanations that occur to me could be considered
    insults, so I am not toing to go into that. That was worst; I
    hope your software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    How do these tools compare to something like >><https://nwchemgit.github.io>?

    How does a hacksaw compare to a screwdriver?

    A screwdriver is vodka and orange juice. A hacksaw has orange soda
    as well.

    Use of orange juice in hacksaw is disputable.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Sun Feb 8 23:35:32 2026
    From Newsgroup: comp.lang.c++

    On Sun, 8 Feb 2026 08:58:37 -0000 (UTC), Thomas Koenig wrote:

    Lawrence DrCOOliveiro <ldo@nz.invalid> schrieb:

    On Sat, 7 Feb 2026 19:15:07 -0000 (UTC), Thomas Koenig wrote:

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution
    to diverge when the starting solution is already converged is
    beyond me, all explanations that occur to me could be considered
    insults, so I am not toing to go into that. That was worst; I hope
    your software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    How do these tools compare to something like >><https://nwchemgit.github.io>?

    How does a hacksaw compare to a screwdriver?

    So yourCOre talking more chemical cutting tools rather than ones for
    chemical assembly?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Mon Feb 9 15:25:23 2026
    From Newsgroup: comp.lang.c++

    On 2/7/2026 3:23 AM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    On 2/4/2026 9:44 AM, Scott Lurndal wrote:
    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:
    On Tue, 3 Feb 2026 17:28:35 -0600, Lynn McGuire wrote:

    I am swinging huge datasets for simulation models from 1 MB to 1,000 MB. >>>>> Nothing besides C++ has the oomph and speed to make this happen.

    Lots of Pythoneers are doing data science at this sort of scale.

    Even "R" can handle datasets larger than that.

    We are not 64 bit yet. 1,000 MB is about the largest dataset we can
    swing in Win32 due to our inefficiency in managing memory. We do
    compress all strings above 1,000 bytes which means that our datasets are
    actually 2X to 3X bigger than the binary version of the dataset.

    Wow, this must hurt, both for speed and complexity...

    Depending on what your database is like, it might make sense to
    convert into a suitable binary format, map it into your address
    space (I am fairly sure that Windows can do memory-mapped I/O,
    although I am *not* a Windows person, at least not as far as
    programming is concerned) and then immediately do things with it.
    You could then reduce your startup time by only "recompiling"
    from the text representation when needed.

    If this makes sense to your application or not, I don't know (of course) because I do not know what exactly your database does and does not do.

    We do not uncompress strings until they are used. And our datasets are
    stored in "mostly" binary.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Mon Feb 9 15:29:10 2026
    From Newsgroup: comp.lang.c++

    On 2/7/2026 1:15 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    The only conversion problem that I am worried about is that I have
    Fortran 66 interpreter built into my software for my customers to write
    custom calculations embedded in their datasets attached to any type of
    object. I will need to write a converter for the F66 format statements
    to C formats.

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    Not a big deal though. Some of my customers have over
    10,000 lines of F66 code in their datasets. And yes, the F66 parser is
    written in F77 code, we wrote that back in 1982.

    If you used Fortran 77's runtime including internal formats,
    that must have made your job a lot easier. Converting this to
    C formats... well, that is tricky. Consider

    REAL A
    DIMENSION A(10)
    READ (10,'(4F12.5)') A

    It is not possible to translate this into C printf formats
    (which you seem to imply above), you need logic to handle
    the format reversion. Also, the handling of field overflow
    (C just extends things, Fortran inserts asterisks) is tricky.

    Why not just use the f2c runtime?

    We force all loops in simulations to go through a minimum of three
    iterations. What appears to be converged may not be converged in reality.

    The f2c runtime is an undocumented mishmash of a nightmare given that
    they started with the unix f77 compiler. I would prefer not to use it
    but, I could be forced into it from a time aspect.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Mon Feb 9 15:32:10 2026
    From Newsgroup: comp.lang.c++

    On 2/7/2026 1:15 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    The only conversion problem that I am worried about is that I have
    Fortran 66 interpreter built into my software for my customers to write
    custom calculations embedded in their datasets attached to any type of
    object. I will need to write a converter for the F66 format statements
    to C formats.

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.
    ...

    Huh, that does not make sense. One needs variables to decomplicate
    complex calculations. We even support common blocks in our F66
    interpreter user code so that variables can be stored from one iteration
    to the next.

    Lynn


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Mon Feb 9 15:33:12 2026
    From Newsgroup: comp.lang.c++

    On 2/7/2026 2:34 PM, Lawrence DrCOOliveiro wrote:
    On Sat, 7 Feb 2026 19:15:07 -0000 (UTC), Thomas Koenig wrote:

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.

    How do these tools compare to something like
    <https://nwchemgit.github.io>?

    That is a different world. This is me.
    https://www.winsim.com/design.html

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Tue Feb 10 06:07:58 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    On 2/7/2026 1:15 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    The only conversion problem that I am worried about is that I have
    Fortran 66 interpreter built into my software for my customers to write
    custom calculations embedded in their datasets attached to any type of
    object. I will need to write a converter for the F66 format statements
    to C formats.

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    But the F66 interpreter in Aspen was a close second; IIRC, it was
    not even possible to declare variables. Argh.
    ...

    Huh, that does not make sense. One needs variables to decomplicate
    complex calculations. We even support common blocks in our F66
    interpreter user code so that variables can be stored from one iteration
    to the next.

    You could use them via implicit typing, but you could not declare
    them. So, REAL A did not work (DIMENSION probably did).

    Actually, the way I used them was mainly for a colleague who had
    zero Fortran experience, and I got a few needed routines running.
    More than 10 years ago)
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Tue Feb 10 06:10:56 2026
    From Newsgroup: comp.lang.c++

    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
    On 2/7/2026 1:15 PM, Thomas Koenig wrote:
    Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

    I haven't used your software, but I have used Aspen (only very
    little) and found it horrible. How it is possible for a solution to
    diverge when the starting solution is already converged is beyond
    me, all explanations that occur to me could be considered insults,
    so I am not toing to go into that. That was worst; I hope your
    software does better.

    [...]

    We force all loops in simulations to go through a minimum of three iterations. What appears to be converged may not be converged in reality.

    In this particular case, it is a converged solution from a prevous
    iteration, which then promptly diverges, you have to perturb it to get
    it to converge again. How Aspen gets away with this, I don't know.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Tue Feb 10 20:17:08 2026
    From Newsgroup: comp.lang.c++

    On Mon, 9 Feb 2026 15:32:10 -0600, Lynn McGuire wrote:

    We even support common blocks in our F66 interpreter user code so
    that variables can be stored from one iteration to the next.

    I expect your customers would appreciate having an extension language
    that works at a somewhat higher level than Fortran -- and an
    antediluvian version of Fortran, at that.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Tue Feb 10 20:55:45 2026
    From Newsgroup: comp.lang.c++

    On Mon, 9 Feb 2026 15:33:12 -0600, Lynn McGuire wrote:

    On 2/7/2026 2:34 PM, Lawrence DrCOOliveiro wrote:

    How do these tools compare to something like
    <https://nwchemgit.github.io>?

    That is a different world. This is me.
    https://www.winsim.com/design.html

    I noticed that it says rCLMicrosoft-< Windows-< has become the standard
    for desktop graphical computingrCY, and it seems like the text hasnrCOt
    been updated since about October 2014. I would say that assertion is
    getting a bit long in the tooth, wouldnrCOt you agree?

    I had a look around, and this popped up <https://dwsim.org/>. It
    certainly seems to have better cross-platform support.

    Also I see yourCOre listed here <https://en.wikipedia.org/wiki/List_of_chemical_process_simulators>,
    along with a bunch of other alternatives. And here <https://www.simulatelive.com/product-reviews/simulation/review-of-open-source-process-simulators>
    is a review of various open-source products (including DWSIM), which
    concludes that they lack nothing compared to the proprietary ones.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Tue Feb 10 18:57:21 2026
    From Newsgroup: comp.lang.c++

    On 2/10/2026 2:55 PM, Lawrence DrCOOliveiro wrote:
    On Mon, 9 Feb 2026 15:33:12 -0600, Lynn McGuire wrote:

    On 2/7/2026 2:34 PM, Lawrence DrCOOliveiro wrote:

    How do these tools compare to something like
    <https://nwchemgit.github.io>?

    That is a different world. This is me.
    https://www.winsim.com/design.html

    I noticed that it says rCLMicrosoft-< Windows-< has become the standard
    for desktop graphical computingrCY, and it seems like the text hasnrCOt
    been updated since about October 2014. I would say that assertion is
    getting a bit long in the tooth, wouldnrCOt you agree?

    I had a look around, and this popped up <https://dwsim.org/>. It
    certainly seems to have better cross-platform support.

    It is very hard to compete with the price of free.

    Also I see yourCOre listed here <https://en.wikipedia.org/wiki/List_of_chemical_process_simulators>,
    along with a bunch of other alternatives. And here <https://www.simulatelive.com/product-reviews/simulation/review-of-open-source-process-simulators>
    is a review of various open-source products (including DWSIM), which concludes that they lack nothing compared to the proprietary ones.

    We have quite a few features that they do not have but that is for
    another day. DWSIM has a very loyal following and many of them
    participate in the programming of new features.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Tue Feb 10 20:07:37 2026
    From Newsgroup: comp.lang.c++

    On 2/10/2026 2:17 PM, Lawrence DrCOOliveiro wrote:
    On Mon, 9 Feb 2026 15:32:10 -0600, Lynn McGuire wrote:

    We even support common blocks in our F66 interpreter user code so
    that variables can be stored from one iteration to the next.

    I expect your customers would appreciate having an extension language
    that works at a somewhat higher level than Fortran -- and an
    antediluvian version of Fortran, at that.

    an-+te-+di-+lu-+vi-+an
    /-ian(t)-od+O-elo-Rov-o+On,-ian(t)+Od-2-elo-Rov-o+On/
    adjective
    adjective: antediluvian
    of or belonging to the time before the biblical Flood.

    One of my long term goals is to support a Basic interpreter in my
    calculation engine. But, I have many long term goals.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Wed Feb 11 05:54:35 2026
    From Newsgroup: comp.lang.c++

    On Tue, 10 Feb 2026 20:07:37 -0600, Lynn McGuire wrote:

    One of my long term goals is to support a Basic interpreter in my calculation engine.

    Gosh. That would take you up to the Middle Ages.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.fortran,comp.lang.c++ on Wed Feb 11 05:57:54 2026
    From Newsgroup: comp.lang.c++

    On Tue, 10 Feb 2026 18:57:21 -0600, Lynn McGuire wrote:

    It is very hard to compete with the price of free.

    Tell that to the sellers of bottled water. ;)

    DWSIM has a very loyal following and many of them participate in the programming of new features.

    ThatrCOs the way Open Source should be. Too often we see people
    complaining that some app doesnrCOt have features that they desperately
    need, so they have to go back to paid proprietary software. Completely overlooking the fact that, if they put some of that money they would
    pay the proprietary software vendor towards sponsoring the development
    of some of the features they need, the result would benefit everybody.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c++ on Wed Feb 11 14:32:27 2026
    From Newsgroup: comp.lang.c++

    On 11/02/2026 06:57, Lawrence DrCOOliveiro wrote:
    On Tue, 10 Feb 2026 18:57:21 -0600, Lynn McGuire wrote:

    It is very hard to compete with the price of free.

    Tell that to the sellers of bottled water. ;)

    DWSIM has a very loyal following and many of them participate in the
    programming of new features.

    ThatrCOs the way Open Source should be. Too often we see people
    complaining that some app doesnrCOt have features that they desperately
    need, so they have to go back to paid proprietary software. Completely overlooking the fact that, if they put some of that money they would
    pay the proprietary software vendor towards sponsoring the development
    of some of the features they need, the result would benefit everybody.

    But would that be an advantage to that user? Benefiting everybody means benefiting your competition as well. I have no idea how competitive or cooperative the users of chemical simulators is, but it is not always
    the case that "benefits everyone" is a win for the person or company
    stumping up the cash. In many markets, there is room for pure
    closed-source commercial software, pure free and open source software,
    and many combinations in between. Simplistic "everybody wins" arguments
    are rarely applicable.


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.fortran,comp.lang.c++ on Wed Feb 11 14:42:52 2026
    From Newsgroup: comp.lang.c++

    On 11/02/2026 06:54, Lawrence DrCOOliveiro wrote:
    On Tue, 10 Feb 2026 20:07:37 -0600, Lynn McGuire wrote:

    One of my long term goals is to support a Basic interpreter in my
    calculation engine.

    Gosh. That would take you up to the Middle Ages.

    Why are you being so hard on the guy? He started a thread that has had
    broad appeal and interest, and successfully pulled in participants from
    two language groups in an amicable discussion. He has been nothing but
    open and honest, discussing his company's design choices and giving
    reasons for them (whether they are good technical reasons or not).

    A Basic or Basic-like interpreter can be a very useful addition to large software. It can make it easy to write small snippets or scripts for automation purposes, and can be learned quickly and easily even by those
    with no programming experience. It's a language that has scaled from microcontrollers to mainframes. There are plenty of alternatives for
    embedded languages in software, but let the guy who knows the program,
    the code, the development team, the company, its customers, and the
    software's market pick the best choice (or choices). Stop
    second-guessing him just because you read a Wikipedia page.


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Thomas Koenig@tkoenig@netcologne.de to comp.lang.fortran,comp.lang.c++ on Wed Feb 11 20:46:00 2026
    From Newsgroup: comp.lang.c++

    David Brown <david.brown@hesbynett.no> schrieb:
    On 11/02/2026 06:57, Lawrence DrCOOliveiro wrote:
    On Tue, 10 Feb 2026 18:57:21 -0600, Lynn McGuire wrote:

    It is very hard to compete with the price of free.

    Tell that to the sellers of bottled water. ;)

    DWSIM has a very loyal following and many of them participate in the
    programming of new features.

    ThatrCOs the way Open Source should be. Too often we see people
    complaining that some app doesnrCOt have features that they desperately
    need, so they have to go back to paid proprietary software. Completely
    overlooking the fact that, if they put some of that money they would
    pay the proprietary software vendor towards sponsoring the development
    of some of the features they need, the result would benefit everybody.

    But would that be an advantage to that user? Benefiting everybody means benefiting your competition as well. I have no idea how competitive or cooperative the users of chemical simulators is, but it is not always
    the case that "benefits everyone" is a win for the person or company stumping up the cash.

    The know-how is usually in the models, not in the tools. When
    running chemical simulators, or more generally scientific/technical
    software, people are usually glad if they work for them at all.

    I have to admit that there I do not work with chemical
    simulation software. There is an equivalent that I am more
    familiar with. https://openfoam.org/ , an open source CFD
    software. (There are actually two versions of OpenFOAM, but
    that is another issue). This software is developed by a few core
    people and supported by a consortium from the chemical industry, https://openfoam.org/chemical-process-engineering/ . Each company
    pays a certain amount and can influence the work done on the
    program proportional to the money they contribute.

    OpenFOAM is a bit special because of it is script-based and has
    a fairly steep learning curve. Universities use it a lot because
    it is free of cost to them (unlike commercial programs like Ansys
    Fluent), and somebody doing a PhD also has the time to learn it,
    unlike in industry. With the licensing policies of companies like
    Ansys, which make software for universities very expensive, they
    are disconnecting themselves from their own potential user base
    of the future.


    kIn many markets, there is room for pure
    closed-source commercial software, pure free and open source software,
    and many combinations in between. Simplistic "everybody wins" arguments
    are rarely applicable.

    Very much so.
    --
    This USENET posting was made without artificial intelligence,
    artificial impertinence, artificial arrogance, artificial stupidity,
    artificial flavorings or artificial colorants.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lynn McGuire@lynnmcguire5@gmail.com to comp.lang.fortran,comp.lang.c++ on Fri Feb 13 17:21:01 2026
    From Newsgroup: comp.lang.c++

    On 2/6/2026 2:48 PM, David Jones wrote:
    Thomas Koenig wrote:

    Radey Shouman <shouman@comcast.net> schrieb:

    The size of the integer type was specified to be the same as the
    size of the real type. The real type need not be 32-bit floating
    point, but that is certainly the way to bet.

    A famous counter-example: Cray's 64-bit REALs.

    And the Univac's 36 bit reals.

    I miss the Univac 1108 36 bit reals and integers. They were perfect for
    1 ppm (1e-6) calculations, good for most of our calculations.
    Unfortunately, we had to walk away from the Univac 1108 in 1981 ? due to
    its 1 megaword addressing limit. We had already moved to a Prime 450 in
    1977 and a Prime 750 in 1980 ? for our software development.

    Double precision in 64 bit reals takes you to 1e-15 calculations
    generally. That is actually a problem for some iterative calculations
    as the delta variable goes too small and must be tested for routinely.

    Lynn

    --- Synchronet 3.21b-Linux NewsLink 1.2