libfuse VS php-fuse

Compare libfuse vs php-fuse and see what are their differences.

libfuse

The reference implementation of the Linux FUSE (Filesystem in Userspace) interface (by libfuse)

php-fuse

PHP FFI bindings for libfuse (by sj-i)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
libfuse php-fuse
21 2
4,973 58
0.8% -
8.6 0.0
7 days ago 8 days ago
C PHP
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

libfuse

Posts with mentions or reviews of libfuse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-18.
  • Wddbfs – Mount a SQLite database as a filesystem
    3 projects | news.ycombinator.com | 18 Feb 2024
    I suspect if you've run into problems with a lot of things built on FUSE, the problem is FUSE.

    Yes, s3fs and sshfs can both leave the system in an unstable state. For example, there can be a dead mount which is impossible to unmount, and in severe cases, blocks a clean reboot.

    A file system in user space (or in network space) should NEVER break the system, no matter what happens in user space (or in network space). Most network file systems try to respect this (albeit with mixed success). FUSE does not.

    I'm not claiming FUSE cannot be made to work. Just that it's very bad since (1) plenty of smart people clearly failed to do so (2) the badness it leaves behind should be more than it's permitted to.

    I can point to specific issues, but at the end of the day, that's neither here nor there. At the end of the day, something like:

    https://github.com/libfuse/libfuse/blob/master/example/poll....

    Is about a hundred times more complicated than it should be. It should not require memsets, pthread mutexes, or flags, and should probably have an implementation in a modern, high-level language. To a large extent, that's the point of moving things out of the kernel.

    I'm even perhaps okay with being permitted to do low-level operations for a particularly performance-constrained subsystem, but that's not 95% of the uses of something like FUSE.

    Footnote: I actually enjoyed writing low-level code like this a lot, when computers were in the single-digit to triple-digit MHz range, and we didn't need to worry about people breaking in over a ubiquitous worldwide internet, but I left that mindset behind decades ago. Right now, I want code to be stable, simple, auditable, and secure.

  • Spacedrive – an open source cross-platform file explorer
    7 projects | news.ycombinator.com | 10 Oct 2023
  • Sensenmann: Code Deletion at Scale
    3 projects | news.ycombinator.com | 30 Apr 2023
    I wrote the original version for a previous employer mostly in Python.

    I was about to recreate a new version in Rust. And started with fixing up libfuse https://github.com/libfuse/libfuse/pulls?q=author%3Amatthias... and the Rust equivalent https://github.com/cloud-hypervisor/fuse-backend-rs/pulls?q=...

    Your project is also interesting. I don't plan on ever adding write support. The old Python version was already using git as a library via gitpython, instead of shelling out via the command line. The new version will use Rust's gix.

    Performance, even for the old Python version, was pretty decent. That probably came from using git via a library and being careful about fuse caching. The old version also already supported opening arbitrary commits, tags and branches, they were represented as different folders.

  • [Engineering_Stuff] S3FS-FUSE - Permet de monter votre lien de seau S3 / Minio vers votre répertoire local
    2 projects | /r/enfrancais | 28 Apr 2023
  • s3fs-fuse - allows to mount your s3/minio bucket link to your local directory
    3 projects | /r/engineering_stuff | 30 Mar 2023
    s3fs allows Linux, macOS, and FreeBSD to mount an S3 bucket via FUSE(Filesystem in Userspace). s3fs makes you operate files and directories in S3 bucket like a local file system. s3fs preserves the native object format for files, allowing use of other tools like AWS CLI.
  • FUSE Filesystem
    3 projects | dev.to | 5 Jan 2023
  • I used Python libfuse bindings to build a filesystem on top of a immutable database
    3 projects | /r/Python | 13 Sep 2022
  • Rule
    1 project | /r/196 | 11 Sep 2022
    FUSEs your files
  • How to Use Sshfs on OpenBSD
    2 projects | news.ycombinator.com | 23 Jul 2022
    The situation is much worse than I had imagined; the parent project, libfuse, is also in need of a maintainer.

    https://github.com/libfuse/libfuse

  • What is FUSE?
    1 project | /r/Ubuntu | 7 May 2022

php-fuse

Posts with mentions or reviews of php-fuse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-26.
  • sj-i/php-fuse: PHP FFI bindings for libfuse. You can write your own filesystems in PHP.
    6 projects | /r/PHP | 26 Mar 2021
    The introduction of FFI in PHP was done with the reference to LuaJIT. As a result, FFI's CData is a completely dynamic type, similar to stdClass, and does not get proper support from the IDE or static analysis. For this reason, php-fuse has introduced a muddy mechanism to map CData to PHP classes. https://github.com/sj-i/php-fuse/tree/master/src/FFI It is a shame that CData is such a dynamic type since PHP nowadays is a language that easily benefits from static types, unlike Lua or Ruby. I'm hoping that I or someone else can come up with a better solution, such as allowing C types to be mapped to user-defined CData subclasses, as the idea was seen in the early discussions when FFI was introduced. https://externals.io/message/102036#102050

What are some alternatives?

When comparing libfuse and php-fuse you can also consider the following projects:

VeraCrypt - Disk encryption with strong security based on TrueCrypt

php-ffi - PHP Foreign Function Interface

VL.Fuse - A library for visually programming on the GPU, built to enable rapid workflows and modular approaches to accelerated graphics, logic and computation.

phpstorm-stubs - PHP runtime & extensions header files for PhpStorm

squashfs-tools - tools to create and extract Squashfs filesystems

php-iup - php binding for IUP toolkit

sshfs - A network filesystem client to connect to SSH servers

reli-prof - A sampling profiler or a memory profiler for PHP written in PHP, which reads information about running PHP VM from outside the process. You can find performance bottlenecks or memory leaks of your scripts without changing the target script or loading extensions.

tagfs - Fuse tag file system

z-engine - :zap: PHP Engine Direct API

fuse-filesystem - In memory filesystem of top of FUSE

SFTPGo - Fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob