将 GPB 编译为 AS3 选择的项目是什么?

发布于 2024-07-26 22:45:17 字数 475 浏览 1 评论 0原文

在 Java 项目中,我使用 Google Protocol Buffers (GPB) 来序列化我的对象。 我可以在辅助 Python 代码中使用相同的 .proto 文件,这很棒。 现在我正在向整个系统添加一个 Flex 客户端,并且我想再次使用相同的 .proto 文件。

似乎有几个项目可以将 .proto 文件编译为 Actionscript。 通过浏览项目主页,我发现 protobuf-actionscript3 实际上是这些项目中最先进、最“有活力”的。

有人有使用 GPB 到 AS3 编译器的实际经验吗?您可以推荐(或推荐反对)哪一个?

Inside a Java project I use Google Protocol Buffers (GPB) for serializing my objects. I can use the same .proto files in auxiliary Python code, which is great. Now I'm adding a Flex client to the whole thing and I'd like to use the same .proto files once more.

It seems there's a couple of projects out there which compile .proto files to Actionscript. From a few glances at the projects' homepages, it seems to me that protobuf-actionscript3 is actually the most advanced and most "alive" of these projects.

Has anybody had practical experience with GPB to AS3 compilers and which one(s) can you recommend (or recommend against)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

匿名。 2024-08-02 22:45:17

如果您确定要使用 GPB,那么 protobuf-actionscript3 是您的最佳选择。 它建立在半成功的 protocol-buffers-actionscript 项目的基础上:http://code .google.com/p/protocol-buffers-actionscript/

如果您愿意考虑其他格式,总有 Adob​​e 自己的 AMF3。 它背后似乎有大量的社区支持。

If you're sure you want to use GPB, then protobuf-actionscript3 is your best option. It builds on the semi-successful protocol-buffers-actionscript project: http://code.google.com/p/protocol-buffers-actionscript/

If you're open to looking at other formats, there's always Adobe's own AMF3. It seems to have a good amount of community support behind it.

陌若浮生 2024-08-02 22:45:17

现在唯一的选择是 https://code.google.com/p/protoc-gen -as3/。 所有其他 Protobuf/AS3 项目都已过时且缺乏功能。

The only choice now is https://code.google.com/p/protoc-gen-as3/. All the other Protobuf/AS3 projects are out-of-date, and lack of features.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文