News for hackers. Stuff that matters.
Re:Modula-2 Compilers on CP/M by xioxox on Tuesday September 13, 2022 @06:54AM (#32822679)
A nice journey back to starting programming for me. On my PCW Amstrad computer, I wanted something a bit faster than the Mallard BASIC and Logo that came with it. I tried some Pascal compiler that only compiled to slow interpreted P-code. FTL Modula 2 was much faster and had quite a nice programming environment. I also did some Z80 assembly programming, but that was time consuming for a full program. Later I ported my Modula 2 code a MSDOS compiler when I moved to a 386SX PC.
Re:Modula-2 Compilers on CP/M by shrubble on Tuesday September 13, 2022 @08:48AM (#32823570)
FWIW Modula-2 is now available for GCC, which means that Modula-2 can compile for every architecture that GCC supports. On Debian derived distros look for gm2-version e.g. gm2-10 gets you GCC 10.x based compiler.
Re:Modula-2 Compilers on CP/M by pjmlp on Tuesday September 13, 2022 @10:58AM (#32825132)
What is the story regarding the integration as part of the front-end collection?

It seemed to have been targeted to GCC 12, then no more updates happened.

Re:Modula-2 Compilers on CP/M by shrubble on Tuesday September 13, 2022 @07:50PM (#32831597)
I would suggest asking on the mailing list. I don't know much about the process, I'm afraid.

My Linux distro had gm2-10 and I have installed that and have been playing with it.

Re:Modula-2 Compilers on CP/M by mhd on Tuesday September 13, 2022 @07:51AM (#32823087)
Sometimes I wish Borland wouldn't have been so successful with TP/Delphi, because a popular Modula-2 might have outlived the company's gruesome death.
Re:Modula-2 Compilers on CP/M by jqpabc123 on Tuesday September 13, 2022 @08:24AM (#32823382)
TP/Delphi outlived the company's death. Delphi is still available for purchase and FreePascal is an open alternative.

The real problem is lack of mindshare among corporate organizations doing large projects. Without this, it will remain a hobbyist niche.

Re:Modula-2 Compilers on CP/M by mhd on Tuesday September 13, 2022 @10:36AM (#32824820)
It's more the other way 'round, as Idera only cares for big corporate customers (cf. Sencha). And FP/Lazarus was a bit late to the party.

Mindshare is easily lost and nigh impossible to regain.

Re:Modula-2 Compilers on CP/M by OnlyMortal on Tuesday September 13, 2022 @10:28AM (#32824713)
JPI Modula 2 was like TP, if memory from the late 1980s is correct.
Re:Modula-2 Compilers on CP/M by kpatrick on Tuesday September 13, 2022 @03:08PM (#32828874)
Both Pascal and Modula 2 (and Oberon) were designed by the same person.