[java] Compile time processing of row format codecs
メンテナーはふだん 1 日以内に返信
@alisha-1000 がすでに取り組んでいます。
2026年9月14日 から。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- java
- 領域
- build-system, devtools
調査の方向性
まず、Fory Java における row codec クラスの現在の実行時生成と、リクエストで言及されている foryc コンパイラおよび Maven プラグインに関連する問題を調査します。annotation-processor アプローチがこれらの既存の方向性に適合するかを判断します;完了には、コンパイル時生成について合意された設計と、javac のコンパイル中に検証されたプロトタイプが必要です。
索引モデルが issue の本文から書いたものです。
説明
💡Feature Request
Currently, Fory Java will generate all row codec classes at runtime. You can see it print in the application startup logs - generate source code, compile, load class.
Java supports compiler hooks in the form of annotation processors. This allows you to inspect code under compilation, generate new code, and then have javac continue to compile that.
Would it make sense to add support to Fory to pre-generate codec classes during compile time? Then your deployable application already has all classes available, potentially pre-verified and pre-linked using class data sharing, without bringing a compile step into runtime.
I note some open issues about foryc compiler with a Maven plugin, but this seems to be a different issue, more related to IDL compilation.
The generated code will be less flexible - not possible to dynamically link in an updated version of Fory, you must inline any runtime Fory deps.
Is this an interesting approach? If it would not conflict with any other project future directions, I might attempt a prototype at some point.
- 主要言語
- Java
- スター
- 4.6k
- フォーク
- 470
- 平均マージ
- 9時間 28分
- マージ済み PR(30日)
- 33
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/fory のほかの issue
-
[Python] Compatible xlang read silently drops fields when the peer writes camelCase/PascalCase namesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
[Build] Add ASF license headers to config files that allow comments再び着手できるかも @Swatantra-66 が 28 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
xlang: the snake_case conversion of field names is not specified, and the runtimes do not agree再び着手できるかも @dhruv-dagar が 15 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
[Rust] Add an option to use Rust native enum対応中かも @BaldDemian が 19 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
apache/fory#4177 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Untyped read collapses a number literal that does not fit a double対応中かも @mohitjoshi-hey が 21 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
apache/fory#4170 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
5.0.x backport enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
spring-cloud/spring-cloud-function#1507 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
open-learning-exchange/myplanet#18484 ·
メンテナーはふだん 1 日以内に返信
-
ai-driven-fuzzing bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
linagora/twake-calendar-side-service#1417 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
line/armeria#7109 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
open-feature/java-sdk-contrib#1966 ·
メンテナーはふだん 1 日以内に返信