Re: [capnproto] Thinking about zig implementation

2023-01-23 Thread Hugo Rens
Hello everyone (nearly one year later :D), this mail to say I've been able to work more than usual on my implementation of a zig plugin, and it's taking shape. It is not usable yet, but I think the architecture of the project is now viable w.r.t the missing features, and what exists is generall

Re: [capnproto] Thinking about zig implementation

2022-02-12 Thread Hugo Rens
Hello everyone, I've been interested in a zig plugin for a few weeks now, too : I gave it a try and the prototype is available here [1]. It is clearly missing a lot of features, but the general structure is there and I think that by now it is interesting (at least for the purpose of discussion !

Re: [capnproto] Thinking about zig implementation

2021-11-14 Thread Ian Denhardt
Quoting Daurnimator (2021-11-14 19:00:47) > Some misc notes: > > - I recall issues with using zig structs, as there is no way to e.g. > little-endian integer type > - Zig doesn't have anonymous fields > - Things would be nicer with https://github.com/ziglang/zig/issues/6478 Yeah, I would n

Re: [capnproto] Thinking about zig implementation

2021-11-14 Thread Daurnimator
On Mon, 15 Nov 2021 at 05:47, Siva Mahadevan wrote: > Is there any progress on a Zig implementation? I'd like to start contributing > to one if there is already one that exists. No, I didn't get any further than playing with it for a day or two. Some misc notes: - I recall issues with using

Re: [capnproto] Thinking about zig implementation

2021-11-14 Thread Siva Mahadevan
Is there any progress on a Zig implementation? I'd like to start contributing to one if there is already one that exists. On Friday, November 29, 2019 at 6:10:52 PM UTC i...@zenhack.net wrote: > Zig is neat! Yes, you'll want to write a schema compiler plugin, and > will also need to write some c

Re: [capnproto] Thinking about zig implementation

2019-11-29 Thread Ian Denhardt
Zig is neat! Yes, you'll want to write a schema compiler plugin, and will also need to write some code to handle non-schema-specific details of the format; I would start by reading the encoding docs and build some support for reading "untyped" structs/lists/etc. You'll want to decide what language

[capnproto] Thinking about zig implementation

2019-11-29 Thread quae
As https://capnproto.org/otherlang.html says: > If you’d like to own the implementation of Cap’n Proto in some particular language, let us know ! I'm looking into playing with capnp and zig (https://ziglang.org/). Zig is a relatively new language that ai