For C compatible variadic dispatch, the compiler now generates two entrypoints for variadic functions. An entrypoint with specialized signature that is used for direct C calls from the same file and an entrypoint with generic signature that implements the variadic to variadic dispatch, i.e. checking the number of arguments and then calling the specialized entrypoint. This approach is faster than using the wrapper functions in variadic_dispatch_table. The reasons are threefold: we save a call to ecl_process_env(), we don't need a call through a function pointer but instead use a direct call to the specialized entrypoint and we emit better code to deal with required arguments since the number of those are known. Moreover, for functions with optional arguments the new approach is less stack hungry since we can allocate an array of size smaller than ECL_C_ARGUMENTS_LIMIT to store the arguments. |
||
|---|---|---|
| contrib | ||
| examples | ||
| msvc | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| appveyor.yml | ||
| CHANGELOG | ||
| configure | ||
| COPYING | ||
| INSTALL | ||
| LICENSE | ||
| Makefile.in | ||
| README.md | ||
ECL stands for Embeddable Common-Lisp. The ECL project aims to produce an implementation of the Common-Lisp language which complies to the ANSI X3J13 definition of the language.
The term embeddable refers to the fact that ECL includes a Lisp to C compiler, which produces libraries (static or dynamic) that can be called from C programs. Furthermore, ECL can produce standalone executables from Lisp code and can itself be linked to your programs as a shared library. It also features an interpreter for situations when a C compiler isn't available.
ECL supports the operating systems Linux, FreeBSD, NetBSD, DragonFly BSD, OpenBSD, Solaris (at least v. 9), Microsoft Windows (MSVC, MinGW and Cygwin) and OSX, running on top of the Intel, Sparc, Alpha, ARM and PowerPC processors. Porting to other architectures should be rather easy.