40 Ants

Programming event bus in Common Lisp using EVENT-EMITTER!


Listen Later

From this video you will learn how to make a simple chat in Common Lisp. We'll figure out how the EVENT-EMITTER library works and use it as a message bus for a simple chat. We will make the chat interface on the Reblocks web framework.

Links

  • Event-Bus pattern, also known as Pub-Sub. You can read more about it in Wikipedia:
  • https://en.wikipedia.org/wiki/Publish–subscribe_pattern
  • The event-emitter library itself: https://github.com/fukamachi/event-emitter
  • Code from this video: https://github.com/svetlyak40wt/event-emitter-playground
  • cl-reex - the previous CL library that I reviewed: https://www.youtube.com/watch?v=aMiHzB5HMMc
  • A video about the difference between packages and systems in Common Lisp: https://www.youtube.com/watch?v=fjCLKNvUdD4
  • Timecodes

    00:00 Introduction

    00:58 Examples from the README
    04:44 Chat application
    07:10 Second event handler
    08:46 General message bus
    12:06 Total

    Tags

    #common-lisp #opensource #library

    ...more
    View all episodesView all episodes
    Download on the App Store

    40 AntsBy