Clasp: Common Lisp using LLVM and C++ for Molecular Metaprogramming
What it is
Christian Schafmeister's Google Tech Talk on designing spiroligomer molecules and building Clasp, a Common Lisp on LLVM that interoperates with C++, to program molecular design. It covers the chemistry, automatic differentiation for force fields, and how the compiler is built.
Why Hacker News recommends it
HN repeatedly cites it as a striking example of Common Lisp used to push the frontier of science, and as one of the most inspiring tech talks.
- 8 people recommended it
- 8 different months
- 5 strong recommendations
- first 2015, last 2024
What HN commenters said
“If you are on this article, you probably will love to watch this guy.”
Developer built a Lisp to design molecules; inspires studying chemistry
616c, 2015-06 · Strong recommendation · in “Making sexy molecules in PowerPoint”
“Absolutely fascinating stuff.”
Fascinating talk on molecular metaprogramming with Clasp
radicalcut, 2015-07 · Strong recommendation · in “John Carmack working on Scheme as a VR scripting language”
“I challenge anyone to watch this lecture from Christian Schafmeister and say they are not impressed”
Impressive lecture showing Common Lisp as a programmer amplifier
nabla9, 2016-02 · Strong recommendation · in “The Lisp Curse (2011)”
“This talk is even better.”
Compelling talk with a memorable macros-versus-templates metaphor
golergka, 2016-05 · Strong recommendation · in “European Lisp Symposium 2016”
“The most inspiring talk a I have ever seen”
Common Lisp compiler on LLVM used to design molecular machines
pmarin, 2018-04 · Strong recommendation · in “Ask HN: What is your favourite tech talk?”
“If you're asking yourself what kinds of problems is a Lisp good for you should probably watch this”
Shows what problems Lisp suits: a chemist building his own Common Lisp
nnq, 2015-09 · Recommendation · in “Lisp is still a secret weapon”
“they developed a DSL in common lisp to generate C++ code using LLVM.”
A DSL in Common Lisp generating C++ via LLVM for molecules
girishso, 2019-01 · Recommendation · in “Ask HN: Can we write a programming language for biology?”
“There's a nice Google Tech Talk about it [0], that goes into both why he did this, and how he implemented this.”
Explains why and how Clasp was implemented with C++ templates and GC
simiones, 2021-10 · Recommendation · in “Carp – A statically typed Lisp, without a GC, for real-time applications”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: clasp, llvm, common lisp, nanotechnology, metaprogramming, chemistry
Also recommended by the same people
talkMonads and GonadsGoogle TechTalks · 2 HN recommenders · 2013–2022
explainerWhy is this number everywhere?Veritasium · 2 HN recommenders · 2024–2026
otherMargin Call Best Quote by Will Emersonchrislaucn · 1 HN recommender · 2020–2024
comedyDavid Mitchell on Tax Avoidance from The Last LegPolitical News · 2 HN recommenders · 2017–2025
talkClasp: Common Lisp using LLVM and C++ for Designing MoleculesGoogle TechTalks · 2 HN recommenders · 2016–2022
lectureThe Hyperbolic Geometry of DMT Experiences (@Harvard Science of Psychedelics Club)Qualia Research Institute · 3 HN recommenders · 2021–2023
talkEscape from the Heap: Low-Level Programming in Common LispArthur Gleckler · 1 HN recommender · 2016–2020
demoRuby on Rails demotenthconcept · 2 HN recommenders · 2013–2025