• Re: Fun: Object Pascal on VMS

    From Chris Townley@21:1/5 to All on Wed Sep 4 13:14:18 2024
    On 04/09/2024 01:34, Arne Vajhøj wrote:
    On 9/3/2024 8:22 PM, bill wrote:
    On 9/3/2024 6:27 PM, Craig A. Berry wrote:
    Has anyone actually tried porting FPC to VMS?  It looks at first glance >>> like a lot of it is written in Pascal, so I assume it would need to be
    cross-compiled initially.

    Why?  Wasn't the VMS Pascal compiler ported?  I would think it
    would be a lot easier porting something written in Pascal
    compared to something written in C.

    If FPC source is ISO Pascal then VMS Pascal may be able to build it
    with maybe a few tweaks.

    But if the FPC source is Object Pascal then VMS Pascal is of no use.

    A quick glance at https://github.com/fpc/FPCSource/screams Object Pascal.

    Arne


    I see that FPC are planning LLVM back-end support...

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Dave Froble on Wed Sep 4 18:07:47 2024
    On 2024-09-03, Dave Froble <davef@tsoft-inc.com> wrote:
    On 9/3/2024 8:35 PM, bill wrote:
    On 9/3/2024 8:34 PM, Arne Vajh°j wrote:
    On 9/3/2024 8:22 PM, bill wrote:
    On 9/3/2024 6:27 PM, Craig A. Berry wrote:
    Has anyone actually tried porting FPC to VMS? It looks at first glance >>>>> like a lot of it is written in Pascal, so I assume it would need to be >>>>> cross-compiled initially.

    Why? Wasn't the VMS Pascal compiler ported? I would think it
    would be a lot easier porting something written in Pascal
    compared to something written in C.

    If FPC source is ISO Pascal then VMS Pascal may be able to build it
    with maybe a few tweaks.

    But if the FPC source is Object Pascal then VMS Pascal is of no use.

    A quick glance at https://github.com/fpc/FPCSource/screams Object Pascal. >>>

    So, that OO shit comes out to bite people on the ass yet again. :-)


    Some like to forget, at the bottom, it is just ones and zeros ...


    You can write entire applications and operating systems in assembly
    language if you wish. Nobody sane does that these days because
    higher-level procedural languages have abstractions that make the
    writing of these programs/environments much easier and far more reliable.

    Likewise, OO languages, when used properly, are an even higher level
    of abstraction over procedural languages.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to bill on Wed Sep 4 15:07:33 2024
    On 9/3/2024 8:35 PM, bill wrote:
    On 9/3/2024 8:34 PM, Arne Vajhøj wrote:
    On 9/3/2024 8:22 PM, bill wrote:
    On 9/3/2024 6:27 PM, Craig A. Berry wrote:
    Has anyone actually tried porting FPC to VMS?  It looks at first glance >>>> like a lot of it is written in Pascal, so I assume it would need to be >>>> cross-compiled initially.

    Why?  Wasn't the VMS Pascal compiler ported?  I would think it
    would be a lot easier porting something written in Pascal
    compared to something written in C.

    If FPC source is ISO Pascal then VMS Pascal may be able to build it
    with maybe a few tweaks.

    But if the FPC source is Object Pascal then VMS Pascal is of no use.

    A quick glance at https://github.com/fpc/FPCSource/ screams Object Pascal.

    So, that OO shit comes out to bite people on the ass yet again.  :-)

    The other side of the coin says "the lack up of OO support
    comes out to bite people on the ass yet again".

    :-)

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Chris Townley on Wed Sep 4 15:10:49 2024
    On 9/4/2024 8:14 AM, Chris Townley wrote:
    On 04/09/2024 01:34, Arne Vajhøj wrote:
    On 9/3/2024 8:22 PM, bill wrote:
    On 9/3/2024 6:27 PM, Craig A. Berry wrote:
    Has anyone actually tried porting FPC to VMS?  It looks at first glance >>>> like a lot of it is written in Pascal, so I assume it would need to be >>>> cross-compiled initially.

    Why?  Wasn't the VMS Pascal compiler ported?  I would think it
    would be a lot easier porting something written in Pascal
    compared to something written in C.

    If FPC source is ISO Pascal then VMS Pascal may be able to build it
    with maybe a few tweaks.

    But if the FPC source is Object Pascal then VMS Pascal is of no use.

    A quick glance at https://github.com/fpc/FPCSource/screams Object Pascal.

    I see that FPC are planning LLVM back-end support...

    That could potentially help a bit with the hypothetical VMS port.

    It will definitely help with the optimization of the code generated
    by FPC. It is significantly worse than what GCC/LLVM/MSVC++.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Dave Froble on Wed Sep 4 15:30:28 2024
    On 9/3/2024 10:48 PM, Dave Froble wrote:
    On 9/3/2024 2:02 PM, Simon Clubley wrote:
    BTW, about portability, the Free Pascal people say this on their website:

    |Free Pascal is a mature, versatile, open source Pascal compiler. It
    |can target many processor architectures: Intel x86 (16 and 32 bit),
    |AMD64/x86-64, PowerPC, PowerPC64, SPARC, SPARC64, ARM, AArch64, MIPS,
    |Motorola 68k, AVR, and the JVM. Supported operating systems include
    |Windows (16/32/64 bit, CE, and native NT), Linux, Mac OS
    |X/iOS/iPhoneSimulator/Darwin, FreeBSD and other BSD flavors, DOS (16
    |bit, or 32 bit DPMI), OS/2, AIX, Android, Haiku, Nintendo GBA/DS/Wii,
    |AmigaOS, MorphOS, AROS, Atari TOS, and various embedded platforms.
    |Additionally, support for RISC-V (32/64), Xtensa, and Z80
    |architectures, and for the LLVM compiler infrastructure is available
    |in the development version. Additionally, the Free Pascal team
    |maintains a transpiler for pascal to Javascript called pas2js.

    No VMS however.

    Seems as if thoswe people aren't as "open" as they think they are.  If
    the world is mainly WEENDOZE and Unix and derivatives perhaps.

    They cover like 95% of the server market, 99% of the desktop
    market and 99% of the mobile device market for development and
    like 3 times 99% for runtime (z/OS, i and VMS all has JVM available).

    Not so bad.

    But anyone finding that some important platform is missing are free
    to port to that platform.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Dave Froble on Wed Sep 4 15:29:23 2024
    On 9/3/2024 10:48 PM, Dave Froble wrote:
    On 9/3/2024 2:02 PM, Simon Clubley wrote:
    On 2024-09-03, Dave Froble <davef@tsoft-inc.com> wrote:
    As for VMS and Pascal, there is a very decent implementation of that
    language on
    VMS, so what's the problem when a product aimed at a different
    environment will
    not run on every environment.

    So how capable are the OO features in VMS Pascal these days ?

    You state that similar to my comment above, as if it is a given that OO
    is necessary.  Perhaps not.  Cheap way to avoid my question.

    If you write OS kernel or an embedded application for a device counting
    memory in KB (or maybe a few MB): it is not necessary.

    For most everything else: it is necessary - most developers expect OO
    features to be available.

    Languages with OO support are dominant in the industry. Of the seven
    most widely used languages today (Python, JavaScript, Java, C, C++,
    C# and PHP) only one (C) does not have OO support.

    And OO does provide value at least for larger applications. The
    encapsulation and abstraction makes life a lot easier for larger
    applications.

    As any feature then OO can and has been misused though. A lot of
    "early 90's style" C++ code demonstrate that.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Wed Sep 4 21:38:45 2024
    On Wed, 4 Sep 2024 15:10:49 -0400, Arne Vajhøj wrote:

    [LLVM] will definitely help with the optimization of the code generated
    by FPC. It is significantly worse than what GCC/LLVM/MSVC++.

    Also, I came across this project called QBE <https://c9x.me/compile/>.
    It’s nowhere near as ambitious as LLVM, but it looks interesting for some smaller-scale uses.

    There’s a standard Debian package available. Also, it doesn’t insist on strict SSA. ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Lawrence D'Oliveiro on Thu Sep 5 12:10:12 2024
    On 2024-09-04, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Wed, 4 Sep 2024 15:10:49 -0400, Arne Vajh°j wrote:

    [LLVM] will definitely help with the optimization of the code generated
    by FPC. It is significantly worse than what GCC/LLVM/MSVC++.

    Also, I came across this project called QBE <https://c9x.me/compile/>.
    It?s nowhere near as ambitious as LLVM, but it looks interesting for some smaller-scale uses.

    There?s a standard Debian package available. Also, it doesn?t insist on strict SSA. ;)

    Looks interesting, but it only has a limited number of backends and
    they are all 64-bit.

    I am always looking for a much lighter version of LLVM but it needs
    to have a good range of backends available, including the 32-bit
    architectures.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Fri Sep 6 19:35:19 2024
    On 9/6/2024 7:31 PM, Lawrence D'Oliveiro wrote:
    On Tue, 3 Sep 2024 22:36:02 -0400, Arne Vajhøj wrote:
    And to be clear then this work would have to be driven by fondness for
    Pascal. There is no business case.

    Back in the day, there was DECUS -- an active community of users creating/ adapting and collecting software for DEC systems, for each other to use.

    Where is that now?

    The artifacts from back then still exist.

    https://www.digiater.nl/openvms/decus/

    The number of VMS users has decreased since then.

    The numbers of VMS users actively contributing has
    decreased even more since then.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Fri Sep 6 23:31:37 2024
    On Tue, 3 Sep 2024 22:36:02 -0400, Arne Vajhøj wrote:

    And to be clear then this work would have to be driven by fondness for Pascal. There is no business case.

    Back in the day, there was DECUS -- an active community of users creating/ adapting and collecting software for DEC systems, for each other to use.

    Where is that now?

    If VSI or someone else want to port something on a commercial basis then
    I think the priority list should be:

    1) .NET with C#, F# and VB.NET

    Dotnet never seemed more than a Microsoft corporate vanity project (a
    reaction to Sun’s lawsuit over Java), rather than an actual important technology. Microsoft themselves have never used it for anything strategic (e.g. Office); their one attempt to incorporate it deeply into the OS
    (Vista) ended in failure.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Fri Sep 6 19:38:58 2024
    On 9/6/2024 7:31 PM, Lawrence D'Oliveiro wrote:
    On Tue, 3 Sep 2024 22:36:02 -0400, Arne Vajhøj wrote:
    If VSI or someone else want to port something on a commercial basis then
    I think the priority list should be:

    1) .NET with C#, F# and VB.NET

    Dotnet never seemed more than a Microsoft corporate vanity project (a reaction to Sun’s lawsuit over Java), rather than an actual important technology. Microsoft themselves have never used it for anything strategic (e.g. Office); their one attempt to incorporate it deeply into the OS
    (Vista) ended in failure.

    When you last posted this (August 5th) I gave you a list of MS
    stuff known to be using .NET.

    A bit weird to repost again after that.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Dave Froble on Fri Sep 6 20:30:33 2024
    On 9/6/2024 8:19 PM, Dave Froble wrote:
    On 9/4/2024 3:29 PM, Arne Vajhøj wrote:
    On 9/3/2024 10:48 PM, Dave Froble wrote:
    On 9/3/2024 2:02 PM, Simon Clubley wrote:
    On 2024-09-03, Dave Froble <davef@tsoft-inc.com> wrote:
    As for VMS and Pascal, there is a very decent implementation of that >>>>> language on
    VMS, so what's the problem when a product aimed at a different
    environment will
    not run on every environment.

    So how capable are the OO features in VMS Pascal these days ?

    You state that similar to my comment above, as if it is a given that
    OO is
    necessary.  Perhaps not.  Cheap way to avoid my question.

    If you write OS kernel or an embedded application for a device counting
    memory in KB (or maybe a few MB): it is not necessary.

    Ok, your word, "necessary".

    Explain to me why OO is necessary ...

    Not that it may be useful, or desired.  You wrote "necessary".

    They relate.

    If the customers consider a feature so useful/desired that it
    influence their product choice, then it becomes business necessary
    for the vendor to add that feature.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave Froble@21:1/5 to All on Fri Sep 6 20:19:19 2024
    On 9/4/2024 3:29 PM, Arne Vajhøj wrote:
    On 9/3/2024 10:48 PM, Dave Froble wrote:
    On 9/3/2024 2:02 PM, Simon Clubley wrote:
    On 2024-09-03, Dave Froble <davef@tsoft-inc.com> wrote:
    As for VMS and Pascal, there is a very decent implementation of that
    language on
    VMS, so what's the problem when a product aimed at a different environment will
    not run on every environment.

    So how capable are the OO features in VMS Pascal these days ?

    You state that similar to my comment above, as if it is a given that OO is >> necessary. Perhaps not. Cheap way to avoid my question.

    If you write OS kernel or an embedded application for a device counting memory in KB (or maybe a few MB): it is not necessary.

    Ok, your word, "necessary".

    Explain to me why OO is necessary ...

    Not that it may be useful, or desired. You wrote "necessary".


    --
    David Froble Tel: 724-529-0450
    Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
    DFE Ultralights, Inc.
    170 Grimplin Road
    Vanderbilt, PA 15486

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave Froble@21:1/5 to bill on Fri Sep 6 22:27:57 2024
    On 9/6/2024 9:13 PM, bill wrote:
    On 9/6/2024 8:19 PM, Dave Froble wrote:
    On 9/4/2024 3:29 PM, Arne Vajhøj wrote:
    On 9/3/2024 10:48 PM, Dave Froble wrote:
    On 9/3/2024 2:02 PM, Simon Clubley wrote:
    On 2024-09-03, Dave Froble <davef@tsoft-inc.com> wrote:
    As for VMS and Pascal, there is a very decent implementation of that >>>>>> language on
    VMS, so what's the problem when a product aimed at a different environment
    will
    not run on every environment.

    So how capable are the OO features in VMS Pascal these days ?

    You state that similar to my comment above, as if it is a given that OO is >>>> necessary. Perhaps not. Cheap way to avoid my question.

    If you write OS kernel or an embedded application for a device counting
    memory in KB (or maybe a few MB): it is not necessary.

    Ok, your word, "necessary".

    Explain to me why OO is necessary ...

    Not that it may be useful, or desired. You wrote "necessary".



    Dave, you're wasting your time. The COBOL world asked that
    question and look what they did to them. :-)

    bill


    Still, someone has to mention it.

    --
    David Froble Tel: 724-529-0450
    Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
    DFE Ultralights, Inc.
    170 Grimplin Road
    Vanderbilt, PA 15486

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)