From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Ideal performance of ELisp Date: Wed, 17 Aug 2022 17:48:44 +0800 Message-ID: <875yir19qb.fsf@localhost> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32473"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Eli Zaretskii , Lynn Winebarger , luangruo@yahoo.com, acm@muc.de, emacs-devel@gnu.org, casouri@gmail.com To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 17 11:56:44 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 1oOFn1-0008Gi-Ph for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 11:56:43 +0200 Original-Received: from localhost ([::1]:33398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOFn0-0008Jr-Oe for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 05:56:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOFeK-0004Ba-ML for emacs-devel@gnu.org; Wed, 17 Aug 2022 05:47:44 -0400 Original-Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:35461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOFeJ-0008Q7-2V; Wed, 17 Aug 2022 05:47:44 -0400 Original-Received: by mail-ot1-x330.google.com with SMTP id o15-20020a9d718f000000b00638c1348012so4061860otj.2; Wed, 17 Aug 2022 02:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=Zsg7YjDg7SrYOkPfVuH/hhiy5I3XwFApEqGcYipWBNA=; b=EozmUg1t0aYIlrNpe+c1bCzWkmJIaKHczNqeDxwcQ6vbPWc8JkQeeiexXv/wz6RYpw 9OVGgjpGQgXyncgDgd2mmA92CLTYeIEsL7V1w8tCCRkuwTlQu4ma5VohZyKmA9eDIB+n +d2gm8E88C8rw5N32XTWeNE007CQPnTwgaKza9UJrFonZvJpHvx7hKR/HoV1IUSpTpLF TH+FJLJRp8eOmQvaqXm7wVHEO1kJlCatcqjmELYdSvc0eOsr51rMmcscPDrNk8EZe4c3 5+iTsgnrR0ZZvIpARIFDMqlgi4yuuTbpM89rQ/sHwEq3TcY5b6vjiTelcKA/70/LKsiY kUMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=Zsg7YjDg7SrYOkPfVuH/hhiy5I3XwFApEqGcYipWBNA=; b=cblCM6uV1rwXeMOGrRHr9/UmZjAcDbHzFD4EaFSK5/AE0D3yMNwm8gL9VeH3/gAN3a dOujYRRUbk+LxvwZ5nD6oCbsVrZ94R8lXOlqcU/UvDc5ZUazF3kyPU6KsJwhc12tZvwp G+uO9gpdxXJ601R2q+KHTZ8xHRvP0e7ret1C/JaXrY64zjH8eLjJO+x2cpPrCoppQBAe fPO4xLRXU41L0JybdnrBuqPGohAkgMOziTmgIrSKjZt4N1f5vTzoHYFOXWpyTJ3hyysD bgP0Ajq7VhHVnToyZNkQZRNHqNiIFMHfrU71S0rFqmLxdTd+qgcDDj2VPqATd2RH3O3Y rW3g== X-Gm-Message-State: ACgBeo2kSkHgdouPoOk8v+tIo49yt17FQvkNy7Kk94k486ylOhxRtlIc YPJmn6kH08z6YrsZAPhX8Xo= X-Google-Smtp-Source: AA6agR5p6mC7KEgJVb3A4f3+JDpxpnWRVNZ8YTO84qd3jnemyLx35/8MRQ9Ac9kuP+NLZuL4AwEUNg== X-Received: by 2002:a05:6830:561:b0:637:e084:23db with SMTP id f1-20020a056830056100b00637e08423dbmr8132035otc.238.1660729661446; Wed, 17 Aug 2022 02:47:41 -0700 (PDT) Original-Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id 6-20020aca1006000000b00344f61bbcb8sm514253oiq.3.2022.08.17.02.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 02:47:40 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=yantar92@gmail.com; helo=mail-ot1-x330.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:293537 Archived-At: Andrea Corallo writes: >>> 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. >> >> 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. I did not refer to C code verbatim but rather to whatever is the function used to translate Elisp "C" macro into libgccjit code. Such macro may refer to C primitives that are included in the file definition the libgccjit C wrapper. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92