1. 程式人生 > >Third-party libraries: goprotobuf and beyond

Third-party libraries: goprotobuf and beyond

20 April 2010

On March 24, Rob Pike announced goprotobuf, the Go bindings of Google's data interchange format Protocol Buffers, called protobufs for short. With this announcement, Go joins C++, Java, and Python as languages providing official protobuf implementations. This marks an important milestone in enabling the interoperability between existing systems and those built in Go.

The goprotobuf project consists of two parts: a 'protocol compiler plugin' that generates Go source files that, once compiled, can access and manage protocol buffers; and a Go package that implements run-time support for encoding (marshaling), decoding (unmarshaling), and accessing protocol buffers.

To use goprotobuf, you first need to have both Go and protobuf installed. You can then install the 'proto' package with goinstall:

goinstall goprotobuf.googlecode.com/hg/proto

And then install the protobuf compiler plugin:

cd $GOROOT/src/pkg/goprotobuf.googlecode.com/hg/compiler
make install

For more detail see the project's README file.

This is one of a growing list of third-party Go projects. Since the announcement of goprotobuf, the X Go bindings have been spun off from the standard library to the x-go-binding project, and work has begun on a Freetype port, freetype-go. Other popular third-party projects include the lightweight web framework web.go, and the Go GTK bindings gtk-go.

We wish to encourage the development of other useful packages by the open source community. If you're working on something, don't keep it to yourself - let us know through our mailing list golang-nuts.

相關推薦

Third-party libraries: goprotobuf and beyond

20 April 2010 On March 24, Rob Pike announced goprotobuf, the Go bindings of Google's data interchange forma

Third-Party Libraries in C6

Cloudera has put a significant amount of work into upgrading the third-party libraries used in our just-released C6 version. This major upgrade of ou

Ask HN: Third party email provider vs. custom email address and spam problem

There are two ways of using email addresses, either use something like [email protected], [email protected] or use your own custom domain like [e

【15】ES6 for Humans: The Latest Standard of JavaScript: ES2015 and Beyond

amazon idt keywords order line padding star ise spa 【15】ES6 for Humans共148頁:目前看到:已經全部閱讀。 亞馬遜地址:魔芋:總結:我先看的是阮一峰的在線書籍。這本書的內容很多都與之重復的。居然賣¥463

Effective Java Third Edition學習 - Lambdas and Streams

Effective Java Third Edition學習 - Lambdas and Streams Prefer lambdas to anonymous classes Prefer method references to lambdas Favo

Xcode 10: third-party: 'config.h' file not found

使用 RN 的專案,XCode 10 ,編譯時候會報這個錯。   原因: 新XCode 執行某指令碼的時候,相對路徑找錯了   # 本指令碼的目的是解決升級了 xcode 10 之後,編譯時報錯 找不到 config.h 的問題 cd ./node_modules

react-native 在新版Xcode(10+)中執行出現的問題: node_modules/react-native/third-party/glog-0.3.4 , C compiler ca

解決方法是: github 問題地址  https://github.com/facebook/react-native/issues/19774 I had the same issue bu

The Interview and Beyond of CTCI

The Interview and Beyond Handling Behavioral Questions Why Behavioral Questions As stated earlier, interviews usually start and end with “chit chat

Be yourself and Beyond yourself

傳統的開發團隊通常按角色就行分工, 開發人員只管開發, 測試人員只管測試, 在自己的職責之外的事, 要麼是看不見, 要麼是覺得不是我的活,我不用去管,做好做壞和我沒有關係。 而敏捷軟體開發恰恰相反, 更加強調“Whole Team”, 即整個團隊對外做出承諾, 團隊中的所

Integration Tests for Third Party APIs

Integration Tests for Third Party APIsPondering how to write proper integration tests for third party API? The following post might show you a new approach

Android Developers Blog: Kotlin Momentum for Android and Beyond

Posted by James Lau (@jmslau), Product Manager Today marks the beginning of KotlinConf 2018 - the largest in-person gathering of the Kotlin community a

Introducing Texar: A Modularized, Versatile, and Extensible Toolkit for Text Generation and Beyond

Introducing Texar: A Modularized, Versatile, and Extensible Toolkit for Text Generation and BeyondCrossposted on the Petuum blog.We are excited to introduc

Facebook Login Tool for Third Party Developers

As we shared on Tuesday, we analyzed our logs for all third-party apps installed or logged into during the attack we announced on Friday. That inves

Reinforcement Learning: Super Mario, AlphaGo and beyond

You might not be able to totally recall the first time you ever played Mario, but just like any other game, you might have started with a clean slate, not

A cryptocurrency history: Money from wampums to fiat and beyond

A cryptocurrency history: Money from wampums to fiat and beyondThe history of cryptocurrency is, for all intents and purposes, the history of money, and an

Benchmarking Single Image Dehazing and Beyond

摘要 我們對現有的單影象去霧演算法進行了全面的研究和評估,使用了一個新的大尺度基準,包括合成和真實世界的模糊影象,稱為REalistic Single Image Dehazing(RESIDE)。 RESIDE突出顯示了各種資料來源和影象內容,並分為五個子集,每個子集用於不同的訓練

【論文閱讀】Batch Feature Erasing for Person Re-identification and Beyond

轉載請註明出處:https://www.cnblogs.com/White-xzx/ 原文地址:https://arxiv.org/abs/1811.07130 【Abstract】   這篇文章展示了行人ReID的一個新的訓練機制——批特徵擦除(Batch Feature Erasing,BFE)。作

強化學習之六:Deep Q-Network and Beyond

本文是對Arthur Juliani在Medium平臺釋出的強化學習系列教程的個人中文翻譯,該翻譯是基於個人分享知識的目的進行的,歡迎交流!(This article is my personal translation for the tutorial wri

Android Studio Error:Failed to resolve: :third-party-aar-name: Open File

android studio載入不了aar包問題處理 已經把aar包複製到了libs下,但問題如下: buidl.gradle配置: repositories { } dependencies

CSU 1913: 一條大笨龍送禮物 1914: John and his party 1915: John and his farm 1917: There is no SSR

#include <cstdio> #include <cstring> #define lson l, mid, rt << 1 #define rson mid + 1, r, rt << 1 | 1 using name