Comments (3)
I think the Makefile has to be redone anyways, because of the new structure of the repo. But im unsure how to get go generate
to work cross-platform.
from go_serialization_benchmarks.
Not sure what the issue with different platforms would be.
A standard directive would be something like //go:generate protoc --go_out=. structdef.proto
from inside a package, so a go generate ./...
would work just like in the makefile.
More complex generators could do something like //go:generate go run -tag build buildstuff.go
, where buildstuff.go
is a standard go program that will perform whatever complex task is needed to generate the bindings.
Some of the generators require third party programs to be installed (e.g. protoc) but that's no different than the current situation (and can be solved either through the prior method or some clever go module requirements).
from go_serialization_benchmarks.
Didn't think about running a go program inside go generate, then there should be no issues. PR is welcomed!
from go_serialization_benchmarks.
Related Issues (20)
- Feature request: add benchmark for google protobuf
- Add benchmark for gjson
- Command, go get -u -t get error
- gob: unknown type id or corrupted data HOT 2
- Buffer Reuse Inconsistency HOT 1
- Skip running benchmarks for X if X fails to build HOT 4
- Gogoprotobuf Alternative? HOT 4
- How to test serializing a map?
- Limitations of the benchmarking HOT 2
- gogoprotobuf is deprecated
- Mus Strings HOT 24
- Bebop input data HOT 6
- Buffer Reuse Inconsistency Again HOT 6
- BENC's unsafe code HOT 10
- supporting MarshalTap HOT 2
- New Link for readme HOT 1
- Idea: convert the root package to `main` HOT 3
- Reopen #120 HOT 20
- Incorrect modification of IDR encoding classification
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go_serialization_benchmarks.