GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    David Wilson (daviwil@fosstodon.org)'s status on Tuesday, 14-Jan-2025 13:51:33 JST David Wilson David Wilson

    In a recent stream, I started using the Fibers library for Guile Scheme to learn more about how it enables Go-style concurrency in Scheme programs.

    Here's a clip from that stream where I explain what Fibers is for, read through an example snippet using channels, and set up a basic HTTP request handler that uses Fibers' own server backend.

    Let me know what you think about the clip format!

    https://youtu.be/fYyZuYKjmWc

    #guile #scheme #golang #programming

    In conversation about 5 months ago from fosstodon.org permalink
    • dave, Christine Lemmer-Webber and Ludovic Courtès repeated this.
    • Embed this notice
      Alex ☕🇨🇦 (alexjgriffith@mastodon.gamedev.place)'s status on Tuesday, 14-Jan-2025 15:43:11 JST Alex ☕🇨🇦 Alex ☕🇨🇦
      in reply to

      @daviwil fibers seem super neat! If anyone is interested in a coroutine event driven tool for Lua / Fennel check out cqueues.

      In conversation about 5 months ago permalink
    • Embed this notice
      Ekaitz Zarraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Tuesday, 14-Jan-2025 23:28:18 JST Ekaitz Zarraga 👹 Ekaitz Zarraga 👹
      in reply to

      @daviwil did you find any solution for the sqlite-in-fibers?

      This kind of clips are really cool. You summarized everything pretty well!

      In conversation about 5 months ago permalink
    • Embed this notice
      David Wilson (daviwil@fosstodon.org)'s status on Tuesday, 14-Jan-2025 23:28:18 JST David Wilson David Wilson
      in reply to
      • Ekaitz Zarraga 👹

      @ekaitz_zarraga Thanks! The suggestion from @cbaines was to run the DB operations in a separate OS thread and use Fibers to queue up query operations via a channel.

      Could work, but could also be a bottleneck. Interesting idea to try, though!

      In conversation about 5 months ago permalink
    • Embed this notice
      Andres Moreno (monkey1@fosstodon.org)'s status on Wednesday, 15-Jan-2025 06:23:05 JST Andres Moreno Andres Moreno
      in reply to

      @daviwil

      I just got a proof-of-concept going for using Fibers in Guile-Hoot. The clever piece is code by #spritely which allows for asynchronous messaging.

      https://git.sr.ht/~afmoreno/tic-tac-toe

      Ping me if you have any questions

      In conversation about 5 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.