159 points•spdegabrielle•about 2 months ago•56 comments•

56 comments

gus_massaabout 2 months ago
For the curious, there is an official YouTube channel with the previous editions https://www.youtube.com/@racketlang/playlists (It usually take a few months until the videos are edited and uploaded.)
dharmatechabout 2 months ago
I've been messing around with a language that I summarize as:

ALOE = Scheme + Smalltalk + Types

https://github.com/dharmatech/2026-09-02-aloe-racket

Prototype is in Racket.

sroerickabout 2 months ago
Yo! this is cool. I've been doing an interpreted lisp written in OCaml. pricklypear.rocks. https://github.com/sroerick/pricklypear . we are doing cactus driven development. I'll reach out. Would love to compare notes.
dharmatechabout 2 months ago
Very interesting! Nice to see the postgresql store.

Thank you!

bjoliabout 2 months ago
I used ai liberally to write an s-expr language that compiles to c#.

https://bjolang.koketteriet.se/

It uses local HM inference and traits instead of OO, and the concurrency is based on concurrentML. The design process was mostly about what I dont like about other languages and what I think racket and OCaml does correctly. All default data structures are immutable (using an RRB tree, a champ, b+trees and linked lists) with pretty fast implementations.

Speed wise it is about the same as c# without spans and ref structs, since that is what it compiles to.

Every function that touches IO is compiles in a sync and async variant, so writing "bjoroutines" is most of the time the same as writing regular code.

The GitHub page is borked, since they removed Org mode support a day ago, but the manual and reference can be found on the web page.

dharmatechabout 2 months ago
This is cool! Thank you! I'm a fan of C# and dotnet. Nice that you used F#!
agumonkeyabout 2 months ago
quite elegant, feels like a great balance idiomatic scheme and OO
dharmatechabout 2 months ago
Thanks for checking it out!

Here's a video demo of the code completion in vscode:

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

attila-lendvaiabout 2 months ago
you lost me at the receiver selector order.
Jtsummersabout 2 months ago
It's a common way to implement OO in Lisp-y languages, and it fits if you're taking Smalltalk as an inspiration. SICP has an example in chapter 3 (IIRC) of doing the same, but the selector had to be quoted as in:

  (my-account 'balance)
  (my-account 'withdraw 10)
pjmlpabout 2 months ago
That is what allows multi-dispatch and all the goodies in The Art of Metaobject Protocol (CLOS).

You can exchange the order, like on Dylan and Julia, however note how both declare them as if they were regular functions in non-OOP languages.

so-cal-schemerabout 2 months ago
I want to point out that the order is flexible, as in all things Lisp.

In SICP, for instance, they use a lot of utility functions to change it for readability sake:

  (define (make-register name)
    (let ((contents '*unassigned*))
      (define (dispatch message)
        (cond ((eq? message 'get) contents)
              ((eq? message 'set)
               (lambda (value) 
                 (set! contents value)))
              (else
               (error "Unknown request: 
                       REGISTER"
                      message))))
      dispatch))
and then,

  (define (get-contents register)
    (register 'get))

  (define (set-contents! register value)
    ((register 'set) value))
mike_ivanovabout 2 months ago
Cool project, thank you for sharing. I've been thinking about something similar lately.

However. "Send, not apply" - sigh.. how shall I put it.. let's try this - eyes_rolling_so_hard_they_fall_out_of_sockets.png

spdegabrielleabout 2 months ago
RacketCon is Saturday https://con.racket-lang.org
so-cal-schemerabout 2 months ago
[paraphrased:]

I'm curious: as a fan of Elixir and a language designer myself, what is the value of Racket and other esoteric languages, today, as (industry?) coalesces around AI tools and certain popular languages?

--------------------------

I think the Lisp family of languages are still the productivity boost they always were, especially with a good REPL. They can be as fast and safe as Rust and more expressive than JavaScript doing front end work. The deep support for macros and more really let you mold a program to fit the problem domain. Frontier models are reported to work as effectively with Lisp as any other language, and you can have much more succinct (token efficient) code while having more meaningful abstractions for readability by humans. I expect the two should go very well together. Plus you're dealing with a single language without the complexity of something like Rust or inconsistencies of JavaScript.

so-cal-schemerabout 2 months ago
I was hoping for a discussion to stem out of this..

I wonder what the status of Carp is -- a Lisp with a borrow checker:

https://github.com/carp-lang/Carp

And I'm not a React developer, but from what I know of it, it struck me as something a Lisp hacker would come up with.

Read the full thread on Hacker News →

Related stories