From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Memory Pool System (MPS) Date: Thu, 22 Feb 2024 14:57:53 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5874"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 22 14:59:06 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 1rd9bO-0001KJ-1O for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Feb 2024 14:59:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd9aK-00080d-Og; Thu, 22 Feb 2024 08:58:00 -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 1rd9aJ-00080E-7n for emacs-devel@gnu.org; Thu, 22 Feb 2024 08:57:59 -0500 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rd9aH-0000IH-8W for emacs-devel@gnu.org; Thu, 22 Feb 2024 08:57:58 -0500 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a3f5808b0dfso228717266b.1 for ; Thu, 22 Feb 2024 05:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708610275; x=1709215075; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=yggLStdyJ3b2OezbZ8kX/TbDPCJy07F6RM5pbcGsOpk=; b=M7Zvcmmq+HMZUB9nBklNl14PA7hv2qHSdMElasMyKtOt/eG/6P9PgxqNrWu/tF+hOp vphwQA+5Xi803t1GOy0IB/J668g9BV7InRCxhKcbtfd+xTn0qwrd8IW7PqVIotY0J+Yb fQD978UUA2NfXLorNP7iuNsmYz3HtVYuDoIW/KY0Yyg6GjS7llnHhkeBBFcoOgBUhFyu sqVYJzQrP9Fx8lQHf63mFtdCwkwTXG9ToNDrtHs9pfkvDWd6J7vkLKkcWzuq5LMnBJAv G0Oe3nZ58M382R8V4/mB/+C0NDC+6tnaWlVkQmIEvWm0V4oS3ld9R2aUCCZlqC7kvQBm tN8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708610275; x=1709215075; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yggLStdyJ3b2OezbZ8kX/TbDPCJy07F6RM5pbcGsOpk=; b=FsXRnKBycm1KatkJdRsWNguieGBtwsQHm5LSLCe2+uOty53luKZz8I5eargqjpQGjG kSBzJ8ogxBKpHcq2TblSk4G4xdKxHB9L4jxsx4ZwkNIv/b4gYqCrSzfHpfHt9Tw/V3Du NzErJTCCwvwsx51dah7UYntir5BiI4vyRWjKkzW303zy2hv8Ql8pFsoVz8tcFd6pvUQJ XE3co6QRwQ6Uo6x8sYB+SOTTfGS8Fg9H3jY2ncM06XcZq9MpOgm/P01FCCZTUTBGY61N 0UtvN7oXPOqVsLCv+nkVshA/cdhftJxs4wfkpeOmJwslOuOeaDK+bTcYgdVdzcWpqpuZ BsjQ== X-Gm-Message-State: AOJu0YwxzaNtPRCyLQU88IcBGruxt6TP0g+smC/RGNgWMYgsqT2Q9lcD AM6Aq2+uyz1nRNgDOFDSEjPClKuHZR9iPYCF0MGgfosJktNmdjPs46Xs+v2t X-Google-Smtp-Source: AGHT+IGfyJEsP6lHJ14mPECNbW4iFD3R9kosa3Nf2hW1OvQw4P/vXqQfBIJx0m8m42cHl1R4Z36Gjw== X-Received: by 2002:a17:906:dce:b0:a3e:63bd:3ae1 with SMTP id p14-20020a1709060dce00b00a3e63bd3ae1mr8817666eji.9.1708610275101; Thu, 22 Feb 2024 05:57:55 -0800 (PST) Original-Received: from Pro.fritz.box (p4fe3a9b3.dip0.t-ipconnect.de. [79.227.169.179]) by smtp.gmail.com with ESMTPSA id tx17-20020a1709078e9100b00a3f4bafa6fbsm1434897ejc.168.2024.02.22.05.57.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 05:57:54 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.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:316451 Archived-At: A week or two ago, I stumbled over MPS again, after a long time: https://github.com/Ravenbrook/mps https://memory-pool-system.readthedocs.io 1. Overview of the Memory Pool System The Memory Pool System is a very general, adaptable, flexible, reliable, and efficient memory management system. It permits the flexible combination of memory management techniques, supporting manual and automatic memory management, inline allocation, finalization, weakness, and multiple concurrent co-operating incremental generational garbage collections. It also includes a library of memory pool classes implementing specialized memory management policies. The MPS has been in development since 1994 and deployed in successful commercial products since 1997. Bugs are almost unknown in production. It is under continuous development and support by Ravenbrook. The MPS is distributed under the BSD 2-clause open source license. IMHO, from reading the MPL docs, it appears it should be possible to use MPL with Emacs. Also, some interesting projects are using it, AFAICT. For example CLASP (a CL implementation), and OpenDylan. So... I'm wondering if anyone here has tried to use MPS with Emacs? Or has thoughts about it?