cl-autowrap

(c-include "file.h") => complete FFI wrapper (by rpav)

Cl-autowrap Alternatives

Similar projects and alternatives to cl-autowrap

  1. go

    The Go programming language

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. TypeScript

    1,419 cl-autowrap VS TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  4. book

    The Rust Programming Language

  5. FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  6. julia

    366 cl-autowrap VS julia

    The Julia Programming Language

  7. racket

    The Racket repository

  8. ocaml

    The core OCaml system: compilers, runtime system, base libraries

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. mal

    100 cl-autowrap VS mal

    mal - Make a Lisp

  11. milewski-ctfp-pdf

    Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source

  12. paip-lisp

    76 cl-autowrap VS paip-lisp

    Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"

  13. awesome-cl

    73 cl-autowrap VS awesome-cl

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

  14. hy

    66 cl-autowrap VS hy

    A dialect of Lisp that's embedded in Python

  15. cl-cookbook

    The Common Lisp Cookbook

  16. Pipenv

    34 cl-autowrap VS Pipenv

    Python Development Workflow for Humans.

  17. cffi

    16 cl-autowrap VS cffi

    The Common Foreign Function Interface

  18. dotnet-script

    Run C# scripts from the .NET CLI.

  19. c2ffi

    Clang-based FFI wrapper generator

  20. py4cl2

    11 cl-autowrap VS py4cl2

    Call python from Common Lisp

  21. peds

    Type safe persistent/immutable data structures for Go

  22. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cl-autowrap alternative or higher similarity.

cl-autowrap discussion

Log in or Post with

cl-autowrap reviews and mentions

Posts with mentions or reviews of cl-autowrap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-08.
  • Pair Your Compilers at the ABI Café
    4 projects | news.ycombinator.com | 8 May 2024
    Some Common Lisp FFIs have opted to coax this information out of the compiler. https://github.com/rpav/c2ffi is a C++ tool that links to libclang-cpp and literally outputs JSON with sizes and alignments. (It is then used by https://github.com/rpav/cl-autowrap to autogenerate a Lisp wrapper.) The older CFFI Groveller [1] works by generating C code which is compiled by the system C compiler (e.g. GCC or Clang) and, when executed, prints Lisp code that contains resolved values of constants, sizes, alignments, etc.

    [1] https://cffi.common-lisp.dev/manual/html_node/The-Groveller....

  • Why Is Common Lisp Not the Most Popular Programming Language?
    8 projects | news.ycombinator.com | 14 Feb 2024
    > Lack of access to the C libraries.

    ???

    I recently started learning Common Lisp for fun (and fun it is!) and the ease of accessing C libraries was one of the things that surprised me in a positive way.

    Using https://github.com/rpav/cl-autowrap one can simply write (c-include "file.h") and the API defined in "file.h" is accessible from Lisp. I can't think of a simpler way.

    Even without cl-autowrap, FFI using https://cffi.common-lisp.dev/ seems simple enough.

  • An Idea for Piggybacking Python (language) ecosystem
    3 projects | /r/lisp | 5 Dec 2022
    I think the closest is cl-autowrap. I can imagine a higher level wrapper around it by which it can translate the python header file into the CL counterpart, although I'm not sure how much work the translation might entail. Also, because python and lisp semantics can differ considerably, the generated code might be trying to do weird things - again an issue of translation.
  • Why Functional Programming Should Be the Future of Software
    11 projects | news.ycombinator.com | 2 Nov 2022
    Common lisp has a "pretty OK" story for calling C code whenever some speed is needed [0,1]. In my opinion, they suffer from some of the documentation/quick start problems that common lisp has, but they're otherwise usable.

    Some of Naughty Dog's late 90's/early 2000's games (Jak and Daxter, Jak II) were written in a lisp called GOAL, Game Oriented Assembly Lisp [2]

    [0] https://github.com/rpav/cl-autowrap

  • Common Lisp language extensions wish list?
    2 projects | /r/Common_Lisp | 12 Oct 2022
    The closest thing to what you request, that I'm aware of, is cl-autowrap (to use C code from Lisp) but it is not standard in any way. CFFI is the de facto standard for using C from Lisp across different implementations.
  • I have bolted together ECL and the Irrlicht game library
    4 projects | /r/Common_Lisp | 27 Jan 2022
    :claw tracks back to 2017 as a fork of cl-autowrap with cl-autowrap/pull/83 feature.
  • Common Lisp
    18 projects | news.ycombinator.com | 2 Oct 2021
    If you're interested in FFI, then yeah CFFI is the standard. The other comments addressed speed, I also wanted to point out https://github.com/rpav/cl-autowrap which is built on top of CFFI and can help get a wrapper up and running faster. After using autowrap's c-include you can then use CFFI basically like normal or some useful autowrap/plus-c's helper functions -- e.g. in one project, I have an SDL_Event (https://wiki.libsdl.org/SDL_Event) and to access event.key.keysym.scancode I have a helper function that's just (plus-c:c-ref event sdl2-ffi:sdl-event :key :keysym :scancode). Last year I wanted to try out using FMOD, and even though it's closed source and has a (to me) "interesting" API things worked easily: https://gist.github.com/Jach/dc2ec7b9402d0ec5836a935384cacdc... More work would be needed to make a nice wrapper, type things more fully, etc. but depending on the C library you might find someone's already done that (or made a start) and made it available from quicklisp.
  • [Common Lisp] Best Libraries for Interfacing with UNIX-like Operating Systems?
    3 projects | /r/Common_Lisp | 6 Sep 2021
    In recent years there has also been cl-autowrap; caveats -
  • Alternative to ECL?
    5 projects | /r/lisp | 27 Apr 2021
    There is the cl-autowrap that can generate lisp packages from C header filesc- I am unsure if it sticks to ANSI C or goes beyond. It inturn depends on c2ffi for the first time around.
  • A note from our sponsor - Judoscale
    judoscale.com | 20 Apr 2025
    Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues. Learn more →

Stats

Basic cl-autowrap repo stats
9
229
2.5
11 months ago

Sponsored
Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?