[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ideal performance of ELisp
From: |
Stefan Monnier |
Subject: |
Re: Ideal performance of ELisp |
Date: |
Sun, 14 Aug 2022 09:01:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> 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.
>>
>> Of course, we'd probably want to make it work even when the code is
>> interpreted (or only compiled to bytecode).
>>
>> It would probably offer very handy improvements to the module API.
>
> I think the main issue is that libgccjit does not compile C but
> libgccir. I can't think of a nice way to blend the two things as of
> now.
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.
Stefan
- Re: Ideal performance of ELisp, (continued)
- Re: Ideal performance of ELisp, Stefan Monnier, 2022/08/17
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/17
- Re: Ideal performance of ELisp (was: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2)), Ihor Radchenko, 2022/08/13
- Re: Ideal performance of ELisp, Philip Kaludercic, 2022/08/13
- Re: Ideal performance of ELisp, Ihor Radchenko, 2022/08/13
- Re: Ideal performance of ELisp, Stefan Monnier, 2022/08/13
- Re: Ideal performance of ELisp, Andrea Corallo, 2022/08/14
- Re: Ideal performance of ELisp, Ihor Radchenko, 2022/08/14
- Re: Ideal performance of ELisp, Eli Zaretskii, 2022/08/14
- Re: Ideal performance of ELisp, Andrea Corallo, 2022/08/16
- Re: Ideal performance of ELisp,
Stefan Monnier <=
- Re: Ideal performance of ELisp, Andrea Corallo, 2022/08/16
- Re: Ideal performance of ELisp, Ihor Radchenko, 2022/08/16
- Re: Ideal performance of ELisp, Andrea Corallo, 2022/08/16
- Re: Ideal performance of ELisp, Ihor Radchenko, 2022/08/17
- Re: Ideal performance of ELisp, Eli Zaretskii, 2022/08/17
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/16
- Re: Ideal performance of ELisp, Andrea Corallo, 2022/08/16
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/17
- Re: Ideal performance of ELisp, Andrea Corallo, 2022/08/17
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/18