From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: Why not zlib-compress-region? Date: Fri, 27 Jun 2014 19:32:56 +0400 Message-ID: <53AD8EA8.9090805@yandex.ru> References: <53AC0D17.9020604@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403883409 27109 80.91.229.3 (27 Jun 2014 15:36:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2014 15:36:49 +0000 (UTC) Cc: Emacs development discussions To: Stefan Monnier , =?UTF-8?B?QXVyw6lsaWVuIEFw?= =?UTF-8?B?dGVs?= , Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 27 17:36:43 2014 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 1X0YCh-0000Et-DG for ged-emacs-devel@m.gmane.org; Fri, 27 Jun 2014 17:36:43 +0200 Original-Received: from localhost ([::1]:51081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0YCg-0002Nh-TP for ged-emacs-devel@m.gmane.org; Fri, 27 Jun 2014 11:36:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Y9F-0005id-HA for emacs-devel@gnu.org; Fri, 27 Jun 2014 11:33:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0Y99-0008UG-6C for emacs-devel@gnu.org; Fri, 27 Jun 2014 11:33:09 -0400 Original-Received: from forward10l.mail.yandex.net ([2a02:6b8:0:1819::a]:46838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Y98-0008Tx-Sm for emacs-devel@gnu.org; Fri, 27 Jun 2014 11:33:03 -0400 Original-Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward10l.mail.yandex.net (Yandex) with ESMTP id C9552BA16F4; Fri, 27 Jun 2014 19:33:00 +0400 (MSK) Original-Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id 456CF1B61284; Fri, 27 Jun 2014 19:33:00 +0400 (MSK) Original-Received: from 235.gprs.mts.ru (235.gprs.mts.ru [213.87.135.235]) by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id s7mHxj8r2C-Wxj0bahD; Fri, 27 Jun 2014 19:32:59 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: f89ca423-2a18-4cb5-bdf6-0699f6f20b0d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1403883180; bh=6yNBPGLVylR0VrXX+88nURetIRfzt//LN/eYCdwBAno=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=v4DFGfqMya2NftQ37vgLlsKcHD+TL6J4pvHE9vy3YW/rxDfmhGl9hUzUPxmTvDacQ ytnc5WQtToPA/CB4vZvEgWkTXsN4o/ZYrvVkkjim+4trCF9spAggvAaqKNhwuZeFrH tJGM+hu6QT2tAvtmL2dO4unyqrC1oyfAT6n0KJb8= Authentication-Results: smtp14.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a02:6b8:0:1819::a 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:172769 Archived-At: On 06/27/2014 05:28 PM, Stefan Monnier wrote: > Of course, there's Dave Love's > http://www.loveshack.ukfsn.org/emacs/dynamic-loading/ IIUC this is a completely different thing. Dave's approach is to dlopen() specially designed shared objects to add pre-defined DEFVARs and DEFUNs; FFI is about _generating_ DEFUNs "on the fly" from _any_ (well, almost any) shared object. Dmitry