amszmidt, to random
@amszmidt@mastodon.social avatar

Random pondering about sustainable software, and operating systems like Project Oberon, Forth, Smalltalk, and the Lisp Machines .. Systems that a single individual can maintain (maybe not write ...)

firefly,
@firefly@neon.nightbulb.net avatar

@screwtape

For your low-level and optimized things:
Blackbox Component Pascal
https://blackboxframework.org/

For scripting with a fast interpreter, which can also compile to optimized machine code:
Open Euphoria
https://openeuphoria.org/

abucci, to ProgrammingLanguages
@abucci@buc.ci avatar

A weird thing about being 50 is that there are programming languages that I've used regularly for longer than some of the software developers I work with have been alive. I first wrote BASIC code in the 1980s. The first time I wrote an expression evaluator--a fairly standard programming puzzle or homework--was in 1990. I wrote it in Pascal for an undergraduate homework assignment. I first wrote perl in the early 1990s, when it was still perl 4.036 (5.38.2 now). I first wrote java in 1995-ish, when it was still java 1.0 (1.21 now). I first wrote scala, which I still use for most things today, in 2013-ish, when it was still scala 2.8 (3.4.0 now). At various times I've been "fluent" in 8086 assembly, BASIC, C, Pascal, perl, python, java, scala; and passable in LISP/Scheme, Prolog, old school Mathematica, (early days) Objective C, matlab/octave, and R. I've written a few lines of Fortran and more than a few lines of COBOL that I ran in a production system once. I could probably write a bit of Haskell if pressed but for some reason I really dislike its syntax so I've never been enthusiastic about learning it well. I've experimented with Clean, Flix, Curry, Unison, Factor, and Joy and learned bits and pieces of each of those. I'm trying to decide whether I should try learning Idris, Agda, and/or Lean. I'm pretty sure I'm forgetting a few languages. Bit of 6502 assembly long ago. Bit of Unix/Linux shell scripting languages (old enough to have lived and breathed tcsh before switching to bash; I use fish now mostly).

When I say passable: in graduate school I wrote a Prolog interpreter in java (including parsing source code or REPL input), within which I could run the classic examples like append or (very simple) symbolic differentiation/integration. As an undergraduate I wrote a Mathematica program to solve the word recognition problem for context-free formal languages. But I'd need some study time to be able to write these languages again.

I don't know what the hell prompted me to reminisce about programming languages. I hope it doesn't come off as a humblebrag but rather like old guy spinning yarns. I think I've been through so many because I'm never quite happy with any one of them and because I've had a varied career that started when I was pretty young.

I guess I'm also half hoping to find people on here who have similar interests so I'm going to riddle this post with hashtags:

#C #R

chainq, to random
@chainq@mastodon.social avatar

About a month ago, I entered into a small "language contest" that was set to prove that no "newschool" language (Rust, Zig, Nim, etc) is ready to replace C in the embedded field.

The deadline was about 10 days ago, and according to the original technical evaluation criteria, my Free Pascal solution won, but got disqualified, because "we already know, Pascal could not replace C".

Programming languages rise and fall, human stupidity remains. I rest my case.

FrankauLux, to random French
@FrankauLux@mastodon.social avatar
thelastpsion, to neovim
@thelastpsion@bitbang.social avatar

Thoughts on 3 months of usage (in ):

  • Easy to pick up and read
  • Good libraries
  • Generics
  • No closures
  • Binaries aren't small
  • LSP (pasls) isn't complete, but better than nothing; + really help
  • Docs are frustrating
  • Good forums/community
  • Targets SO MANY platforms (, 32-bit , , , )! More than Rust, Go
  • A lot of historic books and projects

Would I use again? Absolutely yes, without doubt.

amoroso, to books
@amoroso@fosstodon.org avatar

I posted a review of the book "Recursion via Pascal" by Jeffrey S. Rohl (1984), an overlooked little gem I recently discovered. It's one of the few books entirely devoted to recursion which, as a Lisper, gets me interested.

https://journal.paoloamoroso.com/reading-recursion-via-pascal

meanmicio, to random
@meanmicio@todon.eu avatar

With the passing of Niklaus Wirth this January, I wanted to pay him a tribute, but I could not find my book (Oh! Pascal! - 1985) ..... Finally, I found it and it made my day :anarchoheart2:
A beautiful book for a beautiful language that was an inspiration for many of us. Thank you, Niklaus. This is to you ❤️

bread80, to random
@bread80@mstdn.social avatar

I apologise for not posting this earlier.

