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

abucci,
@abucci@buc.ci avatar

@BoydStephenSmithJr How do you find using Haskell in a work setting? I always feel like I'm under time pressure and don't have as much as I would like to think through a design. I'm never satisfied with my Scala code for that reason and I feel like it'd feel even worse with Haskell since it's so much more concise.

Am not familiar with GMDTT, will have to check that out! So many things to learn 🤯

BoydStephenSmithJr,
@BoydStephenSmithJr@hachyderm.io avatar

@abucci This is my second Haskell job and I'm sure things will depend on the organization around you, but I just do the first thing that I can think of that "will work", make it as simple / concrete / specialized as possible until I have something that compiles without warnings, and only then do I let myself generalize / abstract things. Try to stick documentation on all new top-level bindings while my motivation is fresh, and allow myself to rewrite later.

YMMV, HTH

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 #ObjectPascal #FreePascal usage (in #NeoVim):

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

Would I use #Pascal again? Absolutely yes, without doubt.

nivrig,
@nivrig@mastodon.social avatar

@thelastpsion I did always like Modula-2.

tetrislife,

@thelastpsion cool! I haven't used it much instead of C++ but it is great that it doesn't depend on a complicated compiler like #GCC or #LLVM and still does quite well.

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

alexmu,

@amoroso that CUP series on CS has some interesting titles. I recently got "Computer Mathematics" by Cooke and Bez from that series, which is a discrete maths book with a slightly idiosyncratic (but interesting) selection of topics.

amoroso,
@amoroso@fosstodon.org avatar

@alexmu I love those old computer science books.

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.

RetroFunPL,

@bread80
i never realized Quiche has so few semicolons

bread80,
@bread80@mstdn.social avatar

@RetroFunPL The syntax isn’t fully formed yet, but semicolons will be optional. It will use line endings as end of statement markers instead. Code can be split across lines either with an explicit \ character or if it ends with an incomplete expression.

One of a couple of features I’m taking from Ruby. A language which, mostly, makes very sensible choices.

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.

ashleyspencer,
@ashleyspencer@autistics.life avatar

@praetor I forget what book it was, but they did a study on companies that had easier hiring processes vs long complicated ones. The ones with long hiring processes had higher turnover than the companies with the quicker hiring.

Cassandra,
@Cassandra@autistics.life avatar

@praetor Nice. I also fantasize about potential employees demanding to be compensated for every minute spent on the interview process. A great uprising of workers setting the precedent that their time matters.

RetroFunPL, to random
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 #neo6502 #6502 #retrocomputing #pascal #retrogaming So now we got now: Assembler, Pascal, Forth, NeoBasic, CP/M-65 !

image/png

itnewsbot, to Software

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 #wirthniklaus(1934-2024) #computersandtheinternet #logitechinternationalsa #scienceandtechnology #deaths(obituaries) #software #pascal

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

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
  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • rosin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • kavyap
  • DreamBathrooms
  • JUstTest
  • khanakhh
  • ethstaker
  • cubers
  • normalnudes
  • tester
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • megavids
  • provamag3
  • Leos
  • modclub
  • lostlight
  • All magazines