arrayfire / arrayfire/arrayfire-rust

Statically linking arrayfire

未关闭
#192 12 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
Enhancement
主要语言
Rust
星标
827
派生
59
PR 合并指标
30 天内没有已合并 PR

描述

Right now arrayfire has to be used by linking to the DLL. Since the only parts of arrayfire that are included in the Rust bindings are BSD 3-clause, there should be no problem statically linking arrayfire. Is it possible that we could choose whether or not arrayfire is statically linked to ease distribution? Also, is there any downside to just always statically linking arrayfire? I feel like that would be more in-line with what the Rust community expects: adding a crate to your `Cargo.toml` should "just work".

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with the Cargo.toml integration and the current DLL-based ArrayFire linking setup. Investigate how the Rust bindings select and distribute the native library, including the tradeoffs of optional versus always-static linking. Done means the supported linking choice and its distribution implications are documented and implemented or clearly scoped.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
hpc
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。