Hacker News new | ask | show | jobs
by lliamander 2665 days ago
> In Dark, making an API call is as simple as a function call. Our tools for building connectors to 3rd party services handle rate limiting, authentication, error handling, and retries, with great default behaviour. Visibility around costs and failures are built into the editor, as is support for secret keys and Personally Identifying Information.

The history of RPC is...checkered. It's possible that every attempt to make remote process calls as simple as local function calls has resulted in terrible abstractions that leak like a sieve.

My suggestion (for what it's worth) is to bake the notion of message passing into the language, and make it as simple as possible.

1 comments

I'm talking about using 3rdparty APIs, like Twilio or Stripe or something, that we don't have control over and that we need to handle. So we want it to feel like calling functions, though in practice it needs to be able to handle all the stuff that goes wrong.

Can you link to something about message passing? I'm familiar with a concept with this name, but I don't quite see what you mean.