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.

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.

a13cui, to random

I am genuinely arguing that we should use and more.

C was made for assembly cosplaying as a high level language (even then, Forth is doing a better job in that aspect...). Pascal is ALGOL-68 done right so it traces its heritage back to a committee of brilliant computer scientists and Ada was made for the DoD.

Pascal figured out before C (it precedes it by 2 years) strings (yes, actual strings, not just char arrays), a well structured and strict syntax, native set operators (you can check whether an element is in a set, include, exclude elements, compare them, even intersection and union are supported!), strong type safety (some claim it's too much, but then you have Rust, so...), even OOP nowadays.

As for Ada, you have in depth defense by default (as in no implicit conversions (just like Pascal), it treats what would be equivalent types using typedef in C as totally different and gives you an error (good job Rust, you at least figured that one out...)). You also get plenty of compile-time checks and run-time checks, as well as an access-type model rather than providing low-level generic pointers (each access type is handled by a storage pool, either the default one or a custom one to allow more exotic system memory implementations like NUMA and thus you never access heap memory directly, but you have to use this storage pool manager (similar to how Zig does everything through allocators). You also don't have to worry about deciding how exactly data is passed in or out of a function/procedure call (you specify the direction of each parameter, but the ultimate decision of whether the data being passed via a register, via the heap, or as a reference will be taken by the compiler or runtime, never by the programmer). It's also the first internationally standardized OOP language with Ada 83.

jns, to random
@jns@mastodon.linkerror.com avatar

RIP Niklaus Wirth. :(

Creator of various programming languages like 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.

_newick, to random French
@_newick@toot.aquilenet.fr avatar

Mon premier langage de programmation a été le , et son créateur était génial. RIP Niklaus Wirth.

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 ❤️

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 VintageOSes
@amoroso@fosstodon.org avatar
tinfoiling, to random
@tinfoiling@cosocial.ca avatar

Sad news, Niklaus Wirth, inventor of Pascal, dies at 89. In 1979 with an Apple II+ there was Basic and then with dual 5.25 inch floppy drives (147K storage each) Pascal arrived. It was a gift to those learning computer languages. Wirth was instrumental with so many of us broadening what computers could do. It meant so much then. He is part of computer history.

https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89

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.

#ansi #ansiart #textmode #textmodeart #pixelart #fanart #bbs #demoscene #portrait #niklauswirth #computerscience #turingaward #pascal

mo8it, to random
@mo8it@fosstodon.org avatar

Pascal who?

thelastpsion, to neovim
@thelastpsion@bitbang.social avatar

It's taken me a couple of hours to get an #LSP for #Pascal working in #NeoVim 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
boredzo, to random
@boredzo@mastodon.social avatar

A feature I always appreciated as a C programmer: Its dereference operator is postfix.

In C, the dereference operator, *, is prefix. So to dereference foo, it's *foo.

Then there's member-access, which is . in both languages. For a structure foo and its member bar, you write foo.bar.

But what if foo is a pointer to a structure? In C it's (*foo).bar, or the convenience operator foo->bar. In Pascal, foo^.bar.

thelastpsion, to random
@thelastpsion@bitbang.social avatar

"Modern #ObjectPascal 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".

#FreePascal #Pascal

vivdunstan, to Software
@vivdunstan@mastodon.scot avatar
psychotimmy, to retrocomputing
@psychotimmy@mastodon.online avatar
jbzfn, to random
@jbzfn@mastodon.social 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

RetroFunPL, to random
@RetroFunPL@8bit.red 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.

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

lispm, to random German
@lispm@moth.social avatar

Niklaus Wirth passed away on 1st Jan 2024? I learned a lot by reading his books and by using Pascal & Modula 2 on the UCSD virtual machine on the Apple ][.

He is a true legend.

lispm,
@lispm@moth.social avatar

Niklaus Wirth's PASCAL made it to unusual systems: Here is a screenshot of a Lisp Machine, browsing the original Pascal User Manual and Report, but in a hypertext browser, with a PASCAL implementation loaded...

carlosefr, to retrocomputing
@carlosefr@mastodon.social avatar

"Since Jobs did not understand Raskin’s color scheme [important for using the chart easily], he had an artist alter the work [...]. Jobs then ordered Raskin’s name removed as the creator of the work and placed the artist’s name in its place."

Such a lovely asshole. 🙄

https://vintagecomputer.ca/the-history-of-apples-pascal-syntax-poster-1979-80/

Poster recreation (PDF) by @NanoRaptor: http://www.danamania.com/print/Apple%20Pascal%20Poster/PascalPosterV3%20A1.pdf

carlosefr,
@carlosefr@mastodon.social avatar

@chrisrauh @NanoRaptor

This one (1985) makes more sense. Couldn't find any information about it, though.

https://www.computerhistory.org/collections/catalog/102639938

marcel, to random German
@marcel@waldvogel.family avatar

Auch über den Jahreswechsel ist einiges passiert.

Etliches rund um Eigentum:
➡️ Kann ich Gekauftes auch reparieren?
➡️ Kann ich Gekauftes auch behalten?
(Leider ist die Antwort darauf immer häufiger "Nein")

➡️ Funktioniert eine Linksteuer?
(Antwort ist klar; nun aber auch mit Beispielen)

🪦 Und einen Mini-Nachruf auf Niklaus Wirth, mit Link zu einer tollen Reportage von @sgenner von 2019.
https://dnip.ch/2024/01/05/marcel-pendelt-ins-neue-jahr/

marcel,
@marcel@waldvogel.family avatar

5️⃣ Am 1. Januar ist Niklaus Wirth, Schweizer Informatikpionier, im Alter von 88 Jahren verstorben.

Er wurde u.a. für seine Programmiersprache und Weiterentwicklungen sowie seinen konsequenten Minimalismus und Kritik an langsamen IT-Systemen bekannt.

Hier ein Überblick über sein Lebenswerk.

https://www.swissinfo.ch/ger/wissen-technik/swiss-digital-pioneers_niklaus-wirth---eine-lebende-informatik-legende/45330100

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines