From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Fri, 23 Oct 2015 10:00:31 +0300 Message-ID: <83mvvarrw0.fsf@gnu.org> References: <83r3trulse.fsf@gnu.org> <54E0D7E0.305@87.69.4.28> <83h9unukbg.fsf@gnu.org> <54E0DEF8.7020901@dancol> <83egpruiyp.fsf@gnu.org> <54E0FF93.2000104@dancol.org> <5610ED13.1010406@dancol.org> <56117F37.9060808@dancol.org> <56259FDD.8040401@dancol.org> <87zizeme8k.fsf@tromey.com> <5625B166.3080104@dancol.org> <86zizdczhp.fsf@stephe-leake.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445583688 5764 80.91.229.3 (23 Oct 2015 07:01:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 07:01:28 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, emacs-devel@gnu.org, dancol@dancol.org, stephen_leake@stephe-leake.org, tom@tromey.com To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 23 09:01:18 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZpWLa-0002f8-Gh for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2015 09:01:06 +0200 Original-Received: from localhost ([::1]:36470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpWLZ-0000pS-Ni for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2015 03:01:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpWL4-0000Pe-6y for emacs-devel@gnu.org; Fri, 23 Oct 2015 03:00:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpWL0-0005Jf-K2 for emacs-devel@gnu.org; Fri, 23 Oct 2015 03:00:34 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:55642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpWL0-0005JG-19 for emacs-devel@gnu.org; Fri, 23 Oct 2015 03:00:30 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NWN00500V71S600@mtaout25.012.net.il> for emacs-devel@gnu.org; Fri, 23 Oct 2015 09:58:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWN00MXGVD04Q90@mtaout25.012.net.il>; Fri, 23 Oct 2015 09:58:12 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192452 Archived-At: > From: Philipp Stephani > Date: Thu, 22 Oct 2015 22:49:01 +0000 > Cc: Stephen Leake , Daniel Colascione , > Tom Tromey , Eli Zaretskii , > Emacs development discussions > > * expose fast read-only string access (not sure how do-able this is > considering the encoding problem) > > If the internal Emacs encoding is not defined, then we probably shouldn't > expose it to modules. It is well defined. > What should modules do with such string access? They could only > treat the contents as opaque byte arrays. That'd mean high-performance string processing in modules will be impossible, because you'd need either to use Lisp interfaces (and create a Lisp string for them each time you call them), or encode/decode each string before using it with libc functions. That'd be a pity, I think.