I've just started giving Janet a try.

So far it feels delightfully refreshing—small, expressive, and just strange enough to make me smile even just a little.

No idea where this rabbit hole leads, but I'm looking forward to finding out.

#janet #janetlang #programminglanguages

2025/uellenberg - Ping pong prize

2025 IOCCC entry uellenberg - Ping pong prize

James Martin's 1981 book Application Development Without Programmers describes fourth-generation programming languages, giving as an example the Engineer's Problem: "give 6% raises to engineers whose job ratings had an average of 7 or better." It took Martin 12 pages of COBOL or a page and a half of Informatics Mark IV. This untested sketch in SQL, probably the most widespread 4GL, took me 10 lines. Perhaps the most astonishing part is SQL's "left join self where newer is null" idiom to find the newest salary history entry.

select s.userid, s.salary, s.date as salary_date,
average(r.rating) as avg_rating,
s.salary * 1.06 as proposed_salary
from employee_rating r
inner join employee_salary s on s.userid = r.userid
left join employee_salary s_newer
on s_newer.userid = s.userid and s_newer.changeid > s.changeid
where s_newer.changeid is null
and r.date > current_timestamp - interval 360 day
group by s.userid having average(r.rating) > 7

#SQL #4GL #ProgrammingLanguages

John Myles White on Fundamental Concepts in Programming Languages (2015)

https://www.youtube.com/watch?v=cO41uoi5cZs

#programminglanguages #computerscience #johnmyleswhite

John Myles White on Fundamental Concepts in Programming Languages

YouTube

It was hectic, a bit chaotic, there's a lot of intelligible questions and discussion. I spoke super fast and still ran out of time. To be honest, it's not a great talk to watch as a recording.
But still, if you weren't there, you missed out. There was a great vibe in the room, we had good fun. My talk on "Four Fascinating Programming Languages You've Probably Never Heard Of":

https://tinyurl.com/j5z2my44

#programminglanguages #programming #bobkonf

Four Fascinating Programming Languages You've Probably Never Heard Of - Lutz Hühnken

YouTube

For a while now I've been trying to come up with some truly bad programming language ideas (basically combining features from languages I don't like into a behemoth that should never have been born) and here are some of the most horrifying ones I could think of:

  • Perl 5 combined with Objective-C
  • A Brainfuck dialect that includes the weird reflective and meta properties of Lisp
  • Java but with the stability of Node.js
  • C# but also it's been turned into an Objective-C like
  • COBOL but with the structure of Pascal
  • A purely object-oriented Itanium assembly language (the worst form of assembly I can think of with the added hell of Smalltalk).
  • More suggestions welcome.


    #Programminghumor #programming-languages #psychic-damage?

    "If you have used OCaml 5 this will feel familiar, except OCaml keeps its effects out of the types, so you find out about an unhandled one at runtime, in production, on a Friday."

    "If you have used Haskell this will also feel familiar, except in Haskell you would be assembling a monad transformer stack, lifting each operation through every layer by hand, and explaining to a junior colleague that a monad is just a monoid in the category of endofunctors, what's the problem."

    https://www.stephendiehl.com/posts/prism/

    #ocaml #functionalprogramming #haskell #programminglanguages

    Prism: An Impure Functional Language With Typed Effects - Stephen Diehl

    Personal blog of Stephen Diehl - Software engineer writing about technology, programming, and the future

    Stephen Diehl
    Prism: An Impure Functional Language With Typed Effects - Stephen Diehl

    Personal blog of Stephen Diehl - Software engineer writing about technology, programming, and the future

    Stephen Diehl

    @ekuber I fully agree, but as you know #Rust wasn't designed to prevent as many bugs and vulnerabilities as possible, only some of them, mostly memory safety issues.

    That's why I've been trying to make a comprehensive list of problems and how they might be solved or mitigated by a next-generation programming language: https://github.com/gato-lang/gato/blob/main/design/bug-types.md

    #ProgrammingLanguages

    gato/design/bug-types.md at main · gato-lang/gato

    The Gato programming language. Contribute to gato-lang/gato development by creating an account on GitHub.

    GitHub
    🚀 Ah, the intellectual elite has spoken: Lisp in Rust's type system! Because why not complicate your life with a cocktail of languages that no one asked for? 🎩🤔 Clearly, the world was just waiting for another #GitHub labyrinth to navigate while pretending to be productive. 🔄💻
    https://github.com/playX18/lisp-in-types/ #LispInRust #TypeSystem #ProgrammingLanguages #Complexity #DeveloperHumor #HackerNews #ngated
    GitHub - playX18/lisp-in-types: Lisp implemented inside Rust trait system

    Lisp implemented inside Rust trait system. Contribute to playX18/lisp-in-types development by creating an account on GitHub.

    GitHub