Glenn Vanderburg - Cló: The Algorithms of TeX in Clojure
Channel:ClojureTV · Length:42:24 · Published:2014-11-22 · Views:9394
Summary
Glenn Vanderburg presents Cló, a Clojure library that reimplements TeX's core typesetting algorithms as composable functions. He shows what translating procedural, literate-programming code into functional form teaches.
Why HN recommends it
HN recommends it for its insight into Knuth's TeX algorithms and what changes when they are rewritten functionally.
The video goes into this better than the InfoQ article. — HN, 2015
Functional programming · Graphic design & typography
Subtitles (excerpt)
[Applause] thank you Stuart that was uh wow um as Stuart mentioned I work for Living Social and uh I just uh wanted to mention that we are hiring closure developers we have about eight full-time closure people and uh uh about that many others who split time between closure and Ruby and we're doing more with that and looking to build that team so U um please talk to us if you're interested um and I want to start with a couple of disclaimers um I don't program for a living anymore uh and uh so I'm a closure diletant U you're not going to see any Advanced Techniques here or anything that'll blow your mind um and I'm talking about a project that's uh uh currently kind of in a shambles because it's in the middle of a redesign redesign because I changed the focus of it um but we'll talk about that a little later so please forgive me for that um I'll begin and end with history Donald kth learned to program in 1957 at the age of 19 at the IBM 650 computer that he's shown with in this picture I introduce him this way because it will provide important context for what is to come here's a more recent photo at age 74 at the console of another machine that he loves um one of the things he's famous for is the tech typ setting system which uh he released uh at
On Hacker News
TL;DR, stack frame all the things. I'm joking (kind of), but I was reminded of this talk about implementing TeX in Clojure [0], in which you are shown the pains Don Knuth took to avoid subroutines calls, ostensibly for performance reasons—such heavy macro usage, for example, that the speaker calls the language a "dialect" of Pascal. Now we have the maxim about programmer cycles versus machine cyc… — gavinpc, 2014-11
SILE indeed looks great, promising to come on par with the typesetting quality we have come to expect since TeX: Knuth-Plass line breaking, Unicode and OpenType font features support, complete with contextual shaping, Cassowary constraint solver, parallel text, multiple apparati, foot and marginal notes, vertical typesetting… This is a typographer’s dream! But, like TeX and friends (LaTeX, ConTeX… — rhythmvs, 2017-02
Perhaps Glenn has different goals than you might expect? The video goes into this better than the InfoQ article. In short, I think Glenn embraced the differences and challenges of adapting TeX in Clojure from an educational perspective. I don't think he intended to port it quickly or verbatim. Glenn wanted to head-to-head comparison to promote education. To explain, in Glenn's talk around 11:36 (… — dj-wonk, 2015-01
Related videos
- Spec-ulation Keynote - Rich Hickey · ClojureTV · 1:16:13
- 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
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- 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
- Effective Programs - 10 Years of Clojure - Rich Hickey · ClojureTV · 1:14:51
- Erlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsApp · Erlang Solutions · 49:15
- Hammock Driven Development - Rich Hickey · ClojureTV · 39:49