From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Some experience with the igc branch Date: Sun, 22 Dec 2024 21:29:33 +0100 Message-ID: <87frmfihqq.fsf@gmail.com> References: <87o713wwsi.fsf@telefonica.net> <87ldw7fwet.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9279"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: =?utf-8?Q?=C3=93scar?= Fuentes , emacs-devel@gnu.org, Gerd =?utf-8?Q?M=C3=B6llmann?= , Andrea Corallo To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 22 21:30:25 2024 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 1tPSam-0002Jw-Rs for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Dec 2024 21:30:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPSa8-0005bt-4u; Sun, 22 Dec 2024 15:29:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPSa3-0005bX-C4 for emacs-devel@gnu.org; Sun, 22 Dec 2024 15:29:39 -0500 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPSa1-0007B2-CR; Sun, 22 Dec 2024 15:29:39 -0500 Original-Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5d3bdccba49so6144036a12.1; Sun, 22 Dec 2024 12:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734899375; x=1735504175; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ea0b4KpsRckLh0DZdUyrGK0VdxQt0SfhG7qygy37Isg=; b=M6wFN+xMETHPp90uqbbMk2pc+QKAW1iKghA5oN5xeWvP8UBjcnoJxOhO2FQ7hnkbdz 3VIMfid8e/ToRnJ4yDFm5iZDWo7UdG2umQnvAJgWB//FTpcl4pybjY02YcaUP43NYbUm oZWRrLUMdWRzGElkYFTcqeOoSiKMziu85aO/qf56uRFKUPJb7Kw74Demvzb2TTHRwm41 KYQaZUUf+/9B+DFEShiVzEZJnavWaTPqsto0ceogRT0o1VmFpE4uTBFt08QFgZA8ycZZ RgjUJHVE2yW1EgUE6OpctDc9O5fG/J3suV8UINrrB3ecmwVoAtw7QE+PfYXQyB9qA/0c 1ctA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734899375; x=1735504175; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ea0b4KpsRckLh0DZdUyrGK0VdxQt0SfhG7qygy37Isg=; b=dYCzVyv7NaHrGmewKbtN9AV/8SbbHl8kjwG7Aoubxw92a9k4eLvk3g837KEWRBqfVB lurvAuN+bMCxCEOu0Yn4sjzjDKK8QK7lGjM2lSjAqUvfBn8GC6V9UO3tpeO/X7JdWU67 /ge5YvSihDhMt9V17tHmKQ3LSJTCobpg+OcmCLxUQ73vivdGRtbrM4EKopjQRmP131IP 4LzUY38OiOB6Be7XioCWrdNH1HY87EvP1RSbDJcf1+afHu19afr2Wg4RrqKHSJAZZolm vGAN/F+srcrdv/eIPwnvJ8jJe4XD+Nv4VU7ApVdxk5hrcOOQZ+Lp7+5yTrILTFrWIEh5 t5Zg== X-Forwarded-Encrypted: i=1; AJvYcCVmH3h49qW6+9g5lKO2jK+3NAJ/DcUKMpa4+Q5eMB8s8Gi73/IjF1YxSmILuv0SKiLUJFN9xeqeSw==@gnu.org, AJvYcCXs3TjKN+FqyiPXGfzl1etjcz204jhq1xagwzSPoNPnXUosIWO8wnU5p9hhCikY9LTqrr26Kl3TDN6ffiw=@gnu.org X-Gm-Message-State: AOJu0YwJBhT164ryIP/9969ihZiTcoR0NXW1uyKecKESkW/n2l67emfg NBPZOfjRTT4ABYmRM7kHa8koMeOjWvpU4htYrL92+1NQVijL0OS3VyBAEscI X-Gm-Gg: ASbGnctPnyxuODo4kXMG5kWeNNzozD1L8px4cKTSB8QXqk60l8Lwh7IhII4zR9MGCzf E9I8pddQQpRf6KMg34C4wxSDN56zHkLkD6wvrB4bxAl5/MsjtOdUVja8iBmeb0tCjacQiBjhUyz 0JKv4Cz+Xdkb4zrgG2b1ol3E8Xpm8DRh7GYwYs7vI5vNApnLRjTEbhyvfs4x9sqKSmpUMz/MCiM lGVOrQs52hoXujZoeP1Gg3KshSbVvEY5JhhnxeyfStNEJBnWhMh2YY= X-Google-Smtp-Source: AGHT+IHrViEr8yBx3G8RiuLsZBD6Zdw8hmRFjxexP22D4SHXZsl8/eHJ6qd+t5UFaALMNhNrTTZv+w== X-Received: by 2002:a05:6402:5243:b0:5d0:b51c:8479 with SMTP id 4fb4d7f45d1cf-5d81dd9c935mr9548893a12.10.1734899374702; Sun, 22 Dec 2024 12:29:34 -0800 (PST) Original-Received: from caladan ([31.177.115.143]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d806fed4e1sm4177019a12.70.2024.12.22.12.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 12:29:34 -0800 (PST) In-Reply-To: <87ldw7fwet.fsf@protonmail.com> (Pip Cet's message of "Sun, 22 Dec 2024 17:41:47 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=eller.helmut@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326884 Archived-At: On Sun, Dec 22 2024, Pip Cet wrote: > 2. no-purespace. Merging that into scratch/igc would help, well, me. > What do others think? No objections from me. > 3. bytecode stack marking. That comment raises my red-flag alert, > because it sounds like we're just accepting a preventable crash at this > stage rather than wanting to do anything about it. The reality, of > course, is different, but I'd be happier if we refused to create a byte > code object that intends to use more stack than we can guarantee we > would scan. Can we do that? Maybe the bytecode engine could handle large stack frames differently from small stack frames. For large stack frames we would: 1. initialize the stack frame with NULLs 2. bump the stack pointer 3. now the stack frame is usable For small stack frames, we would skip step 1 but the GC would always scan one extra "small frame with maximal length". Helmut