[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ideal performance of ELisp

From: Andrea Corallo
Subject: Re: Ideal performance of ELisp
Date: Tue, 16 Aug 2022 18:24:48 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lynn Winebarger <owinebar@gmail.com> writes:

> On Tue, Aug 16, 2022 at 4:59 AM Andrea Corallo <akrl@sdf.org> wrote:
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> >>>> Could it be possible to embed C snippets into lisp functions directly?
>> >>>> Similar to assembler snippets in C.
>> >>>
>> >>> Andrea is better placed to answer that, but I think it would be fairly
>> >>> easy to allow insertion of "C-like" snippets when the code gets compiled
>> >>> with the native compiler.
>> > I was thinking of a C-like DSL (probably with a Lisp-style syntax).
>> > Designed to be easy to translate to libgccir as well as not too hard
>> > to interpret when libgccjit is not available.
>> Yep that's an option, I thought about that as well, not sure how much
>> practical it is tho.  One of the downside is that we could not consume
>> nor provide any of the existing C header files.
> Ugh.  Why not inline LAP blocks?

You could inline LAP or even LIMPLE relatively easily but I don't see
any perf opportunity to take advantage from in doing that.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]