Physics in Clojure - Colin Smith
Channel:ClojureTV · Length:40:18 · Published:2017-03-31 · Views:12811
Summary
Colin Smith introduces Structure and Interpretation of Classical Mechanics and his Clojure port, sicmutils. He shows how higher-order functions and a symbolic algebra system can represent Lagrangian mechanics.
Why HN recommends it
Recommended as the best introduction to SICM and sicmutils and a showcase of what such symbolic systems can do.
The Strange Loop talk [3] is a good showcase of the power and simplicity of these kind of systems. — HN, 2021
Functional programming · Fundamental physics
Subtitles (excerpt)
hey folks my name is Colin Smith I've come to talk to you about um my experience sort of diving into a textbook named the structure and interpretation of classical mechanics which is sort of an odd successor to the structure and interpretation of computer programs which shares one of the authors uh and details their work using scheme an earlier list variant to explore um classical mechanics and they used it especially to work with the Dynamics of the solar system there's a couple of demos I'm going to try to get to so if you want to click on something you could go to the uh the link at the top there and there's some things you can click on or if you're bored um the the authors of the book have a quote that I want to read to you just because since you guys all bought tickets to come to a functional programming language conference that should resonate with you guys and gals one way to become aware of the Precision required to unambiguously communicate a mathematical idea is to program it for a computer we use a functional style to encourage clear thinking the computer does not tolerate vague descriptions or incomplete constructions now reading structure and interpretation of computer programs sipy as
On Hacker News
Computer Algebra is criminally underused - it has the potential to make math-heavy critical-path code a lot more clear, testable, observable and bug-free by design. I feel I need to mention "Structure and Interpretation of Classical Mechanics" by Wisdom and Sussman, and the accompanying "scmutils" library, which first implemented in Scheme many of the same features, although this Julia library se… — hcarvalhoalves, 2021-03
Thanks, this is a nice port! I worked through SICM using sicmutils as a backup. The MIT Scheme version sometimes "locked up" on my solutions to exercises and sicmutils did not (the Foucault pendulum problem comes to mind). This video is an introduction to SICM and sicmutils: [VIDEO] — ja-85, 2019-04
> static typing helps everywhere I think "Structure and Interpretation of Classical Mechanics" is a good example of the kind of software a dynamically-typed Lisp is superior at, beyond the usual suspects like SQL, R, Python, etc. Here's an example of SICM in Clojure: [LINK] And a talk about it's implementation here: [VIDEO] — erichocean, 2023-12
Related videos
- Your Brain Hallucinates Your Conscious Reality | Anil Seth | TED · TED · 17:01
- golden balls. the weirdest split or steal ever! · spinout3 · 6:25
- SYMBOLICS S-PACKAGES 3D GRAPHICS AND ANIMATION DEMO · Red Martian · 29:16
- Symbolics Lisp Machine demo Jan 2013 · Kalman Reti · 13:42
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Conway's Game Of Life in APL · Dyalog · 7:47
- Lecture 1A | MIT 6.001 Structure and Interpretation, 1986 · MIT OpenCourseWare · 1:12:55