From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Spenser Truex Newsgroups: gmane.emacs.devel Subject: Re: On elisp running native Date: Sun, 15 Mar 2020 07:21:29 -0700 Message-ID: <87y2s18zrq.fsf@spensertruex.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="12773"; mail-complaints-to="usenet@ciao.gmane.io" To: Andrea Corallo , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 15 15:23:17 2020 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 1jDUAf-0003Dk-CN for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 15:23:17 +0100 Original-Received: from localhost ([::1]:54468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDUAe-0006G7-0i for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 10:23:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53553) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDU9F-0005nS-Ig for emacs-devel@gnu.org; Sun, 15 Mar 2020 10:21:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDU9E-00047x-Da for emacs-devel@gnu.org; Sun, 15 Mar 2020 10:21:49 -0400 Original-Received: from spensertruex.com ([66.70.189.182]:49996) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDU9E-00045u-8q for emacs-devel@gnu.org; Sun, 15 Mar 2020 10:21:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spensertruex.com; s=myselector; t=1584281922; bh=5slR/TIe4TcTTMDhsOHDKpyqC4dWNvDk6sZnxtJbEkg=; h=From:To:Subject:In-Reply-To:References:Date; b=lv1IbAnn7ce01nvuDx7KhsglueIm2ahXEEFhSLDRfB8YZZkcCS/MRc7nzkT+DHT23 CK/vC6RIRdC4GirKhOXY2bEzpXOMgEDoq8bw0YUOYdr59gs5IxIX49mN8w25TD69VQ 9zaEwFQSdZ6bVlsJpLxzVLxwqtmNngy4ayJVFBEEESy75HFGFK7LKsmcjaK3WZ5SDF OELiXFh+F7nBfyJhNqN/RPxdfcfR0tPLriLzmDXYMwYk63oRwcAIxZULsoR9D2+DXd CCVbO1p5Qy7UjIlwK6WQLisXWqD2TVi4rvLMFJAQyvYz2lQy69+iUoFXhAVpxagsTe BCMF24AglkSdQ== In-Reply-To: (Andrea Corallo's message of "Thu, 28 Nov 2019 06:54:10 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.70.189.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:245527 Archived-At: Andrea Corallo writes: > In case this is of interest I'd love to see it as feature branch to > better collect feedback and work on its evolution. I have a comment about `1.6 Compiler hints' http://akrl.sdf.org/gccemacs.html#org7d51b3b I think it is better to avoid using separate symbol for each hint, and instead use on that looks like a normal prefix notation. (comp-hint-cons x) --> (comp-hint cons x) This keeps the namespace cleaner. Also, consider the situation of specifying multiple types, which may be desired at some point: (comp-hint (cons fixnum...) x) which can't be done symbolically (comp-hint-cons-fixnum-...? x) (comp-hint-fixnum-cons...? x) All this compiler stuff is way over my head, so if my syntactic taste is overshadowed by a more important consideration I will not be surprised. Hope it helps. > Andrea -- Spenser Truex spensertruex.com San Francisco, USA