From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by gnuweeb.org (Postfix) with ESMTPS id CB3607E7C8 for ; Sun, 15 Jan 2023 18:18:23 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20210112.gappssmtp.com header.i=@kernel-dk.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=UsheIb50; dkim-atps=neutral Received: by mail-pl1-f180.google.com with SMTP id y1so28210419plb.2 for ; Sun, 15 Jan 2023 10:18:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bz1PNYF2IkTdxM7wsziJ802lhxaIhKy6Tw9/n6ibIak=; b=UsheIb50OetN1t0Cyw8io4p084jSk+BdR9zDVkipc4GgfcPxDzWeawDFaxP/WzcmNV f2ac79R9wtmk5+7bDC9v3bKjElvCEh6dk1iE6ukNps4IhmOSHIYZjItuNKQeTuHI/UdM aXoktRlPfdTcRjILjDpOcrBjUH25yxvmy8J4Y0Yukd8oNFtTGlXdw7lpueSu0crJKyUb DITIyczbr/1TdL2+7gY747MtGgfkG777x/AoQZZc6yD0c9aYQwoQx2s/x0qV6RGOizSr +zjXRTLz50ff10KZ0nW1h6PZI5G48ABMj0j0Y+jjmuzCETZbHPPmNGko8pTc9LjN1109 xr9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bz1PNYF2IkTdxM7wsziJ802lhxaIhKy6Tw9/n6ibIak=; b=u6UbGAP0EZFp+Syl4CjCJ9gXF71Lu1oWgK9/UMddwAiZmHaTeByiMDFdfeWqcZAT/9 jmIZuNX2FfDn4Ny64e2uxYEKt9TJhEHlZgPGlvE9uvx4OqbX26ABT3byV/Jmuman3MNo j17NgJ3D3PIK+ONWYg3qQFc5b7YOZ2ztYR08p5EWnOc7GttVd8vl1TiQqL4m7uzeAM9K 4+Kxt2ULGz094hIUaqWW66L9Y2dtpU7Dqy396L1vFTbKOuj9cemY27rTPRjPQbLjG1k9 W81bzekZgPwg2FbFIGf/QGHOViJZld9av1KT0lRnl+WhNv8UIQmXl5jTpJA6xpoXMXHm ndbg== X-Gm-Message-State: AFqh2krHd+PVgXd5qP0k38T2Ysy+y5TL4pPKcZnQWn4u9Q0H2S99alfM LsaAhTJ6wUWaOUUJyJoYywVm/w== X-Google-Smtp-Source: AMrXdXtAQvRylpT4NGdTQ+OBVRBy83MRR73p+p+aN082ndX8RWk6Xl+gH0MRGEXOTtlQ+6k/748emw== X-Received: by 2002:a05:6a20:2d0e:b0:b7:9612:cd31 with SMTP id g14-20020a056a202d0e00b000b79612cd31mr2295065pzl.0.1673806703188; Sun, 15 Jan 2023 10:18:23 -0800 (PST) Received: from [192.168.1.136] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id j22-20020a63cf16000000b0047899d0d62csm14584257pgg.52.2023.01.15.10.18.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Jan 2023 10:18:22 -0800 (PST) Message-ID: <34a2449a-8500-4081-dc60-e6e45ecb1680@kernel.dk> Date: Sun, 15 Jan 2023 11:18:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [RFC PATCH v1 liburing 2/2] README: Explain about FFI support Content-Language: en-US To: Christian Mazakas Cc: Ammar Faizi , Pavel Begunkov , Gilang Fachrezy , io-uring Mailing List , VNLX Kernel Department , GNU/Weeb Mailing List References: <20230114095523.460879-1-ammar.faizi@intel.com> <20230114095523.460879-3-ammar.faizi@intel.com> <3d217e11-2732-2b85-39c5-1a3e2e3bb50b@kernel.dk> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: On 1/14/23 9:25?PM, Christian Mazakas wrote: > For some historical context, this feature came about from trying to > consume liburing from Rust. liburing is such a powerful library and > it's hard to replace so a dependency on it is reasonable for > applications wishing to leverage io_uring without developers being > systems-level experts. > > For languages that can't parse C headers, liburing-ffi saves quite a > bit of effort in terms of bringing liburing itself to the application > because it gives consumers a defined set of symbols in the binaries to > link against. Oh I know why it was done and why it's there, this is for the purpose of the README addition. I think it should be a bit more verbose and explain that. -- Jens Axboe