42 min till RacketCon starts
FREE live stream at https://con.racket-lang.org
we have a #racketcon chat channel on the racket discord at https://discord.gg/UCFKsryPkW
If you can afford it: please register for $10 USD to help support the livestream https://www.eventbrite.com/e/racketcon-2025-tickets-1578775272339
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Celebrating 40 years of magic
with Hal Abelson & Gerald Sussman
at the (fourteenth RacketCon)
October 5-6, 2024,University of Washington
Featuring Lisp legend Gregor Kiczales
Data Integrity via Smart Structs
by David Storrs
Structs in Racket should be more than dumb data storage. They should be data models in the sense of MVC programming; they should ensure that their contents are valid according to your project’s business rules and they should make it easy to do common operations such as storing to a database or generating a struct from data of another type such as a database row or user input field.
The struct-plus-plus module makes this easy. It allows you to place contracts on individual fields, specify business rules that ensure integrity between fields, easily create converter functions, and much more, with all of these things being part of the struct definition and therefore in one easily-referenced location. Come see how it all works and how you can simplify your code with struct-plus-plus!
Watch now: presentation
keyring: Uniformly Access Secrets
by Sam Phillips
Hardcoding passwords in your programs is bad. Using secure password stores are good. Keyring is a Racket library that allows programs to access different password stores using a simple interface.
Watch now: presentation
Incrementally Developing Support for Racket->Wasm Compilation
by Adam Perlin
Wasm is an attractive compiler target for a variety of reasons: it has support in all major browsers, its isolation guarantees are beneficial for security reasons, and it has potential as a general-purpose platform-independent execution environment. However, adding Wasm support to Racket has proven a challenging problem due to differences in the execution model each language uses at runtime. Chez Scheme, the backend of Racket CS, utilizes code generation conventions which are difficult to adapt to Wasm.
This talk will present an alternative approach to Racket-to-Wasm compilation which is compatible with Racket CS. The approach is accomplished by using an existing bytecode format and interpreter which are already supported under Chez Scheme, and performing an ahead-of-time translation of portions of bytecode programs into Wasm. This sets up an incremental approach to the development of a Racket-to-Wasm compilation system.
Watch now: presentation
Mutate: Inject Bugs into Your Programs!
Lukas Lazarek introduces mutate, a library for mutating programs, i.e. injecting possible bugs by making small syntactic changes to the program syntax. Lucas discusses what mutation is, why one might want it, and provides a demo of how to use the library.
Watch now: presentation
#lang Karp: Formulating and Random Testing NP Reductions
Reduction, a pervasive idea in computer science, is often taught in algorithm courses with NP problems. The traditional pen-and-paper approach is notoriously ineffective both for students and instructors: Subtle mistakes in reductions are often hard to detect by merely inspecting the purported solutions. Constructing a counterexample by hand to expose the mistake is even more onerous. Based on the observation that reductions are actually programs, we designed #lang Karp, a DSL for formulating and random testing NP reductions.
In this presentation, Chenhao Zhang discusses the implementation of Karp on top of Racket and solver-aided host language Rosette.
Watch now: presentation
Introducing Rackith
by Sage Gerard
Rackith is a language-oriented programming language based on Racket. Use Rackith to define many languages with one syntax object.
Watch the presentation now: talk video