From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Some experience with the igc branch Date: Wed, 25 Dec 2024 13:40:46 +0000 Message-ID: References: <87o713wwsi.fsf@telefonica.net> <87ldw6as5f.fsf@protonmail.com> <86o7112rnq.fsf@gnu.org> <867c7p2nz4.fsf@gnu.org> <87y104aih6.fsf@protonmail.com> <87ikr89gyp.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33438"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , ofv@wanadoo.es, emacs-devel@gnu.org, eller.helmut@gmail.com, acorallo@gnu.org To: Pip Cet , =?UTF-8?Q?Gerd_M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 25 15:24:50 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 1tQSJc-0008VY-Gj for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Dec 2024 15:24:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQRd9-0007uD-P8; Wed, 25 Dec 2024 08:40:55 -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 1tQRd7-0007tv-Im for emacs-devel@gnu.org; Wed, 25 Dec 2024 08:40:53 -0500 Original-Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQRd4-00028n-56; Wed, 25 Dec 2024 08:40:52 -0500 Original-Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5d7e3f1fdafso11440592a12.0; Wed, 25 Dec 2024 05:40:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735134047; x=1735738847; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=b5PfaYcdT7PLelvVDJ8f3vN+gOgSOVHVNf+uUD7bfI8=; b=DyFOC5QdnlP2NygrUhMEBL7Q1ssYghtrqDK4rHDPRnLSMRhULWTubd8NJX1UjBccuJ Pkm3wFFq0roDm6fMSqzyc7Bdp5KcL1OPE9N7XAC4oBErLXHJMyh3nd6eNeYU/yM63LnW pMupNqSlzfBVFpQzwth+KAdCb2/CUnFGKOwRIVdxkO1HC1W78rOUxepTz0WxcczCw9Xp z94UT8J7qHILRqaen8gqKKPQIRpa9dB+Lz/LJt/U8gH4aDL0iCfBkz5Mhpl4H3M5y1zu antpLf0vOrIBYB9Ok2LpuR2CjjrUnaG0Z2bWmgN6LbeqFWHyFtbkwCy/8EaIHdSrGXBP cHog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735134047; x=1735738847; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=b5PfaYcdT7PLelvVDJ8f3vN+gOgSOVHVNf+uUD7bfI8=; b=hhVxNB6WGdFpO/bYyOV3ub3aXIDOgn/nubP6wXcCfpE2GsVhcAvc20fwVYVMU/bCde sa02p1UsklPBbQH/GXcq4vs/CXJ+5oCH/HrNDrXSkpj7p0RaelZ9cDcIe6BakwAObjOF gaSqrsv7zFW5uBIlvSL+Z87BNXTNLvh43LxXWjIb0Xo8vGsm71qxazjVKcaCazzFfvP+ Qdv6MGCjZ0YZm0CqDvwjmIJz7pNFydvIZ+pvdGLOXHKfBr5Nc2SkLoGn64WIrD+YxF+w aDpfQG2w2mj6Y8c1iGzOO8BCFupNBqk49eohpUGOBqPrtn5N8NlCvb4EytLQLyzp2EUt dLlg== X-Forwarded-Encrypted: i=1; AJvYcCUphMsr5zvBBYxkeyFA17apyhmMZ0I/LG2K9wouzEMmQoueDDakPHOJdoUyclmMsGpAfovn22GLaQ==@gnu.org, AJvYcCUpjMJoK5bNtgAJaXglJSZGnktp50sr1/OMNSU6lnN+SMjS+wVFrFIq9Vf77oRXCj/UGhTIz/Qylrm5OBY=@gnu.org X-Gm-Message-State: AOJu0YwvhFb2uHtZiDFXRyOlMED75HO4yvnTu6yA/gZJ7+dmDbwVRC0Q hCp2oiS+iWxxA4buF8MhQOVC8zPJh9ofaf+ItzINm0HG79X7Wrjg99O6GuXxcgnWEMcUOTewTtL d6ZlcxDKQx2DJA4dHr1cJ2PXIz78= X-Gm-Gg: ASbGncsbVmimc0gD7PDLGlArIaoo9fypX6ukijAbX+Se80nX1dz8WqiE9hKcVXKvPtU CRu3aJs/XqD4W07sFYIXxAnBbHlU9WXoKryJi98I= X-Google-Smtp-Source: AGHT+IGv90N8CmPqNO5pwtBss1uTfugUaBWEJNV7iKZAtH6bGU52Hv/iapL62BP1hARbKWiifSjrZcthSSEswubEKFA= X-Received: by 2002:a05:6402:210a:b0:5d0:81af:4a43 with SMTP id 4fb4d7f45d1cf-5d81dc797b5mr16188437a12.0.1735134046545; Wed, 25 Dec 2024 05:40:46 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Dec 2024 13:40:46 +0000 In-Reply-To: <87ikr89gyp.fsf@protonmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x533.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:327099 Archived-At: Pip Cet via "Emacs development discussions." writes: >> I think that's already true for the old GC. There is nothing >> guaranteeing that the contents of the binding stack is consistent, for >> example. But we get away with it well enough that the profiler is >> useful. > > My understanding is that was true at one point, before C caught up to > memory ordering between a thread and its signal handlers, but with C11, > we have everything we need to ensure consistency, at least on systems > that store words atomically (we don't use memcpy for modifying the > specpdl stack). Which parts of C11 help us? I'm probably missing something obvious, but aren't we using C99 on the scratch/igc branch also?