Julia types are indeed very rich!
On Sunday, March 2, 2014 3:45:15 AM UTC+5:30, Stefan Karpinski wrote: > > Is it just me or is doing this sort of thing much easier in a language > that both has a type system and can generate code at run time? The type > mapping <https://github.com/tanmaykm/Protobuf.jl#julia-type-mapping> is > just so straightforward. > > > On Sat, Mar 1, 2014 at 2:15 PM, Tanmay K. Mohapatra > <[email protected]<javascript:> > > wrote: > >> I have now implemented the .proto parser and code generator. Was able to >> generate Julia code for the file "asset.system.proto". >> Do try out https://github.com/tanmaykm/Protobuf.jl and give your >> feedback. >> It is not yet a registered package, but shall do it in a couple of days. >> >> Regards, >> Tanmay >> >> >> On Monday, February 24, 2014 12:33:23 AM UTC+5:30, Uwe Fechner wrote: >> >>> That's a good start. >>> >>> Perhaps the following file could be used as test case: >>> https://bitbucket.org/ufechner/freekitesim/src/ >>> 1df579321570a3c7fa2c157416f7326876bb9dda/asset/asset.system. >>> proto?at=master >>> >>> Is there already a piece of code that can parse .proto files in Julia? >>> >>> Regards: >>> >>> Uwe >>> >>> On Sunday, February 23, 2014 6:09:22 PM UTC+1, Tanmay K. Mohapatra wrote: >>>> >>>> I have started working on a pure Julia Protobuf implementation here: >>>> https://github.com/tanmaykm/Protobuf.jl. It's in very early stages, >>>> but I plan to focus on it for the next few weeks. I have put up a few >>>> lines >>>> now about how I plan to develop it in the readme. Would love to hear what >>>> you think of it. >>>> >>>> - Tanmay >>>> >>>> On Sunday, February 23, 2014 10:14:27 PM UTC+5:30, Amit Murthy wrote: >>>>> >>>>> You may want to check out Tanmay's https://github.com/ >>>>> tanmaykm/Protobuf.jl >>>>> >>>>> >>>>> On Sun, Feb 23, 2014 at 8:51 PM, Uwe Fechner <[email protected]>wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> our control and simulation software is highly modular, and we use >>>>>> google protocol buffer >>>>>> encoded messages over ZeroMQ sockets to communicate. >>>>>> >>>>>> What is the best approach to send and receive protobuf encoded >>>>>> messages: >>>>>> >>>>>> a) using one of the C bindings; there are actually three: >>>>>> - http://spbc.sourceforge.net/ >>>>>> - http://code.google.com/p/protobuf-c/ >>>>>> - http://koti.kapsi.fi/jpa/nanopb/ >>>>>> >>>>>> b) using the Python library: >>>>>> https://developers.google.com/protocol-buffers/docs/ >>>>>> pythontutorial >>>>>> This one is officially supported by google in contrast to the C >>>>>> bindings >>>>>> >>>>>> c) writing a full protobuf compiler, coder and decoder in Julia >>>>>> directly >>>>>> >>>>>> Any comments welcome. >>>>>> >>>>>> Uwe Fechner >>>>>> >>>>> >>>>> >
