louis, to random

TIL: Function designators in Common Lisp:
(funcall 'foo 0)
(funcall #'foo 0)

Both work, however, if there is a function named FOO in the lexical environment (i.e. via FLET/LABELS), #' (= FUNCTION) will use that while ' (= QUOTE) will always ignore the lexical environment.

amoroso, to Lisp
@amoroso@fosstodon.org avatar

A sneak peek at a Common Lisp program I'm writing on Medley. Figuring what the program does is left as an exercise.

amoroso, to retrocomputing
@amoroso@fosstodon.org avatar

It's now available the paper of the Medley talk Andrew Sengul gave at the European Lisp Symposium 2024. It outlines the history of Interlisp, introduces the Medley revival project, and presents the main features and facilities of the environment.

The Medley Interlisp Revival
https://doi.org/10.5281/zenodo.11090093

lispm,
@lispm@moth.social avatar

@amoroso
Thanks for the pointer! That's a very well written paper giving an excellent overview of the Interlisp revival project.

deadblackclover, to Lisp
@deadblackclover@functional.cafe avatar

Petalisp is an attempt to generate high performance code for parallel computers by JIT-compiling array definitions. It is not a full blown programming language, but rather a carefully crafted extension of Common Lisp that allows for extreme optimization and parallelization.

https://github.com/marcoheisig/Petalisp

screwtape, to climate
@screwtape@mastodon.sdf.org avatar

coming up! https://anonradio.net:8443/anonradio
by @kentpitman https://climatejustice.social/@kentpitman/112401577767211950
Ageism, @mattof's novel phost
:
kmp's desktop environment idea from the 90s, and light shed on what FOO105 would have been 40 years ago with ams.
@louis , hayley, amber's responses about
A large thread about with @theruran on the mastodon.
https://codeberg.org/tfw/pawn-75
@limebar's !
@prahou
sushi

zyd, to Lisp
@zyd@emacs.ch avatar

I have to ask: why are all the Lispers European

#lisp #commonlisp

louis, to random

Exciting news for SBCL users. A coroutine proof-of-concept was created during ELS after-hours in a pub :-) I for once hope, what happened in Vienna, doesn't stay in Vienna.

svetlyak40wt, to random
@svetlyak40wt@fosstodon.org avatar

Found an interesting project: https://github.com/tani/papyrus

It allows you two write code in markdown files and these files can be loaded as other lisp files!

pkw, to random
@pkw@mastodon.sdf.org avatar


I'm really digging this pattern in CLOS of extending a class and using :use-reexport in the new package definition to pull in the base class.

It makes code growth and juggling easier. I can extend a class by just changing an import statement, and then if I want to fold that new class code into the base class I can do that, and go back to the old import stanza.

The code that is dealing with the class (base or child) instance can stay untouched.

louis, to random

Heading for Vienna now. Looking forward to starting tomorrow.

amoroso, to Lisp
@amoroso@fosstodon.org avatar

Are you going to European Lisp Symposium 2024?

I have a favor to ask you. Please tell the Lispers there if any of them writes a Common Lisp book I'll be more than happy to buy it, back a kickstarter, spread the voice, and support the author any way I can.

This is just one data point but my hunch is many Lispers are like me.

thuna_cing, to random
@thuna_cing@emacs.ch avatar

A common lisp library to define dispatch reader macros on comma,
https://git.sr.ht/~thuna/cl-extended-comma

One of the (very few) default extensions is

`(foo ,?t bar) => (FOO T BAR)

`(foo ,?nil bar) => (FOO BAR)

Let me know all the ways in which it's terrible, please :)

lispm, to Lisp German
@lispm@moth.social avatar

#lisp #books #commonlisp

A few years ago I have created a visual overview of (mostly) Common Lisp related books... Good thing: even the older ones can be useful, given that the core language hasn't changed that much over the last years.

amoroso, to Lisp
@amoroso@fosstodon.org avatar

Common Lisp Quick Reference is a nicely designed, comprehensive, and handy Common Lisp cheatsheet. It's available in different PDF versions for printing as a booklet or online browsing, as well as LaTeX source.

http://clqr.boundp.org

screwtape, to Lisp
@screwtape@mastodon.sdf.org avatar

@louis
(#veilid is a rust lib that creates a veilid node per application which participates in a network, and gets messages 'to you' to you from the greater network. You publish properties on 'your' node, or it has a torrenting form for larger media items). https://veilid.com
"Being a veilid node" is one page of rust
-> compile to .a
-> put in C
-> #CommonLisp cffi

What do you think about this unconventional private internetworking? I think "the #lisp community" should capture this.

lispm, to random German
@lispm@moth.social avatar

I wrote a solution for 2023 08 using a in

The same code runs unchanged in LispWorks and Allegro CL (in a few milliseconds on an AppleSilicon M2 Pro CPU). Similar for SBCL.

image/jpeg

amoroso, to random
@amoroso@fosstodon.org avatar

Uncommon opinion (but not necessarily unpopular): I love languages with large standard libraries. I enjoy flipping through the language documentation, scouting for interesting functions or classes that may eventually come in handy.

My favorite large library language is Common Lisp but of course there are many others such as Smalltalk, Python, and Java.

#CommonLisp #ProgLang

galdor, to random
@galdor@emacs.ch avatar

I had some fun: went through chapter 2 (Syntax) of the standard and bootstrapped a reader. I learned a few things:

  • Pure C99 is (still) easy to read and to write.
  • The standard is very well written: just do what is described and it works.
  • If you did not read the standard, there are a lot of things you do not know about Common Lisp.

Now I need minimal support for arbitrary-precision arithmetic, and I do not want any dependency.

amoroso, to Lisp
@amoroso@fosstodon.org avatar

Joe Marshall discusses a number of ways of implementing state machines in Common Lisp with and without CLOS, with side effects or pure functions.

http://funcall.blogspot.com/2024/04/state-machines.html

zyd, to Lisp
@zyd@emacs.ch avatar

https://web.archive.org/web/20041031063349/http://alu.cliki.net/Paul%20Graham's%20Road%20to%20Lisp

Interesting to note, according to this questionnaire, Paul Graham's third programming language was Interlisp. Before then it was BASIC and PL/1

(This was sourced from https://cl-pdx.com/comp.lang.lisp/2003/oct/121341.html)

charliemac, to random

After discovering a little more about the render backend in , I decided to take a detour to see how difficult it would be to implement a naive render-to-textured-quad with the WIP Wayland backend... It wasn't too bad and it looks much better!

My laptop fans cranks up so it's obviously inefficient but it's pointed out some boundaries that I think would behoove me to refactor to mixins.

Screen recording of an SBCL REPL session starting the McCLIM demos and interacting with the drawing tests demo. It's using the work-in-progress wayland backend for framebuffer swapping but rendering with the existing "Render backend" to an OpenGL textured quad. The various drawing tests selected show on-par rendering of curves, lines, and pictures. Text rendering is also smooth but larger than the reference panel.

amoroso, to Lisp
@amoroso@fosstodon.org avatar

Please welcome to Mastodon Marco Antoniotti @marcoxa who needs no introduction, if you're a Lisper.

https://within-parens.blogspot.com

galdor, to random
@galdor@emacs.ch avatar

I was playing again with my HTTP implementation and I've made my peace with its blocking nature. It is irrelevant with a buffering reverse proxy (HAProxy or NGINX), performances are excellent and the code of the server stays simple.

Here, 210k+ req/s on 64 connection handling threads with 390µs P90 latency and sub-ms P99 (Linux amd64, SBCL 2.4.1).

Of course I can't use the same approach for my SMTP server (too many parallel connections that stay alive and no buffering proxy possible), but not all software have to use the same language.

louis, to scheme

"Scheme and Common Lisp differ mostly in the communities they cater to. Scheme programmers like to talk about how great it is to have a short specification; Common Lisp programmers like to write programs."

  • Let Over Lambda, Doug Hoyte

dziban, to random
@dziban@functional.cafe avatar

Yesterday session to bring quicklisp/ultralisp/git together with for development and deployments with NixOS was very fruitful.

One of the main problems with deployments is that you need a matching SBCL version and glib version for them to work. Nix can be a solution to that but it has a very sad story for common lisp dependency management.

Maybe something will come out of it. Currently I have an autogenerated flake with all of ultralisp and a lispDerivation function that creates a derivation and pre-compiles the fasls given the lisp implementation you wanna use.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • Durango
  • ngwrru68w68
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • Youngstown
  • slotface
  • vwfavf
  • PowerRangers
  • everett
  • kavyap
  • rosin
  • anitta
  • khanakhh
  • tacticalgear
  • InstantRegret
  • cubers
  • mdbf
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • cisconetworking
  • tester
  • normalnudes
  • modclub
  • provamag3
  • All magazines