Comments (4)
The issue I see with something simple is that it's not straightforward, as far as I can tell, what the in-memory gymnastics would be to hand over data fast enough, avoid the message size limit, and stick to standard protobuf. Not as much of an issue if you're sending small messages in the server-client context.
from protostan.
I'm thinking an example project would be useful to iron out some of the details
about how someone would use protostan + stan. (pystan-protostan can't fill that
role because the Python/C++ extension building completely opaque to
non-Python users.) For example, someone distributing software using the
stan + protostan interface could ship the generated .pb.c and .pb.h files; they
don't need to (have the end user) worry about protoc. This would make for a
leaner Makefile.
I'm happy to work on this. I think the simple example would be useful in its
own right and it would also help me think through about how I'll package
pystan-protostan.
(What does this have to do with the size limit? We're not going to have any
individual messages bigger than 512M.)
from protostan.
Here's an example of the kind of thing that would be cool to have (just to iron out the details): https://github.com/joshrotenberg/zmqpbexample
I think by using autotools you can also deal with the issue of allowing someone to use their own local copy of protobuf if they want to. I might be wrong about this.
from protostan.
We can just make cmdstan-protostan the example -- we don't need two examples.
from protostan.
Related Issues (20)
- Add cpplint test to travis CI
- Include path for generated (from .proto) cpp files is wrong HOT 2
- Makefile should assume user has protoc in path HOT 5
- Add .proto spec. for output format HOT 5
- Rename model_code to program_code, model_name to program_name, etc.
- POC: cmdstan-protostan HOT 3
- First writer HOT 8
- Figure out namespaces HOT 3
- Binary protobuf writer HOT 11
- Google C++ style HOT 2
- Remove protobuf source from repository (or whatever is making cloning slow) HOT 7
- License? HOT 2
- Document binary format and usage implied by the binary protobuf writer HOT 1
- Add a binaryProtubufFileWriter HOT 14
- Clean up mess from binary protobuf writer
- Simplify Makefile HOT 1
- Fix Makefile to allow for clang to be used
- C++11 on travis? HOT 1
- Use gRPC HOT 2
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 protostan.