3 ms·
One of the salient features of Lisps is that they are dynamic languages designed so they can be compiled into very efficient code. The details of how this work
by pfdietz 5y ago
One of the salient features of Lisps is that they are dynamic languages designed so they can be compiled into very efficient code. The details of how this works are interesting (for example, the use of low order bits as tags to efficiently detect common error cases, and also to allow types like characters, fixnums, and some floats to be represented without allocation.) A downside of this is that lisp implementations may not be ABI compatible with other language implementations.
The macros are orthogonal to this. Macros are really just an example of a more general thing: features that are used to effectively implement parts of the language definition are often lifted up and also made available to users. This effectively allows the language to be extended in a way that very closely resembles the language's built-ins. (This is not always the case; lifting more such things would be a good avenue for extending Lisps.)