From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: Bytestructures: a "type system" for bytevectors Date: Mon, 20 Jun 2016 15:24:46 +0200 Message-ID: <87y460gfhd.fsf@pobox.com> References: <87r3mkg2iy.fsf@T420.taylan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1466429152 22912 80.91.229.3 (20 Jun 2016 13:25:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 13:25:52 +0000 (UTC) Cc: guile-user@gnu.org To: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jun 20 15:25:40 2016 Return-path: Envelope-to: guile-user@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 1bEzCq-00065a-2Y for guile-user@m.gmane.org; Mon, 20 Jun 2016 15:25:36 +0200 Original-Received: from localhost ([::1]:43662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEzCl-0001Rj-Rs for guile-user@m.gmane.org; Mon, 20 Jun 2016 09:25:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEzCF-0001PV-WA for guile-user@gnu.org; Mon, 20 Jun 2016 09:25:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEzCA-0006Pn-UP for guile-user@gnu.org; Mon, 20 Jun 2016 09:24:58 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:54622 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEzCA-0006Pj-QN for guile-user@gnu.org; Mon, 20 Jun 2016 09:24:54 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 2EF7E224FA; Mon, 20 Jun 2016 09:24:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=y51ZrvKqswWx sOL9tipH9FB+DU4=; b=OpsFJ29hzllCXlQRubKvcHNhvE6VaNINJrFYFmtRlSxu r6fIvdjutOYxFcpFPAG+fAp39kfuyDvvnjp02zszgUE92Mz0DllrINk/MiwriGYj WLrsVehGoJpYiso5uJfRigmhao7gWBlLAGB4+MXwyLiy/rdZn0ahRKzUCMLOB8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=JzYN8c wBjgJIfAyHEA6QPSiL5ICy5f/z5qPXKeOy9WjHVX6SNSp4ZAq6mf0cfKOa1/63g4 JkcPTq+00C3C1HrvXy5nVYNTh0oeCE1ilNFV/hrGyF3MSgnJmuHsd9w0JOk32V8s Jcxj3iyW5vZmIDpIukENjaWFX57N0SL2HEQis= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 2648E224F9; Mon, 20 Jun 2016 09:24:54 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 40D85224F4; Mon, 20 Jun 2016 09:24:53 -0400 (EDT) In-Reply-To: <87r3mkg2iy.fsf@T420.taylan> ("Taylan Ulrich =?utf-8?Q?=5C=22Bay=C4=B1rl=C4=B1=2FKammer=5C=22=22's?= message of "Sun, 30 Aug 2015 18:32:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Pobox-Relay-ID: 5F9AA20A-36EA-11E6-A0AA-C1836462E9F6-02397024!pb-sasl1.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.66 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:12664 Archived-At: On Sun 30 Aug 2015 18:32, taylanbayirli@gmail.com (Taylan Ulrich "Bay=C4=B1= rl=C4=B1/Kammer") writes: > https://github.com/taylanub/scheme-bytestructures > > (I don't endorse GitHub, but I gave in after Gitorious went down.) > > I had started working on this project around two years ago but it had a > pretty strange and complex API, an unreadable README, high overhead for > something you might want to use in high-performance settings (byte > crunching), and a bit too hung up on being standards compliant. > > I resumed working on it around a week ago, and solved all these issues! > > (I still do my best to keep R7RS compliance, but Guile is my prime > *real* target.) > > So what is it? > > =3D=3D=3D Structured access to bytevector contents =3D=3D=3D I really want something like this BTW :) I was thinking that we can do this on a proper low level, applying type tags to bytevectors. I want something like http://luajit.org/ext_ffi.html for Guile, and data access is part of it. Andy