From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Ideal performance of ELisp Date: Wed, 17 Aug 2022 15:02:42 +0300 Message-ID: <834jybdqn1.fsf@gnu.org> References: <838rnxvdcq.fsf@gnu.org> <83r11ptksn.fsf@gnu.org> <83a68dti6w.fsf@gnu.org> <874jykzvx9.fsf@yahoo.com> <83fsi4sttn.fsf@gnu.org> <838rnws5c7.fsf@gnu.org> <838rntocb8.fsf@gnu.org> <875yiw92p2.fsf@localhost> <87lero34b7.fsf@localhost> <875yir19qb.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24068"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, monnier@iro.umontreal.ca, owinebar@gmail.com, luangruo@yahoo.com, acm@muc.de, emacs-devel@gnu.org, casouri@gmail.com To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 17 14:05:29 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOHnc-00067n-PS for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 14:05:28 +0200 Original-Received: from localhost ([::1]:42670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOHnb-0001YD-8v for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 08:05:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHl9-0007gd-Pv for emacs-devel@gnu.org; Wed, 17 Aug 2022 08:02:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHl9-0000Kw-0J; Wed, 17 Aug 2022 08:02:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KHtG4VIyzwqXbQemEsH0+9sBtPlVve+Gs38ff05Kn68=; b=qkoawfeFH8mu jf7pUec/C2ws0lovmMjSnH0rFWagD9xiiCbeh1qJsk8HLenPzZyVrTbWBV5qsZXaW0+6E8aWZWn1R fb0ToCisLDtknWQVrsgy0MpBRK4wgTSImxYupxxXoRlSVAMXDpTXBGz7r51IMgNONPry9XEz0oQ+y nsLXXRdlujvSyoZbl6zyxwaNatEdLo02lnjQieaGRiQ8ULMKmfLXeYBszOdnNOr5R/moEogsOCpVl RzXc5L7L5ajGpg4oWKwaD6UG+Pm+EDgTGu7jWnwNN3G6kDVznFaLzq4CSGT4aE/hO+/wFexZNk5mI je4cxNkIuCXUVCFhZatGjQ==; Original-Received: from [87.69.77.57] (port=1715 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHl7-0001G6-7C; Wed, 17 Aug 2022 08:02:53 -0400 In-Reply-To: <875yir19qb.fsf@localhost> (message from Ihor Radchenko on Wed, 17 Aug 2022 17:48:44 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293548 Archived-At: > From: Ihor Radchenko > Cc: Stefan Monnier , Eli Zaretskii > , Lynn Winebarger , > luangruo@yahoo.com, acm@muc.de, emacs-devel@gnu.org, casouri@gmail.com > Date: Wed, 17 Aug 2022 17:48:44 +0800 > > Andrea Corallo 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.