From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Sv: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?] Date: Tue, 30 Mar 2021 21:08:43 -0400 Message-ID: References: <87r1jxd3d8.fsf@gnu.org> <8e549f23-db75-2ef1-4399-0fb52e5efa6f@gnu.org> <87zgykn5qc.fsf@gnus.org> <83sg4ckbfw.fsf@gnu.org> <87mtukn463.fsf@gnus.org> <83o8f0kaoj.fsf@gnu.org> <83mtukk9b3.fsf@gnu.org> <2e968b98-2264-03e7-d0b2-5570c94b6fb7@gmail.com> <838s64k3xk.fsf@gnu.org> <8260671e-df0a-e471-79fb-82f80e11696a@gmail.com> <837dlok1zj.fsf@gnu.org> <35cb99a0-4350-f100-0c23-d554e6548bcc@gmail.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="15883"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: =?windows-1252?Q?Cl=E9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 31 03:09:40 2021 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 1lRPMa-00042m-Ch for ged-emacs-devel@m.gmane-mx.org; Wed, 31 Mar 2021 03:09:40 +0200 Original-Received: from localhost ([::1]:60776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRPMX-0006CH-Fj for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Mar 2021 21:09:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRPLv-0005n2-Ih for emacs-devel@gnu.org; Tue, 30 Mar 2021 21:08:59 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRPLs-0006ZF-RO; Tue, 30 Mar 2021 21:08:58 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 19FED8070D; Tue, 30 Mar 2021 21:08:55 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CAEB18022C; Tue, 30 Mar 2021 21:08:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1617152926; bh=IWgqYIYA9maFmvPp2ZSLWCqTiC8q436GGX9dsUocRPU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UYvhQCWBckMC2ylyedh3RFUL2iXaHhGztF2u8olZM77MeqbGOnu7x61nNxrkwURpR 59XSlVSsXjWmRUng4+f+2fItIyPjXrsUqhj7/Bdqc5WLdTKTaGM4CNmE2q7CsFuEm9 oPS6VapnrSV1UVOM1NSlOJXE7wNxMp1RDmf49RUhKypANURTg/fNySZICeVznTwP6F 40ysLg3brQaFvaV+SzCJTMqrZ3AB1TdMLlgkGyLV6hkJrRZNqyCHZdOiRf7Ctrs7VC ItOfUW+puzyIMeu3Kcv+9+tcdHH5I0woKNr5SMS3aaX8vxyTwVPKdi9I/9RNg35wBR /uoxNAfSwHlOQ== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 64CC71201E0; Tue, 30 Mar 2021 21:08:46 -0400 (EDT) In-Reply-To: <35cb99a0-4350-f100-0c23-d554e6548bcc@gmail.com> (=?windows-1252?Q?=22Cl=E9ment?= Pit-Claudel"'s message of "Tue, 30 Mar 2021 15:53:21 -0400") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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.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:267199 Archived-At: > Not if you turn off garbage collection, indeed (except for the fact that you > pay for it later on), but wouldn't a native library remove that GC pressure? Not clear. There's a good chance that the GC pressure is due to the strings generated and passed to the process filter and then inserted in a temp buffer. So there's a chance that even going through a super-efficient C library, as long as the end result is returned via output sent to a process filter for insertion into a temp buffer the result won't necessarily be much better. Stefan "who does think that we'll want to reuse an existing HTTP/3 library than try and implement it ourselves in ELisp"