is now alive! (At least Conway's variant of alive). The initial version was slow - about four seconds per generation. It was multiplying coordinates for each cell read and write.

The second variant uses offsets into each liner buffer, and only redraws changed cells. It's now running at three to four generations per second.

The next generation of the glider.

mo8it, to random
@mo8it@fosstodon.org avatar

Pascal who?

praetor, to tech
@praetor@social.sdf.org avatar

Ooo. Company just called I applied for.
Them: We'd like to get you into a round of interviews!
Me: GREAT! How many interviews?
Them: There are six
Me: Oh, Three interviews are my max.
Them: frustrated You don't get to decide that.
Me: Oh, but I DO. click
Back to programming :) Fight back bros! Fight back.

RetroFunPL, to random
@RetroFunPL@8bit.red avatar
olimex, to 8bit
@olimex@mastodon.social avatar

Neo6502 open source hardware modern retro computer now have TaliForth ported. Also there is very nice Norton Commander like ZionCommander written in Pascal So now we got now: Assembler, Pascal, Forth, NeoBasic, CP/M-65 !

image/png

itnewsbot, to Software
@itnewsbot@schleuss.online avatar

Niklaus Wirth, Visionary Software Architect, Dies at 89 - Pascal, the programming language he created in the early days of personal computing, offe... - https://www.nytimes.com/2024/02/22/technology/niklaus-wirth-dead.html (1934-2024) (obituaries)

nail7, to pixelart
@nail7@mastodon.social avatar

Niklaus Wirth, computer scientist and father of the Pascal programming language, sadly passed away on January 1st this year, less than 2 months short of what would've been his 90th birthday today.

itnewsbot, to retrocomputing
@itnewsbot@schleuss.online avatar

Developing In Pascal On The Commodore 64 With Abacus Super Pascal 64 - Abacus Super Pascal 64 for the Commodore 64.
Most people associate the Commodore 6... - https://hackaday.com/2024/02/14/developing-in-pascal-on-the-commodore-64-with-abacus-super-pascal-64/

olimex, to 8bit
@olimex@mastodon.social avatar
w84death, to bbs
@w84death@fosstodon.org avatar

Saturnday is for BBS coding :)

image/jpeg

psychotimmy, to retrocomputing
@psychotimmy@mastodon.online avatar
SciPasTips, to random
@SciPasTips@fosstodon.org avatar

The Apple Macintosh has turned 40. Originally, it was a machine, and has been developed to evolve its revolutionary operating system.

Mac SE with source code in THINK Pascal.

jbzfn, to random
@jbzfn@mastodon.social avatar
lefebvre, to VintageOSes
@lefebvre@hachyderm.io avatar
troi, to design
@troi@techhub.social avatar

several good bits here, I note this as one key for me

I know Wirth was horrified by the repulsive syntax choices of today's dominant languages; he could never accept that a = b should mean something different from b = a, or that a = a + 1 should even be considered meaningful. The folly of straying away from conventions of mathematics carefully refined over several centuries (for example by distorting "=" to mean assignment and resorting to a special symbol for equality, rather than the obviously better reverse) depressed him. I remain convinced that the community will eventually come back to its senses and start treating language design seriously again.

https://m-cacm.acm.org/blogs/blog-cacm/279178-niklaus-wirth-or-the-importance-of-being-simple/fulltext

thelastpsion, to random
@thelastpsion@bitbang.social avatar

"Modern Introduction for Programmers"

https://castle-engine.io/modern_pascal

Thank you to @rvr for sending me this. I've had a quick read through and it looks to be exactly what I need. Especially the section "7.2. Containers (lists, dictionaries) using generics".

thelastpsion, to neovim
@thelastpsion@bitbang.social avatar

It's taken me a couple of hours to get an for working in on Linux, but we're there!

I will document this (I need to do it again for the laptop), but in short:

  • Install Lazarus 3.0.0 beta
  • Get latest Lazarus trunk source
  • git clone the LSP source
  • Fix an issue with LSP source that's in an unmerged pull request
  • Build the LSP as per README
  • Set a couple of env variables
  • Copy the pasls binary to your path
  • Add zero-lsp.nvim plugin
  • enable pasls in zero-lsp config
thelastpsion,
@thelastpsion@bitbang.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • ngwrru68w68
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • slotface
  • everett
  • vwfavf
  • kavyap
  • provamag3
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • tacticalgear
  • InstantRegret
  • cisconetworking
  • cubers
  • tester
  • anitta
  • modclub
  • Leos
  • normalnudes
  • JUstTest
  • All magazines