Serverless architecture is a type of application development that allows you to run logic in the cloud without having to worry about building server infrastructure. Azure Functions implements a serverless architecture that runs your code on demand without requiring you to manually provision servers.
To author Azure Functions in Go or Rust, for example, you use a feature called custom handlers. Custom handlers allow you to bring almost any language to Azure Functions.
What are custom handlers?
At its core, a custom handler is a web server. The web server receives events from the Functions host. You then have an opportunity to write code in your preferred language to respond to the events.
With custom handlers, you can use any language that supports HTTP primitives. That's nearly any language.
An Azure Function app using Go
To create such an app, you only need to listen to HTTP events + make some minor configurations. Here's an example of what the code looks like: