diff --git a/content/Dioxus.md b/content/Dioxus.md new file mode 100644 index 00000000..7cf8aba2 --- /dev/null +++ b/content/Dioxus.md @@ -0,0 +1,17 @@ + + + +まだ開発中だけど[[Blitz]]というRustで書かれた独自のネイティブHTMLレンダラの統合予定もあり + +アニメーションライブラリ + +[GitHub - wheregmis/dioxus-motion: A lightweight, cross-platform animation library for Dioxus, designed to bring smooth, flexible animations to your Rust web, desktop, and mobile applications.](https://github.com/wheregmis/dioxus-motion?tab=readme-ov-file) + +グラフ描画ライブラリ(愚直にSVG生成で実装されてる) + +[GitHub - dioxus-community/dioxus-charts: A simple chart components library for Dioxus](https://github.com/dioxus-community/dioxus-charts) + + +Rustで書かれたUIでも高速ホットリロードができるとか(どうやってるんだ) + +[\[media\] Dioxus Subsecond Rust Hotpatch Engine + Ratatui ❤️ : r/rust](https://www.reddit.com/r/rust/comments/1j8z3yb/media_dioxus_subsecond_rust_hotpatch_engine/) \ No newline at end of file diff --git a/content/Elm.md b/content/Elm.md new file mode 100644 index 00000000..22d3bb17 --- /dev/null +++ b/content/Elm.md @@ -0,0 +1 @@ +#programming-language \ No newline at end of file diff --git a/content/Rust.md b/content/Rust.md index d2d3e22b..e3762aa8 100644 --- a/content/Rust.md +++ b/content/Rust.md @@ -10,4 +10,6 @@ date: "2023-09-01T19:08:25+0900" - [[Rune]] - [[Rhai]] - [[Moonbit]] -- [[Gream]] \ No newline at end of file +- [[Gream]] + +[[RustでGUIを作る選択肢]] \ No newline at end of file diff --git a/content/RustでGUIを作る選択肢.md b/content/RustでGUIを作る選択肢.md new file mode 100644 index 00000000..86c7242b --- /dev/null +++ b/content/RustでGUIを作る選択肢.md @@ -0,0 +1,26 @@ + +## [[egui]] + +[[otopoiesis]]で使ってる。[[ImGui]]から影響を受けたimmediate GUI。WebAssemblyでもきちんと動作する(全部を一つのcanvasにレンダリングする。DOMの扱いは無理) + + +## [[iced]] + +[[Elm]] のアーキテクチャに影響を受けたライブラリ。 + +マルチバイト文字非対応 + + +## [[Tauri]] + +Webviewベースで、フロントエンドはJSやTypeScriptで書くという、[[Electron]]のような構成のデスクトップアプリを作れるフレームワーク + +生のCanvasを触ることもできる + +## [[Dioxus]] + +フロントエンドも含めてRustで完結するWebviewベースのライブラリ。 + +こちらは生Canvas触れないのがつらい + +Dioxusでつくっていって、サムネイルとか必要ならWeb-sysでCanvas動かせばそれでいいのかな diff --git a/content/mimiumのレコード型.md b/content/mimiumのレコード型.md index a9251b7e..e77619ab 100644 --- a/content/mimiumのレコード型.md +++ b/content/mimiumのレコード型.md @@ -13,7 +13,7 @@ date: 2025-07-02 11:40 ## 基本構文 -構文のベースは [Elm](https://elm-lang.org/docs/records) である。この部分だけは Rust 風にはしない。 +構文のベースは [[Elm]] である。この部分だけは Rust 風にはしない。 匿名レコード型を正の文脈で使う。