You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gsoc@community.apache.org by "Chaokun Yang (Jira)" <ji...@apache.org> on 2026/02/20 07:42:00 UTC

[jira] [Updated] (GSOC-324) Fory Dart gRPC integration

     [ https://issues.apache.org/jira/browse/GSOC-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chaokun Yang updated GSOC-324:
------------------------------
    Summary: Fory Dart gRPC integration  (was: Implement Fory Dart gRPC integration)

> Fory Dart gRPC integration
> --------------------------
>
>                 Key: GSOC-324
>                 URL: https://issues.apache.org/jira/browse/GSOC-324
>             Project: Comdev GSOC
>          Issue Type: New Feature
>            Reporter: Chaokun Yang
>            Priority: Major
>              Labels: dart, fory, gsoc2026, mentor
>
> *Description*
> Apache Fory does not yet generate Dart gRPC service bindings.
> This project will add Dart gRPC code generation to the Fory compiler. For each service definition, the compiler should generate Dart service interfaces and gRPC transport bindings that follow the existing Dart generator layout and use a Fory codec instead of protobuf runtime payload types.
> The implementation must keep the Fory runtime free of gRPC dependencies. Any required gRPC glue should be emitted as generated helper code. Runtime behavior should remain low-overhead and allocation-conscious.
> *Potential Outcomes*
>  - Generate Dart service interface and gRPC binding outputs from service definitions, aligned with current Dart generator conventions.
>  - Generate Dart gRPC server and client stubs for unary and streaming RPCs using Dart gRPC APIs.
>  - Wire request/response handling through generated Fory serializer and deserializer functions.
>  - Implement zero-copy deserialization buffer support for inbound gRPC payloads, with a safe fallback path when zero-copy cannot be applied.
>  - Coordinate with Dart type generation so emitted message, enum, and union types are directly usable by generated gRPC stubs.
>  - Add golden codegen tests for generated file names and key signatures.
>  - Provide a runnable Dart server/client example using generated bindings and the Fory codec.
>  - Update compiler documentation for Dart gRPC code generation usage and constraints.
> {*}Skills:{*}Dart, gRPC (`grpc`), compiler/code generation, serialization internals, async programming, testing, performance optimization.
> *Difficulty:* Medium
> {*}Project size:{*}175 hours
> {*}Potential mentors:{*}Chaokun Yang, Weipeng Wang
> *Source links:*
>  - [https://github.com/apache/fory/issues/3279]
>  - [https://github.com/apache/fory/issues/3281]
>  - [https://fory.apache.org/docs/next/compiler/compiler_guide]
>  - [https://github.com/apache/fory/tree/main/compiler]
>  - [https://github.com/apache/fory/tree/main/dart]
>  - [https://github.com/apache/fory/blob/main/dart/README.md]
>  - [https://github.com/apache/fory/tree/main/dart/packages/fory]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: gsoc-unsubscribe@community.apache.org
For additional commands, e-mail: gsoc-help@community.apache.org