u/jropin r/ProgrammingLanguages • Recommends
Clasp: Common Lisp using LLVM and C++ for Molecular Metaprogramming
349K subscribers • 62 videos on Hallway
- Recommended by 9 people: 8 on Hacker News and 1 in engineering communities.
- A classic. People kept recommending it from 2015 to 2021.
- Presented by Christian Schafmeister
- Linked in the descriptiondrmeister/clasp
Advanced. Deep dive for people who know the field.
51K views11 years ago9 recommendations
Programming languagesSystems programmingLisp and ClojureCompilers and interpretersPerformance and optimization
Christian Schafmeister introduces Clasp, a Common Lisp implementation built on LLVM that interoperates with C++ to design complex molecules.
Google Tech Talk June 9, 2015 (more info - click "show more") Presented by Christian Schafmeister. Introduction () The beginning () Mimicking proteins () Spiroligomers: an alternative to proteins () Applications of spiroligomers () A spiroligomer that binds Mdm2 () A spiroligomer that catalyzes a transesterification reaction () Designing large molecules () Developing a programming language for chemistry () Clasp: A Common Lisp based on LLVM () Automatic differentiation for chemistry force fields () Writing code that builds molecules () Why Common Lisp for chemistry? () Interfacing C++ with Common Lisp () Clasp: What is it? () Automated analysis of C++ code built into Clasp () How C++ is exposed to Clasp Common Lisp () What is next for Clasp? () Wrap up () Questions and answers () ABSTRACT This talk describes our unique approach to constructing large, atomically precise molecules (called "Molecular Lego" or "spiroligomers") that could act as new therapeutics, new catalysts (molecules that make new chemical reactions happen faster) and ultimately to construct atomically precise molecular devices. Then I describe Clasp and CANDO, a new implementation of the powerful language Common Lisp. Clasp is a Common Lisp compiler that uses LLVM to generate fast machine code and it interoperates with C++. CANDO is a molecular design tool that uses Clasp as its programming language. Together I believe that these are the hardware (molecules) and the software (the CANDO/Clasp compiler) that will enable the development of sophisticated molecular nanotechnology. Clasp is available at: github.com/drmeister/clasp For more info see: chem.cst.temple.edu/directory/faculty/schafmeister/ More about Clasp Clasp is an implementation of Common Lisp that interoperates with C++ and uses LLVM as its backend. It is available at github.com/drmeister/clasp. The goal of Clasp is to become a performant Common Lisp that can use C++ libraries and interoperate with LLVM-based tools and languages. The first sophisticated C++ library with which Clasp interoperates is the Clang C/C++ compiler front end. Using the Clang library, Common Lisp programs can be written that parse and carry out static analysis and automatic refactoring of C/C++ code. This facility is used to automatically analyze the Clasp C++ source code and construct an interface to the Memory Pool System compacting garbage collector. The primary purpose of Clasp is to act as a performant language for scientific computing that will be used to design sophisticated new molecular devices, catalysts and therapeutic molecules based on our "Molecular Lego" technology. Clasp is a general programming language that will support many other applications. About the Speaker: Christian Schafmeister visited Google’s Cambridge, MA office to deliver the talk "Clasp: Common Lisp using LLVM and C++ for Molecular MetaprogWhy it's here
9 people recommend thisWhat people say. Recommended as an inspiring demonstration of building a custom Lisp compiler to solve complex molecular design problems.
616con Hacker News • Recommends
On “Making sexy molecules in PowerPoint”
radicalcuton Hacker News • Recommends
On “John Carmack working on Scheme as a VR scripting language”
nabla9on Hacker News • Recommends
On “The Lisp Curse (2011)”
golergkaon Hacker News • Recommends
On “European Lisp Symposium 2016”
pmarinon Hacker News • Recommends
On “Ask HN: What is your favourite tech talk?”
nnqon Hacker News • Recommends
On “Lisp is still a secret weapon”
girishsoon Hacker News • Recommends
On “Ask HN: Can we write a programming language for biology?”
simioneson Hacker News • Recommends
On “Carp – A statically typed Lisp, without a GC, for real-time applications”
justifieron Hacker News • Mentions
On “Aneurysm”
istvan__on Hacker News • Mentions
On “John Carmack working on Scheme as a VR scripting language”
TeMPOraLon Hacker News • Mentions
On “Whoever does not understand Lisp is doomed to reinvent it (2007)”
bloafon Hacker News • Mentions
On “Why programmers will never be the brightest and the best”
sedachvon Hacker News • Mentions
On “AI and Robotics in Agriculture in Japan [video]”
drmeisteron Hacker News • Mentions
On “Ask HN: Are you working on interesting technical problems?”
cracaueron Hacker News • Mentions
On “Let over Lambda – Common Lisp Book (2008)”