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: MPS: Forwording symbols Date: Tue, 18 Jun 2024 21:36:22 +0200 Message-ID: <87le3282mh.fsf@gmail.com> References: <87jziod6yc.fsf@gmail.com> <874j9rcuf6.fsf@gmail.com> <87y173bda9.fsf@gmail.com> <87plsfbcd5.fsf@gmail.com> <87iky6boz7.fsf@gmail.com> <878qz2bh3u.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10078"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel , Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 18 21:37:04 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 1sJedb-0002Vm-Jb for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Jun 2024 21:37:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJed7-00013t-BL; Tue, 18 Jun 2024 15:36:33 -0400 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 1sJed3-00013P-C5 for emacs-devel@gnu.org; Tue, 18 Jun 2024 15:36:29 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJed0-0001aF-Mv; Tue, 18 Jun 2024 15:36:28 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-35f1691b18fso4776405f8f.2; Tue, 18 Jun 2024 12:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718739384; x=1719344184; darn=gnu.org; h=content-transfer-encoding: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=XnW5XKDX7lsy1y5IxFKPrBLABXeuks6Y0AOxKPiQQj0=; b=nYGXYG0JmAM1Kd1MWg6zJIQMFe93liJbRvzUDohc1GILymOanLlcB/6evuQ7LSkXF7 sBQQvlTPLWK0S0uPyBveznMdj2deEyNNboCes+X664+5czfCFD8cmQ7d2zvObCndLL3F G/0Txd7UIAFGVpQRHLjo5WqJolTnFVNTO6tK7LFRtwVkQtpsu4fT8sKEjhB+yUvPIRjo 9A4vIKfMaqGOA6X3GTY6wr9reT5JxZzOCSq/LeBsjwWWgS3J5B3toPxICx68cTzeiYJ5 FMDxcCLDWuDQEAof5ZPbq2/uFu781ZVcSmM6UCQ8ahxrUbeDaKjbsqBCQHt26lf0aNvr X5Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718739384; x=1719344184; h=content-transfer-encoding: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=XnW5XKDX7lsy1y5IxFKPrBLABXeuks6Y0AOxKPiQQj0=; b=sYpchh83trc4cFj90FbGgXJ4xQ6S08waoMDGKozIFPLnFjkwsnWVmtZgBY+jiFixn4 PnFvsx7xUFtBYZ8dYQWQ2+IunjwlAZIasp3/cjlrIuPYi0l6/MUdVhx4+R8kjUTyoqrs 2SN1SAeGS4IN7h2JukMGfe7nR7/JPCtnGejkb7ib4erMlg8YOadHoLq/j6EdH5MVRl7O K6sAuf9ZmODdeBLERkl9IK0SPqUBgPfxj//TGfs9WUDVS7wx8YNW76x6EUVjn+8ExnGV h+fTJK4MPfMkQWWqkQMJcKe9oP7xkkdf55uclOPvggsrqSSvKZKpTD53Z2IQ36JMt24J SzGg== X-Forwarded-Encrypted: i=1; AJvYcCXLtGnsSVRxowcn/aGf1fvQ9u3cfxr1/0JNdvC5obc1Uzv2YroZeBdn6LQ0waMoTT7feFjJWf0Ih9/iMZM= X-Gm-Message-State: AOJu0YwfVvWk2OsG9CLmegsG5UyCJrIIwg7LrF/M511ajiLFCgxC3YNd pcKKG3/2uSVv+1tDl91w788IHglaMinjcbOF/PGw5bGl7fRwj40CUhNWBQ== X-Google-Smtp-Source: AGHT+IGFb4Cv2pQQUJ0PmlUdEuEk19otEnoK10WFusbg8iDT02HBlj778nrpratlUje4hqaA61oRBQ== X-Received: by 2002:a5d:456a:0:b0:362:b4d1:b77 with SMTP id ffacd0b85a97d-363195b3251mr325620f8f.45.1718739383613; Tue, 18 Jun 2024 12:36:23 -0700 (PDT) Original-Received: from caladan (dial-189091.pool.broadband44.net. [212.46.189.91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-422874e6b63sm237884135e9.39.2024.06.18.12.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 12:36:23 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Tue, 18 Jun 2024 14:21:21 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=eller.helmut@gmail.com; helo=mail-wr1-x42c.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, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320267 Archived-At: On Tue, Jun 18 2024, Gerd M=C3=B6llmann wrote: > I meant the mirroring code. I find it still funny that I completely > overlooked the idea of simply loading the dump into an area allocated > from MPS :-). Instead: here's a object graph, or graph(s), - and wee > let's copy them :-). Really strange :-). All the examples in the documentation for mps_reserve, allocate a single object. That was probably the reason why I didn't even consider the possibility that it can also be used to allocate many objects or an array of objects. I only noticed that MPS makes a distinction between blocks and objects, when I was re-reading the documentation to see if what MPS calls object formats is the same as what I called layout in the codegen. BTW, MPS also has a pool for stacks. Maybe prstack etc. could use that.