Just finished Day 6 in #adventofcode2025 in #racket. I discovered the coolest trick of LISP: build dynamically list from digits and symbols, and then evaluate it as normal expression.
Just finished Day 6 in #adventofcode2025 in #racket. I discovered the coolest trick of LISP: build dynamically list from digits and symbols, and then evaluate it as normal expression.
Lunch read with #racket docs. I learnt there is a rackunit - unit testing framework. Hefty upgrade for me, who lived in assert() macro for many years. :blobstickred:
#adventofcode2025 is short this year, so instead of rushing for quick wins I have time to tinker and explore #racket. Day 3 was all about depth of recursion. Day 4: introduction to arrays and fight with sluggish performance.
Day 6 is done. Soon I'll be 2 days behind.
The parsing for day 6 is a bit nasty and my code can probably be simplified a bit -- too many calls to reverse, methinks.
https://github.com/Danl2620/aoc-2025/blob/main/day6/day6.rkt
Archiv: Wilson Blade V9 Test – Erfahrungen mit dem #Wilson #Tennisschläger für offensive Spieler https://www.sports-insider.de/wilson-blade-v9-test-erfahrungen-mit-dem-wilson-tennisschlaeger-fuer-offensive-spieler-53443/ #WilsonBlade #StefanKoch #StefanosTsitsipas #SebastianKorda #SteffiGraf #Racket #serenawilliams #RogerFederer
Dabbling in Advent of Code this year, I solved day 5 in Racket: https://github.com/Danl2620/aoc-2025/blob/main/day5/day5.rkt
@CGM I never heard of #SASL! I have always been a huge #Wirth fan. Did tons of real-life work in #Pascal, moved through #Modula2 up to, finally, #Oberon2. Had such fond memories of it that I tried to use it last year for #AdventOfCode and learned that it was not nearly as good as I remembered. Have you tried #Racket (a kind of #Scheme)? It’s not for me but it’s interesting. Used it in a job interview once. Your description of how flow control is defined in #TCL really reminds me of Racket. I’m learning #RustLang and having the kind of #Macros you get in #Lisp and Scheme is another reason Rust is so enjoyable.
Due to being unable to sleep ahead of a very early airport run, I finally was one of those people who finished the day’s Advent of Code solution at 2:30am. #adventofcode #racket
Quoting (#Racket (Con (fourthteen)) 2024):
« [Guix & Nix]’re both out there, and as far as I know they’are doing really well! Why would you pick one over the other? Because #Guix is based on a nice “regular” language like #Lisp, actually #Scheme, and euh #Nix is not! » 😁
Well, aside this part, an usual LISt Parenthetically balanced about common annoyances with Lispy almost-non syntax.
🤔 Maybe another instance of Walder’s law [1]?
https://youtu.be/ZtTqRH1uwu4
1: https://wiki.haskell.org/Wadler%27s_Law
I am having a go at completing this year's #AdventOfCode in #Racket! Here's my day 1 solution: https://codeberg.org/jezcope/aoc2025/src/branch/main/racket/day01.rkt
This is the first Racket code I've written beyond (displayln "Hello World!"): I love functional programming in Haskell but all the Lisp I've written to date has been emacs-lisp.
Would love to know if any more experienced Racketeers have any comments or suggestions on my code! #CodeReview
Current status: reading #Racket Programming.
Why nobody told me that #lisp #racket is sooo cool! Lang of choice for #adventofcode2025 ?
Spare time project, started on Tuesday, released today — including documentation (always proud of having good docs). Create custom DSLs in #Racket that read TOML data and validate it against your schema. https://joeldueck.com/what-about/toml-config/index.html
🚀🎓 So, you want to build a #compiler, huh? Because remembering assembly and C from your undergrad days wasn't traumatic enough! 🤦♂️ Just pick up #Racket, a language no one's ever heard of, and dive into this esoteric master's course. Who needs free time, right? 😅
https://kmicinski.com/functional-programming/2025/11/23/build-a-language/ #programming #humor #education #technews #HackerNews #ngated
🌗 五個專案打造你的編譯器
➤ 從 Racket 到 x86-64:編譯器實戰五步驟
✤ https://kmicinski.com/functional-programming/2025/11/23/build-a-language/
這門課將引導學員透過五個專案,從零開始建構一個能處理變數、整數運算、布林邏輯、條件判斷、迴圈、變數賦值,乃至於堆疊配置的陣列、閉包(closures)和遞迴函數的編譯器。課程以 Racket 語言進行,並將目標編譯至 x86-64 組合語言,強調實作的樂趣與效率,而非嚴謹的語言安全性或型別檢查。
+ 這課程聽起來超有趣!希望我的 Racket 基礎夠用。
+ 沒有記憶體安全和暫存器配置,聽起來是個精簡版的編譯器,但學習路徑很清晰。
#編譯器設計 #Racket #x86-64 #程式語言實作
"Build a Compiler in Five Projects"
https://kmicinski.com/functional-programming/2025/11/23/build-a-language/
#Racket - the Language-Oriented Programming Language - version 9.0 is now available from https://download.racket-lang.org
See https://blog.racket-lang.org/2025/11/racket-v9-0.html for the release announcement and highlights
🎉 #Racket v9.0: Because clearly, the world was clamoring for yet another way to thread those needles of computational complexity! 💡 Now with *parallel threads*, they promise to revolutionize... exactly what their previous efforts already claimed to do. 🙄 Isn't #innovation grand when you can reintroduce the same concept with shiny new buzzwords? 🚀
https://blog.racket-lang.org/2025/11/racket-v9-0.html #v9.0 #ComputationalComplexity #ParallelThreads #TechNews #HackerNews #ngated