创建 FUSE 实现时建议使用哪种垃圾收集语言

发布于 2024-09-08 11:13:40 字数 866 浏览 3 评论 0原文

我想在 Linux 和 Mac OS X 下使用 FUSE 实现虚拟文件系统。我主要使用 Java 和 .NET/C#,但也熟悉 Python,并用 Python 编写小型实用程序/shell 脚本。如果可能的话,我会尽量避免使用 C/C++ 编写,主要是因为团队缺乏经验。

我从 FUSE 绑定网站 看到有很多绑定对于不同的语言,但我不确定哪一种是最成熟的。我周围有一个开发团队,他们也主要从事 Java 和 C# 工作。最重要的是,环境必须实现常见的加密算法,例如 Rijndael/AES 和 RSA。

我考虑过 Mono,因为我们已经有很多 C# 客户端代码,但绑定已经有一段时间没有更新了,我有点担心在 Mac OS X 上部署 Mono。Python 是一个选项,但尽管我知道,但团队不太习惯 Python 语法。 Java 是一种选择,但我担心绑定似乎是分叉而没有太大进展。

我考虑的最后一个选项是 Vala ,它有 FUSE 绑定,但缺少文档和示例。我知道 Vala 不是一种垃圾收集语言,但我仍然认为它是一种选择。不确定在 Mac OS X 上部署 GObject 有多容易。

I would like to implement a virtual filesystem using FUSE under Linux and Mac OS X. I have mainly worked in Java and .NET/C#, but also familiar with Python and do write small utilities/shell scripts in Python. Writing is C/C++ is something that I would try to avoid if possible mainly because of lack of experience in the team.

I see from the FUSE bindings site that there are many binding towards different languages, but I'm not sure which one is the most mature. I have a development team around me which also have worked most in Java and C#. On top of that, the environment must have implementations of common cryptographic algorithm such as Rijndael/AES and RSA.

I've considered Mono since we have a lot of client code in C# already, but the binding haven't been updated for a while and I'm a bit concerned about deploying Mono on Mac OS X. Python is an option, but the team isn't too used to Python syntax although I know it. Java is an option, but I concerned about the bindings which seems to be forked without to much progress.

A last option which I have considered is Vala which has FUSE binding, but the documentation and examples are missing. I know that Vala isn't a garbage collected language, but I still consider it an option. Not sure how easy it is to deploy GObject on Mac OS X.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最舍不得你 2024-09-15 11:13:40

我也在开发fuse fs。我正在使用Python。对我来说,它比某些静态类型语言(c# 或 java)更好,因为调试熔丝文件系统存在问题。您无权访问 stdin/stdout/stderr,因此安装后您甚至看不到异常。 Python 是动态的,并且更容易通过其中的回溯、异常、执行帧等进行操作。

I am also developing fuse fs. I am using python. As for me it is better for this purpose than some static typed language (c# or java) because there is problems with debugging fuse filesystems. You don't have access to stdin/stdout/stderr therefore after mounting you can't see even exceptions. Python is dynamic and it is easier manipulate with tracebacks, exceptions, execution frames, etc in it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文