cffi VS clog

Compare cffi vs clog and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cffi clog
16 150
416 1,425
0.7% -
4.0 9.6
about 1 month ago 6 days ago
Common Lisp Common Lisp
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cffi

Posts with mentions or reviews of cffi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-21.
  • A few newbie questions about lisp
    4 projects | /r/Common_Lisp | 21 May 2023
    When you want to do anything that breaks the nice bubble of your Lisp image, you might want to know a bit about your operating system's programming interface. This will come in handy if you ever need to wrap a library with CFFI. There are some things that are pretty inconvenient as a rule (like dealing with any protocol that uses network byte order), but if you stay within the bubble of your Lisp image, you won't really notice them.
  • *UPDATE* - CL-OBJC
    3 projects | /r/Common_Lisp | 6 Mar 2023
    I'm just posting the work that I have done over the last year or so on CL-Objc. I'm still blocked from better support (e.g., passing structs by value for frameworks like UIKit). I just wanted to post what I have done online for others interested in the work or motivated to collaborate on this.
  • Waiting on feedback - CFFI PR
    2 projects | /r/Common_Lisp | 2 Mar 2023
    Good morning ladies and gentlemen, I have been waiting on some feedback for PR in CFFI. This feature is blocking me from reviving CL-OBJC. Any help will be appreciated. Thank you in advance.
  • Anyone else able to kill threads in SBCL on M1 mac?
    1 project | /r/lisp | 8 Feb 2023
    Is that actually https://github.com/cffi/cffi/commit/33970351e71bb5f12ba56fc40270089e948ae112 ? I.e. after loading cl+ssl. (Although Hunchentoot does not interrupt threads)
  • Programming the Raspberry Pi GPIO pins using Common Lisp?
    5 projects | /r/lisp | 1 Feb 2023
    Maybe access the pins using CFFI, https://github.com/cffi/cffi package and one the libraries mentioned here? https://www.bigmessowires.com/2018/05/26/raspberry-pi-gpio-programming-in-c/
  • Why Functional Programming Should Be the Future of Software
    11 projects | news.ycombinator.com | 2 Nov 2022
  • Updating Quicklisp Packages
    1 project | /r/Common_Lisp | 8 Sep 2022
    FTR, on my system QL fetches CFFI 0.23.0 and the fix/error I'm talking about is https://github.com/cffi/cffi/blob/master/src/libraries.lisp#L106 and seems to have been added iin this PR https://github.com/cffi/cffi/pull/173/commits/263b38f4f2600dbacde8f2b313620c35a563c6df so the fix should be in CFFI 0.24.0 released 24 March 2021.
  • CFFI and frameworks on OSX
    1 project | /r/sbcl | 8 Sep 2022
    FTR: this is the PR https://github.com/cffi/cffi/pull/173/commits/263b38f4f2600dbacde8f2b313620c35a563c6df
  • interested in learning lisp, (specifically for games, but also for everything else including tui and gui applications for linux. currently have next to no programming knowledge, can i get forwarded some resources and some tips on what exactly i should do? any videos i should watch?
    17 projects | /r/lisp | 23 Jun 2022
    C: Alternatively (more difficult) you could try to wrap the underlying C layers of either of those mentioned under Python with CFFI. The C-based game engine, Raylib, is also wrappable this way. I finished a super cool walking simulator in CL with that, but it is more tedious than the others since raylib is really barebones.
  • Common Lisp
    18 projects | news.ycombinator.com | 2 Oct 2021
    I feel inspired to start Lisp after being disappointed with the "open" source scene of 2021. I'd rather pay LispWorks a yearly fee and be left alone than dealing with unbalanced people in the Python space. The free Lisp implementations also look somewhat isolated from the ideological wars.

    However, a C interface is required. Is this one the recommended solution? Is it really portable?

    https://common-lisp.net/project/cffi/

    What is the speed compared to a Python C extension? Are implementation-specific C interfaces faster (I guess they are)?

    Sorry for so many questions, but these can usually only be answered by people who have actually used the interface.

clog

Posts with mentions or reviews of clog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-24.
  • Embracing Common Lisp in the Modern World
    6 projects | news.ycombinator.com | 24 Jan 2024
  • Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
    17 projects | news.ycombinator.com | 1 Jan 2024
    Reminds me of the approach of CLOG (Common Lisp Omnificent Gui[1]) and its ancestor GNOGA (The GNU Omnificent GUI for Ada[2]).

    They also integrate basic components and even graphical UI editor (at least for CLOG), so you can essentially develop the whole thing from inside CL or Ada

    [1] https://github.com/rabbibotton/clog

    [2] https://github.com/alire-project/gnoga

  • Common Lisp: An Interactive Approach (1992) [pdf]
    7 projects | news.ycombinator.com | 10 Oct 2023
    For me David Botton [0] with his work including code, support and videos is doing very nice work in this direction.

    I use SBCL for everything but work because I cannot get; we are getting there, but like you say, it’s such a nice experience working interactively building fast that it is magic and it’s painful returning to my daily work of Python and typescript/react. It feels like a waste of time/life, really.

    [0] https://github.com/rabbibotton/clog

  • CLOG - The Common Lisp Omnificent GUI
    1 project | /r/lisp | 30 Jun 2023
  • Clog The Common Lisp Omnificent GUI
    1 project | /r/hypeurls | 29 Jun 2023
  • Clog – The Common Lisp Omnificent GUI
    2 projects | news.ycombinator.com | 29 Jun 2023
  • Tkinter Designer: Quickly Turn Figma Design to Python Tkinter GUI
    4 projects | news.ycombinator.com | 29 Jun 2023
  • Want to learn lisp?
    3 projects | /r/lisp | 18 Jun 2023
    I was following along on the Windows page and didn't check back on the main README to see if any of the other instructions would help.
  • All Web frontend lisp projects
    10 projects | /r/lisp | 23 May 2023
    It the answer is "latter", then you could look at Common Lisp and Reblocks (https://40ants.com/reblocks/) or CLOG (https://github.com/rabbibotton/clog).
  • How to Understand and Use Common Lisp
    5 projects | news.ycombinator.com | 14 May 2023
    I haven't used Clojure professionally in 10 years so with a grain of salt here are my thoughts as only one other person answered...

    CL over Clojure: it's the OG Lisp that the creator of Clojure used and wanted to continue using but faced too much resistance from management afraid of anything not-Java/not-Oracle, or not-CLR/not-Microsoft, etc. Clojure shipped originally as "just another jar" so devs could "sneak" it in. If you don't have such a management restriction, why Clojure? If you want to integrate CL with the JVM, you can use the ABCL implementation, there's also something from one of the proprietary Lisps. Some useful CL features that are nice in this domain: conditions and restarts mentioned in a sibling comment (very nice to help interactively develop/debug e.g. a selenium webdriver test), ability to easily compile an exe (perhaps useful for microservices, or just to keep your deployment environment clean and not having to care about Lisp), and ability to easily ship with an open local socket allowing you to SSH in (or SSH port forward) and debug/fix/poke around in production (JVM of course lets you attach debuggers to a running process, even certain billion+ dollar companies will have supervised/limited prod debugging sessions for various hairy cases, but it's not as interactive). You should never hear CL advocates claim you can't scale to large teams/groups of engineers or large multi-million-lines sized projects, though you might oddly hear Clojure advocates sometimes claim you can't (and shouldn't) scale to such large projects -- large groups of engineers are a non-issue for them as well though, the challenge is in hiring, not in the language somehow making it impossible to modularize and keep people from stepping on each other.

    Clojure over CL: its integration with the JVM is nicer than ABCL's, so if you do actually want a lot of the great world of Java stuff, it's easier to get at. Database integration libraries are better. Access to libs (Clojure or Java) is via Maven, so it's a larger ecosystem with more self-integrating components (especially around monitoring/metrics) than what's available for Lisp via Quicklisp. Clojure is very opinionated, much of it quite tasteful, and that gives the whole ecosystem a certain consistency. (You can have immutable data structures in CL, you can if you want use [] for literal vectors and make them syntactically important e.g. in let bindings, but not everyone will be on board.) Even though its popularity seems to have stopped growing, at least at the same rate as e.g. Go which it was keeping pace with for a while, it's still popular enough with a bigger community; as a proxy measure there are multiple conferences around the world and good talks at adjacent conferences, whereas Lisp mostly just has one conference in Europe per year and only occasional branching outside of that.

    If you're doing a client-side-heavy webapp, ClojureScript is still amazing, CL's answers there aren't very compelling with the exception of CLOG (https://github.com/rabbibotton/clog) which takes an entirely different direction than the usual idea of translating/running Lisp on top of JavaScript and its popular frameworks.

What are some alternatives?

When comparing cffi and clog you can also consider the following projects:

cl-autowrap - (c-include "file.h") => complete FFI wrapper

kandria - A post-apocalyptic actionRPG. Now on Steam!

go-ffi - Go bindings to libffi

stumpwm - The Stump Window Manager

racket - The Racket repository

awesome-cl - A curated list of awesome Common Lisp frameworks, libraries and other shiny stuff.

trial - A fully-fledged Common Lisp game engine

electron-sbcl-sqlite - A simple boilerplate that builds an Electron app with SBCL and SQLite3 embedded

cl-parametric-types - (BETA) C++-style templates for Common Lisp

weblocks - This fork was created to experiment with some refactorings. They are collected in branch "reblocks".

paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"

kons-9 - Common Lisp 3D Graphics Project