+ All Categories
Home > Documents > Blm Lightning Talk

Blm Lightning Talk

Date post: 06-Apr-2018
Category:
Upload: evgeniy-n-sharapov
View: 223 times
Download: 0 times
Share this document with a friend
21
Quicklisp Get started with Common Lisp libraries, quickly Quicklisp is a project for getting started with a rich set of open source Common Lisp libraries developed by the CL community.
Transcript
Page 1: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 1/21

QuicklispGet started with Common Lisp libraries, quickly

Quicklisp is a project for getting started with a rich set of open source Common Lisp librariesdeveloped by the CL community.

Page 2: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 2/21

Of course, there is no community.

Page 3: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 3/21

clbuild, LibCL, Lispy,

repo-install, cl-librarian,

LAIR, Desire, etc.

There are a lot of projects along these lines already. clbuild is the most popular one I know of - many people I know use and recommend it, but there are others, like LibCL, Lispy, repo-install, etc.

Page 4: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 4/21

I won’t mention asdf-installif you won’t.

Page 5: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 5/21

Quicklisp goals

There are some useful areas where Quicklisp improves on what’s available.

Page 6: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 6/21

Insanely easy to getand use

First, Quicklisp should be easy to get and use.

Page 7: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 7/21

Two steps is one too many

Page 8: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 8/21

Quicklisp is three - sorry!

To get started with Quicklisp, you download and load a file.

Page 9: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 9/21

Work everywhere

Second, it should work in any CL on any platform.

Page 10: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 10/21

Common Lisp is not Unix!Don’t rely on Unix programs.

Spawning gzip, tar, gpg, etc. is easy only on Unix, and only oncertain Unixes. You can do those things in de facto portable plain CL,and it will work on Windows.

Page 11: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 11/21

Highly available & stable

Third, quicklisp shouldn’t break because someone else’s site breaks.

Page 12: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 12/21

Oh, crap, time to renewcliki.net again.

Quicklisp archives are published on Amazon’s S3 storage system. If S3 goes down, quicklispis probably the last thing you’ll notice - a lot of the Internet will be on fire.

Page 13: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 13/21

Oh, crap, I can’t reachflaky.net’s darcs!

For projects that are primarily available in version control,quicklisp takes snapshots. It also uses versioned releases forprojects that use that style. It makes all the project archivesavailable via HTTP. It's firewall and proxy friendly.

Page 14: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 14/21

Extend freely

Page 15: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 15/21

Make your own libraries availableOnly takes three text files and the archive tarballs

You don't have to coordinate with me to publish a set of projectarchives.

Page 16: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 16/21

Add support for a new CL yourself Only takes a handful of new methods

You don't have to coordinate with me to add support for a new CommonLisp implementation.

Page 17: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 17/21

Implement a completely new ideaOnly takes a handful of new methods

You don't have to coordinate with me to use quicklisp protocols thatimplement a dif erent style of management, like pulling from a VCSdirectly or from other sources of metadata. It's meant to beextensible.

Page 18: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 18/21

Build on the metadata

• Automated testing

• Bundling for delivery - build yourapplication without Quicklisp

• Static package, symbol databases - “What

packages does project Foo define? Whatsymbols are exported?”

You don't have to coordinate with me to do interesting stuf with thearchives and metadata.

Page 19: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 19/21

Demo time!

Here's a demo of a simple web application that makes gradient PNGfiles. You could use this for CSS or something. It requires two CommonLisp libraries, Hunchentoot and Vecto.

Page 20: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 20/21

If you were starting CL today and wanted to try something like this,you'd have to figure out how to get and install over a dozenlibraries. The veterans know how to do it, but it can be a challenge.

Page 21: Blm Lightning Talk

8/3/2019 Blm Lightning Talk

http://slidepdf.com/reader/full/blm-lightning-talk 21/21

Thanks to Nathan Froyd for making this idea possiblewith chipz, ironclad, and more.


Recommended