▲ | unshavedyak 4 days ago | |||||||
What would this look like for other language backends to support? Eg would be neat if Rust (my webservers) could support this on the backend edit: Downvoted, is this a bad question? The title is generically "web servers", obviously the content of the post focuses primarily on TypeScript, but i'm trying to determine if there's something unique about this that means it cannot be implemented in other languages. The serverside DSL execution could be difficult to impl, but as it's not strictly JavaScript i imagine it's not impossible? | ||||||||
▲ | kentonv 4 days ago | parent | next [-] | |||||||
I'm hoping the answer will be: * Use Cap'n Proto in your Rust backend. This is what you want in a type-safe language like Rust: generated code based on a well-defined schema. * We'll build some sort of proxy that, given a Cap'n Proto schema, converts between Cap'n Web and Cap'n Proto. So your frontend can speak Cap'n Web. But this proxy is just an idea for now. No idea if or when it'll exist. | ||||||||
| ||||||||
▲ | bryanlarsen 4 days ago | parent | prev [-] | |||||||
Now you've likely been downvoted because you're complaining about downvotes. Which is too bad because you've elicited a great answer from the author. It's usually best to ignore downvotes. Downvoted comments are noticeably grey. If people feel that's unfair, that'll attract upvotes in my experience. | ||||||||
|