From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: Announcement stis-engine Date: Mon, 23 Aug 2021 19:31:51 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4145"; mail-complaints-to="usenet@ciao.gmane.io" To: Guile User , guile-devel Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Aug 23 19:32:51 2021 Return-path: Envelope-to: guile-user@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 1mIDoX-0000qg-Vr for guile-user@m.gmane-mx.org; Mon, 23 Aug 2021 19:32:49 +0200 Original-Received: from localhost ([::1]:55590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIDoV-0000nX-Sf for guile-user@m.gmane-mx.org; Mon, 23 Aug 2021 13:32:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIDnr-0000cz-V5; Mon, 23 Aug 2021 13:32:07 -0400 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:42561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIDnp-00064P-7w; Mon, 23 Aug 2021 13:32:07 -0400 Original-Received: by mail-pj1-x102f.google.com with SMTP id mq2-20020a17090b3802b0290178911d298bso464673pjb.1; Mon, 23 Aug 2021 10:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ynRHxfGv7TEznREJ8CCBhwrJaqk65gk2C9pABod+BI8=; b=dQ4nfv7OFEo0Gy4WQlbDUAU1S88nLpWikM+6VMPTn7f9AHNu6rUHoxyvg2Zb7rol3D yw1BDiFlxSn/RBWJpRg/ArmFEcjlwFnp1VM2CPVdYaQx6yE3kiUkTA7dlQgjiyhfzVV4 /oyGrpPwmc2ZIzcP6erfJdnwroZcD32PteAoSKqBy79tUBqAH22diwFS6ci/3pHn3lc/ z136kV8fic2CXr4xV+pXBj4YLlm2py9n4gFbcJ2nuqihz5FSonUekPuxEnNIsDk8CmgN GrFSz6BXfzXgng9bPLmZwuQeBhObqRz4XPRVUSsquF4EMUo+j7NcTqI6REUpWBhGbar/ bkiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ynRHxfGv7TEznREJ8CCBhwrJaqk65gk2C9pABod+BI8=; b=bX63jj0dR5655Fvpp9qxZjNe8NIqjncUHh+Mn5fuEJC33++U8Jot9ejYyi54tSnYpB uZ9CUnkM01JMQHb8RpSTmYRRTuLgWkB8kiLpdLK7SvHikdwqw23G3pFXIPu3ce0ts14V eKNRZMzGzzh1YrxSEZkMnN3Zpcju1BjIyiqkNU4nM3o3WKQ40L6uHxfVqrS9vFdq9ZQP AL0U3zptCCQimXNP2lgbiUzAWsu1kzzSZjsx1J1M58wzJg7ASzClec/eYcbLGxcoF3ba cbnj05V4+iL6Lg6s2HThIr77o7y04etY+tSD1FD8YfgEBaiPBKOtjV3RNl+lcisf54FV F1kQ== X-Gm-Message-State: AOAM53091/WP/ySEYt/tDQb6da5h/49Lp/Lntu+CUj4xn6f7XDE1K1yT FX/5qtEKjGZyK7etx3spoO+xjENe38QhlLaR0G7yNR2OObc= X-Google-Smtp-Source: ABdhPJxypwZBdR0dKrLfhqw/6avCJVjUzMxft8ARC8dk2vgeoXCmG1Ou6bWucoVUcyiiE8PEuEXrq4tz8Vx/l+vUfKQ= X-Received: by 2002:a17:902:690a:b0:12d:86cf:d981 with SMTP id j10-20020a170902690a00b0012d86cfd981mr29746097plk.39.1629739921844; Mon, 23 Aug 2021 10:32:01 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=stefan.itampe@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17689 gmane.lisp.guile.devel:20828 Archived-At: Have just added serialisations of the following to the c-code serializer, 1) struct and classes 2) hasmaps of type eq? eqv? and equal? 3) lambdas These are tricky to get right, especially hashmaps looked like it was impossible, my solution is a bit imprecise, but can be improved upon. So now this works, define h1 (make-hash-table)) (hash-set! h1 "/home/stis/src/guile-persist/a.scm" 0) (define h2 (make-hash-table)) (hashq-set! h2 0 "/home/stis/src/guile-persist/a.scm") (define (f x) (lambda (y) (+ x y))) (pk ((atom-load-bv (atom-dump-bv (f 1) #:j 1 #:eq-map h2 #:equal-map h1 #:do-lam #t) #:j 1 #:map h2) 2)) On Sun, Aug 8, 2021 at 10:27 PM Stefan Israelsson Tampe < stefan.itampe@gmail.com> wrote: > I will start the development of stis-engine that is based on fibers and > will experiment with applications that separate into different network > components. > > Among things I plan to add serializers, deserializers, zipping and zero mq > networking that works > with fibers. E.g. we will stream things with fiber pipelines, use non > blocking zero mq calls, avoid > allocating large bytevectors, and use as little stack as possible in the > code. > > This code depends on stis-data and optionally guile-persists > > References: > https://gitlab.com/tampe/stis-engine > https://gitlab.com/tampe/guile-persist > https://gitlab.com/tampe/stis-data/ >