Remix.run Logo
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.

indolering 4 days ago | parent [-]

Do you feel like we are reaching the final form for RPC protocols yet?

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.

unshavedyak 4 days ago | parent [-]

> Now you've likely been downvoted because you're complaining about downvotes.

Fwiw i think it was only once, and i was upvoted after mentioning it. You're right i could have worded it as something more ambiguous, aka "it seems this is unpopular" or w/e, but my edit was in reply to someones feedback (the downvote), so i usually mention it.

No complaint, just a form of wordless-feedback that i was attempting to respond to. Despite such actions being against HN will heh.