home.social

#modula2 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #modula2, aggregated by home.social.

fetched live
  1. @CGM I never heard of #SASL! I have always been a huge #Wirth fan. Did tons of real-life work in #Pascal, moved through #Modula2 up to, finally, #Oberon2. Had such fond memories of it that I tried to use it last year for #AdventOfCode and learned that it was not nearly as good as I remembered. Have you tried #Racket (a kind of #Scheme)? It’s not for me but it’s interesting. Used it in a job interview once. Your description of how flow control is defined in #TCL really reminds me of Racket. I’m learning #RustLang and having the kind of #Macros you get in #Lisp and Scheme is another reason Rust is so enjoyable.

  2. @CGM I never heard of #SASL! I have always been a huge #Wirth fan. Did tons of real-life work in #Pascal, moved through #Modula2 up to, finally, #Oberon2. Had such fond memories of it that I tried to use it last year for #AdventOfCode and learned that it was not nearly as good as I remembered. Have you tried #Racket (a kind of #Scheme)? It’s not for me but it’s interesting. Used it in a job interview once. Your description of how flow control is defined in #TCL really reminds me of Racket. I’m learning #RustLang and having the kind of #Macros you get in #Lisp and Scheme is another reason Rust is so enjoyable.

  3. 🚫🔒 "Lilith and Modula-2" – It seems our intrepid explorer is lost in the digital desert, only to find a 403 mirage. Maybe next time, they'll remember the secret handshake to enter the super-exclusive, ultra-nerdy club of server access. 🤷‍♂️💻
    astrobe.com/Modula2/ #Lilith #Modula2 #403Error #DigitalDesert #ServerAccess #HackerNews #ngated

  4. 🚫🔒 "Lilith and Modula-2" – It seems our intrepid explorer is lost in the digital desert, only to find a 403 mirage. Maybe next time, they'll remember the secret handshake to enter the super-exclusive, ultra-nerdy club of server access. 🤷‍♂️💻
    astrobe.com/Modula2/ #Lilith #Modula2 #403Error #DigitalDesert #ServerAccess #HackerNews #ngated

  5. Better late than never: The (German) documentation for Megamax Modula-2 (for Atari ST systems) is now available in PDF format, too.

    tempel.org/files-e.html

    #modula2 #atarist

  6. Better late than never: The (German) documentation for Megamax Modula-2 (for Atari ST systems) is now available in PDF format, too.

    tempel.org/files-e.html

    #modula2 #atarist

  7. I was listening to an old #oxide podcast about #Rust and our individual perception of beauty related to computer languages.

    Well, my personal beautiful languages are #modula2 and #objective_c. #Swift was about to classify as such, but took a wrong turn and followed the rocky path of C++ 😒

  8. I was listening to an old #oxide podcast about #Rust and our individual perception of beauty related to computer languages.

    Well, my personal beautiful languages are #modula2 and #objective_c. #Swift was about to classify as such, but took a wrong turn and followed the rocky path of C++ 😒

  9. Thanks to Marc Poulhiès, @thesamesam and @mjw there is now a GCC full languages (C, C++, Ada, D, Fortran, Go, Modula2, Objective-C, Objective-C++, Rust and LTO plus libjit) with --enable-checking=yes,extra,rtl CI builder for builder.sourceware.org

    builder.sourceware.org/buildbo

    It does a bootstrap and runs all testsuites in about 2 hours, every 3 hours. All test results end up in bunsen.

    , , ++, , , , , , ++, , ,

  10. Ich bin beim Aufräumen und habe heute die Handbücher von Megamax #Modula2 und #Signum für den #Atari #ST entsorgt.
    Mit Signum hatte ich meine
    #Diplomarbeit geschrieben.
    Irgendwie schade, aber das liegt ja nun wirklich schon 35 Jahre ungenutzt bei mir rum und ist schon dreimal mit umgezogen.

  11. Ich bin beim Aufräumen und habe heute die Handbücher von Megamax #Modula2 und #Signum für den #Atari #ST entsorgt.
    Mit Signum hatte ich meine
    #Diplomarbeit geschrieben.
    Irgendwie schade, aber das liegt ja nun wirklich schon 35 Jahre ungenutzt bei mir rum und ist schon dreimal mit umgezogen.

  12. Going through the basement boxes, I found the binder for Video Tools and discovered the disk was still in the folder.

    I wrote these tools in #Modula2 for the Commodore Amiga. One of the handful of contract programming jobs I ever took on.

  13. Still playing with Modula-2. I now have a copy of Wirth's 3rd edition to help me.

    The Pos implementation in the FTL 1.30 CP/M compiler is horribly slow if the substring being checked is longer than the string it's being checked against.

    My solution for day1, part 2 of 2023's #AdventOfCode illustrates this nicely. There's a 30% speedup in execution time if you check for this condition before calling Pos, even though it needs additional calls to Length.

    Fascinating!

    #RetroComputing #Modula2

  14. Still playing with Modula-2. I now have a copy of Wirth's 3rd edition to help me.

    The Pos implementation in the FTL 1.30 CP/M compiler is horribly slow if the substring being checked is longer than the string it's being checked against.

    My solution for day1, part 2 of 2023's #AdventOfCode illustrates this nicely. There's a 30% speedup in execution time if you check for this condition before calling Pos, even though it needs additional calls to Length.

    Fascinating!

    #RetroComputing #Modula2

  15. Carrying on with my Modula-2 experiments. Managed to get Advent of Code 2023 Day 1, part 1 working before it was time for dinner. I'm not really grabbed by Modula-2 so far - it seems to have all of the things in it that I used to loathe about Ada, but without many of the positives. Oh well - I will carry on for a few more sessions and then perhaps start playing with Fortran90 - unless there's an epiphany forthcoming!

    github.com/psychotimmy/aoc2023

    #RetroComputing #Modula2 #AdventOfCode

  16. Carrying on with my Modula-2 experiments. Managed to get Advent of Code 2023 Day 1, part 1 working before it was time for dinner. I'm not really grabbed by Modula-2 so far - it seems to have all of the things in it that I used to loathe about Ada, but without many of the positives. Oh well - I will carry on for a few more sessions and then perhaps start playing with Fortran90 - unless there's an epiphany forthcoming!

    github.com/psychotimmy/aoc2023

    #RetroComputing #Modula2 #AdventOfCode

  17. Finally got a prime number generator working on FTL Modula-2 for CP/M today!

    github.com/psychotimmy/RC2014

    There seems to be some oddities in the compiler - especially when trying to combine a number of FLOAT/TRUNC and boolean comparisons into a single statement - not quite sure why at the moment. Makes the code uglier (and slower) than it needs to be.

    Starting to get the macros defined for the common keystrokes in the editor, too. I never was a fan of EMACS though ...

    #RetroComputing #Modula2

  18. Finally got a prime number generator working on FTL Modula-2 for CP/M today!

    github.com/psychotimmy/RC2014

    There seems to be some oddities in the compiler - especially when trying to combine a number of FLOAT/TRUNC and boolean comparisons into a single statement - not quite sure why at the moment. Makes the code uglier (and slower) than it needs to be.

    Starting to get the macros defined for the common keystrokes in the editor, too. I never was a fan of EMACS though ...

    #RetroComputing #Modula2

  19. Have abandoned Turbo Modula2 as I've hit the ANSI terminals bug - makes it unusable!

    "My screen displayed the editor status line on line 1 AND ON line 19 or so. When I tried to move around the text, all cursor activity takes place under line 19, and so the editor, as it stands now, is just about worthless. No page displays, no scrolling, etc. That editor
    functionality, just TP's, is the heart of the product."

    computer-programming-forum.com

    Trying the HiSoft product now ...

    #RetroComputing #Modula2

  20. Installed and working, with a "hello world" program compiled.

    It's a shame Borland abandoned Turbo Modula-2 before it ever really got going ... seeing Version 1.00 at startup never fills you with a lot of confidence!

    However, it's more successful than the current GNU Modula-2 compiler on a Raspberry Pi - which doesn't appear to work at all, sadly.

    #RetroComputing #Modula2

  21. Falling down the modula-2 rabbit hole this afternoon. No goto statement? Seems brave! (But the generic do loop and exit have much the same function I suppose). Waiting for the Borland/Echelon CP/M package to transfer over onto my RC2014 and then there'll be no stopping me! 😁

    #RetroComputing #Modula2

  22. Falling down the modula-2 rabbit hole this afternoon. No goto statement? Seems brave! (But the generic do loop and exit have much the same function I suppose). Waiting for the Borland/Echelon CP/M package to transfer over onto my RC2014 and then there'll be no stopping me! 😁

    #RetroComputing #Modula2

  23. RIP Niklaus Wirth. Pascal was my first language at University. Modula-2 the language I had to help students with when I was a TA.

    And, as PhD my first project was to formalize the static semantics of Pascal, for which I studied the “Pascal User Manual” day after day. It formed the foundation of my PhD thesis.

    #NiklausWirth #Pascal #Modula2

  24. RIP Niklaus Wirth. Pascal was my first language at University. Modula-2 the language I had to help students with when I was a TA.

    And, as PhD my first project was to formalize the static semantics of Pascal, for which I studied the “Pascal User Manual” day after day. It formed the foundation of my PhD thesis.

    #NiklausWirth #Pascal #Modula2

  25. Aus gegebenen Anlass ein kleiner Auszug aus meiner Veröffentlichungsliste:

    - Modulator 73: Dotzel/Goebel: 64 Bit Oberon for OpenVMS Alpha modulaware.com/mdlt73.htm
    - Modulator 68. Dotzel/Goebel: 64 bit addressing in Alpha Oberon-2
    modulaware.com/mdlt68.htm

    weitere Veröffentlichungen zu #Oberon2 und #Modula2: modulaware.com/mdltr_.htm

    #NiklausWirth #Oberon #Modula

  26. @EzellaGarnie Meine allererste Programmiersprache war #CBASIC, aber #Pascal kam kurz danach. Später habe ich an der Uni viel #Modula2 und auch ein bisschen #Oberon programmiert.


  27. program Goodbye;
    begin
    writeln('Goodbye, Niklaus Emil Wirth');
    writeln('February 15th 1934 - January 1st 2024.');
    end.

    R.I.P. #pascal #modula2 #oberon #AlgorithmenUndDatenstrukturen
    Via Jens Ohlig (Jens [email protected]) mastodon.xyz/@johl/11169394302

  28. RIP Niklaus Wirth. :(

    Creator of various programming languages like #modula #modula2 #oberon #oberon2 #oberon07 #pascal and more... the Oberon OS, and interesting computing hardware, such as the Lilith computer, has passed on the 1st of Jan.

    He was one of the few people who actually made the full computing stack, from a language and compiler to OS, to hardware to run it on.

    I'm hoping that re-imagining computing from the ground up like that, didn't just die with him.

  29. Thinking about Lilith and Ceres workstations. #Modula2, #Oberon