Skip to content

是否可以用 Swift 或者 Rust 以這個框架寫輸入法? #482

Answered by wengxt
ShikiSuen asked this question in Q&A
Discussion options

You must be logged in to vote

就像其他任何 C++ 和 Rust / Swift / Go 一樣,你需要把他們封裝成對應的 Library 給輸入法調用,用 C++ 寫個 glue 層。

例如
https://github.com/OpenBangla/OpenBangla-Keyboard/tree/develop/src/engine/fcitx
https://github.com/OpenBangla/riti/

一些題外話僅代表個人意見,Rust 門檻怕不是比如 C++ 更高。

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ShikiSuen
Comment options

@ShikiSuen
Comment options

@wengxt
Comment options

@ShikiSuen
Comment options

Answer selected by ShikiSuen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants