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 08:18:00 UTC

[jira] [Updated] (GSOC-322) Fory Go and JavaScript gRPC integration

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

Chaokun Yang updated GSOC-322:
------------------------------
    Summary: Fory Go and JavaScript gRPC integration  (was: Fory Go gRPC integration)

> Fory Go and JavaScript gRPC integration
> ---------------------------------------
>
>                 Key: GSOC-322
>                 URL: https://issues.apache.org/jira/browse/GSOC-322
>             Project: Comdev GSOC
>          Issue Type: New Feature
>            Reporter: Chaokun Yang
>            Priority: Major
>              Labels: fory, go, gsoc2026, mentor
>
> *Description:*
> Apache Fory can generate high-performance Go model code from IDL, but it does not yet generate Go gRPC service
> This project will add Go gRPC code generation to the Fory compiler. For each service definition, the compiler should
> generate *_service.go (service interfaces) and *_grpc.go (gRPC transport bindings), using a Fory codec instead of
> The implementation should follow Fory compiler conventions and prioritize low-overhead, performance-first behavior.
> *Potential Outcomes:*
>  - Parse service IR and generate Go gRPC outputs for unary and streaming methods.
>  - Generate ServiceDesc, server interfaces, and client wrappers compatible with grpc-go.
>  - Register and use a custom Fory codec through grpc.CallOption for request/response serialization.
>  - Implement zero-copy deserialization buffer support for inbound gRPC payloads, with a safe fallback path when zero-copy cannot be applied.
>  - Add golden codegen tests for generated file names and key signatures.
>  - Provide a runnable Go server/client example using generated bindings and Fory codec.
>  - Update compiler documentation for Go gRPC code generation usage and constraints.
> *Skills:*
> Go, gRPC (grpc-go), compiler/code generation, serialization internals, testing, performance optimization.
> *Difficulty:* Medium
> *Project size:* 175 hours
> *Potential mentors:* Chaokun Yang, Weipeng Wang
> *Source links:*
>  * [https://github.com/apache/fory/issues/3274]
>  * [https://fory.apache.org/docs/next/compiler/compiler_guide]
>  * [https://github.com/apache/fory/tree/main/compiler]
>  * [https://github.com/apache/fory/tree/main/go]
>  * [https://fory.apache.org/docs/guide/go/]



--
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