| ▲ | flashgordon 5 hours ago | ||||||||||||||||||||||
I really like the idea of it. My dream has always been to work with "types" first and foremost across any and all languages (yep it is a dream). And little tools like these are really nice to see push that boundary. One feedback - if you are truly comparing with "other" tools - you should be looking at grpc and protoc plugins. I have used to great effect for things like: 1. Generating wasm bindings for grpc services 2. Generating "data access layer" types so you can choose how a api proto is transformed to a data domain type and vice versa 3. MCP bindings for APIs 4. GraphQL/BFF bindings with multiple services 5. All of the above "across" langauges. The tooling is fantastic and extensible - if you are ok to start with a proto view of your world - it sounds wierd and like an N+1 problem but once you are used to it it is surprisingly fun (ok we may have different ideas of fun) | |||||||||||||||||||||||
| ▲ | goldenCeasar 3 hours ago | parent | next [-] | ||||||||||||||||||||||
On this “types first across languages”, I’ve been hacking on something in that vein called Kumi (typed calculation schemas compiled to Ruby/JS). Tiny demo here https://kumi-play-web.fly.dev | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | emyrk 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
I totally agree a proto first approach to your types can pay back in dividends if you need to serialize over different wires. This project admittedly was developed to solve a specific need in an existing codebase with a lot existing types. The codebase is also mostly maintain by the backend Golang engineers. Letting them use their native type system increases adoption and buy in. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | c-hendricks 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
GraphQL has been my holy grail for this. Easy to grok, easy to build types for various languages and keep everything in sync. | |||||||||||||||||||||||
| ▲ | chrisweekly 4 hours ago | parent | prev [-] | ||||||||||||||||||||||
Type-first is cool. But I think I'll always aim to avoid gRPC, at least in part because grpc-web was so completely broken. I also have an instinctive aversion to binary formats. YMMV, just my PoV. | |||||||||||||||||||||||
| |||||||||||||||||||||||