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: Tue, 16 Aug 2022 17:50:36 +0800 Message-ID: <87lero34b7.fsf@localhost> References: <83lerxvfnu.fsf@gnu.org> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40214"; 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 Tue Aug 16 12: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 1oNtRw-000ACO-LJ for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Aug 2022 12:05:28 +0200 Original-Received: from localhost ([::1]:48528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNtRu-000262-Jd for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Aug 2022 06:05:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNtCc-0003rz-Is for emacs-devel@gnu.org; Tue, 16 Aug 2022 05:49:40 -0400 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:54808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNtCY-0007ax-1J; Tue, 16 Aug 2022 05:49:37 -0400 Original-Received: by mail-pj1-x102f.google.com with SMTP id gp7so9277259pjb.4; Tue, 16 Aug 2022 02:49:32 -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=PWLAhDOJX0WcP+YxvAMdwIAtbPepojn0sn/kTxFEVOA=; b=FLUBPTynWQmRVzhk4ElYWn/5HM4//rO9oQfjtsK22LoPAMCT8k7aH2Q5XW8BrHLZH7 3kzREsXgPlyMB+B5bgBp97x8Z7ZLwuYzhfMOZmCq4xKlFkULfN6z8zHnSQsMX43JT8RU IgKtyuTCGOazAxzpfo4hJ4j5BfR6mLlrYpIW3DczdgGj4ee2z74YTwIxewm/8k5eAXGX xBKGxm+S+8+FXhnJkZ1UrsW7eHVURl8HOxwm+oo4dCFE+eiVFG/ZvA6Pmi8RW50F0U9q vggc1/K0A7NS1yqrCfeRajuk9t8Zd4M1PA7l+Eswm6C1nvd1dp0S7oNKeMnmitzHcKQW GwVA== 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=PWLAhDOJX0WcP+YxvAMdwIAtbPepojn0sn/kTxFEVOA=; b=Sk3XncbBtJzKv9yHjgX8nQ50btduhX9T73HtEbyqLa2Rsfgdylxsk3+vjioPBiKaA1 OInhQaJuYSyxq+1nxt+4V/YDOrkKuTQao2acuNNTa9UldxbEMi/01zVzhyqD8GCEVL0j SMDC5HR5wfWAIIa0v3M9cphxMLMUyx5pSjhkkbrAFIQZJpjWg4+TiN3gPUAFFaMSUZpL Lu9gFgKPVdVW0XKybPj1wpHfArkuIcCyeHQj9G9A98Hm562I1/zCeVvd69kru+jmQx/W hawKaape5tzY+D+fQsC/9NuCv6qM0hMnonE9J/+ZKS3cawh7ocPGuePFC11BVnAxTJg/ aZkA== X-Gm-Message-State: ACgBeo3ue+UiRjjsbKvqGY0B57s5nWnIhKobATzmW++77N7Ubmz0227F LePj4eoqH+jyY6qy1rdYNNs= X-Google-Smtp-Source: AA6agR5V3Tk1vY7k1yK0/0bPB2exjdBg4b9gYQpc+QLS+AjaYrR8eJ41Z+Uoo01wEd3sgL1htu/LDQ== X-Received: by 2002:a17:90b:3884:b0:1f5:9333:25c8 with SMTP id mu4-20020a17090b388400b001f5933325c8mr22840490pjb.231.1660643371926; Tue, 16 Aug 2022 02:49:31 -0700 (PDT) Original-Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id o10-20020a170902d4ca00b0016be681f008sm8561579plg.290.2022.08.16.02.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 02:49:31 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.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:293496 Archived-At: Andrea Corallo writes: >> 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. Do I understand correctly that a certain pre-defined set of C headers can still be included? If so, it is not necessarily a downside. We may not want to allow loading arbitrary #include-s because it will pose a risk running non-free libraries inside Emacs. Yet, using the libraries already utilized by Emacs + internal Emacs constructs could be good enough. -- 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