These days I'm playing a bit with an experiment started some years ago: #McCLIM running directly on the Linux DRM stack without #X11 or #wayland."

@admich this would be an even better software stack than Android, especially if you could get Emacs Lisp applications to run in Common Lisp.

I am also curious how difficult this would be to port to FreeBSD.

@ramin_hal9001 I think that the port to FreeBSD would be easy. As I understand FreeBSD and linux share many user space library. Through cffi I use with the following libs:

- libdrm
- libseat
- libudev
- libinput
- xkbcommon
- epoll

Of these I think that only epooll is linux specific.

The difficult part is to have something complete and solid.

I use #BSD and hence #kqueue instead of epoll.
But I also use #libevent via ffi (from a couple/few
different langs) and it abstracts over epoll/kqueue
very nicely.

https://libevent.org/

#OpenBSD uses it in some of their daemons
which gives it very good street cred w/unix.

tmux uses it too.
libevent