IN/Clojure 2020

India's annual Clojure and ClojureScript conference. 14th-15th Feb, 2020. Pune, MH, IN.

Up next

Lazy Seq's - Why are they so lazy?

RJ

Ramsharan Gorur Jayaraman

@sharangj

This talk majorly circles around how Clojure Lazy Sequences and Lisp Cons Cells work. I will also try to explain to the audience on what mistakes I made when I started writing Clojure and how understanding Lisp Cons Cells helped me understand Clojure Lazy Seq’s.

Outline

Here is a very brief outline of my presentation:
- Firstly, I will start of by explaining my failures in understanding bits and pieces of Seq’s. Explain with actual function calls.
- The second part of the presentation is on how Lisp Cons Cells work. A brief explanation of how it is a list with 2 functions ie car and cdr. There will be a lot of examples on how sublists can be created and how they can be modified.
- A brief explanation of how Lisp Cons Cells analogues to Clojure Lazy Seq’s.
- Concluding with a run through of why Clojure Lazy Seq’s are more efficient than normal seq’s. This will be majorly talking about how Lazy Seq’s does all the heavy lifting with functional computation rather than sitting in memory.

You can find a very rough outline of the presentation here https://speakerdeck.com/sharangj/lazy-sequences-why-are-they-so-lazy.

Speaker bio

Ramsharan has built multiple systems across different spectrums like Local Commerce, Content Publishing Space and Health Care. As a tech enthusiast, he is always on the lookout on how tech can solve real world problems. He is a sport lover and a Liverpool FC fanatic. He currently works as the Director Of Engineering at Quintype.

Slides

https://speakerdeck.com/sharangj/lazy-sequences-why-are-they-so-lazy

Comments

Up next

Light Table: The strange and wonderful saga of a pure Clojure editor.

PK

Pratik Karki

On a beautiful spring day in 2012, Chris Granger showed a [new concept of an IDE](http://lighttable.com/2012/04/12/light-table-a-new-ide-concept/) which was simple like an editor but, was full-fledged like IDE. This was way before VSCode and Atom, it showed what Clojure/Script can do with less code and was a preferred editor for people coming to Clojure/Script ecosystem for many years. Now, the time has changed and Chris left the project and so did, other core developers who shaped Light Table-the killer Clojure App. Now, years have gone by, without significant improvement in Light Table, so, yours truly volunteered to revive Light Table. Light Table introduced some awesome ideas of BOT architecture(Behavior, Objects, Tag). [Getting Clojure book](https://pragprog.com/book/roclojure/getting-clojure) has also used its code for example in its "State" Chapter. The different ideas of adding plugins, docs embedded into the editor, `eval` feature inside the editor is cool and the code that powers it is in pure Clojure/script. And, this being written in the early days of ClojureScript i.e. before ClojureScript hit version 1.x.x, we can compare the ClojureScript as of today and can understand design changes it took from its early days. This talk will then, describe issues having tightly coupled a lot of functionalities with external libraries. Additionally, I would discuss using much better design to re-write Light Table, design inspired by a new-gen editor like [Xi editor](https://xi-editor.io/) and the concepts behind toolings from [clojure-emacs](https://github.com/clojure-emacs).

Dec 31, 2019

Read more