From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: JSON/YAML/TOML/etc. parsing performance Date: Mon, 18 Sep 2017 21:08:10 +0300 Message-ID: <837ewvj2wl.fsf@gnu.org> References: <87poaqhc63.fsf@lifelogs.com> <83mv5shx5h.fsf@gnu.org> <87a81sm4dw.fsf@udel.edu> <83fubkhuny.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505758177 13599 195.159.176.226 (18 Sep 2017 18:09:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 18:09:37 +0000 (UTC) Cc: mvoteiza@udel.edu, emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 18 20:09:29 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du0U4-00039l-OR for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2017 20:09:28 +0200 Original-Received: from localhost ([::1]:38165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du0UB-0002WQ-My for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2017 14:09:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du0TY-0002W0-8A for emacs-devel@gnu.org; Mon, 18 Sep 2017 14:08:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1du0TV-0006MP-1v for emacs-devel@gnu.org; Mon, 18 Sep 2017 14:08:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du0TU-0006MD-V3; Mon, 18 Sep 2017 14:08:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4820 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1du0TS-0007KY-BK; Mon, 18 Sep 2017 14:08:52 -0400 In-reply-to: (message from Philipp Stephani on Mon, 18 Sep 2017 16:22:12 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218483 Archived-At: > From: Philipp Stephani > Date: Mon, 18 Sep 2017 16:22:12 +0000 > Cc: emacs-devel@gnu.org > > I'm not sure I follow: are you agreeing with me or are you > disagreeing? If the latter, can you elaborate why you think we > shouldn't add a JSON library to the Emacs sources, like with do with > lwlib? > > I can't find the sources now, but I dimly remember that adding the code directly to the Emacs tree would > require copyright transfer to the FSF, and we only make an exception to this for lwlib because it's not > otherwise maintained. I thought Richard just said we didn't need an assignment in such cases, but maybe I misunderstood. > A possible middle ground would be to link it statically, then only the machines that run Emacs builds would > require it. This could be problematic because AFAIK linking a single library statically requires to name its file name explicitly, rather than just adding -lLIBRARY to the link command line. And if I understand Glenn's objections correctly, linking statically is not different from bundling.