[Top][All Lists]

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

Re: Ideal performance of ELisp

From: Eli Zaretskii
Subject: Re: Ideal performance of ELisp
Date: Wed, 17 Aug 2022 15:02:42 +0300

> From: Ihor Radchenko <yantar92@gmail.com>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  Eli Zaretskii
>  <eliz@gnu.org>,  Lynn Winebarger <owinebar@gmail.com>,
>   luangruo@yahoo.com,  acm@muc.de,  emacs-devel@gnu.org,  casouri@gmail.com
> Date: Wed, 17 Aug 2022 17:48:44 +0800
> Andrea Corallo <akrl@sdf.org> writes:
> >> Do I understand correctly that a certain pre-defined set of C headers
> >> can still be included?
> >
> > Where do you undersand that from?  libgccjit does *not* consume nor
> > compile C code as input, header files are just that.
> An example in https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html
> is using functions from stdio.

Only for the program which creates libgccir, not for libgccir itself.
The program that creates libgccir uses functions like 'exit' and
'fprintf', so it needs the headers which declare them.  But the
generated code, which is then compiled by libgccjit, doesn't call
those functions.

reply via email to

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