You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/misc/comparison/encore.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ Nitric is a framework that empowers developers to build complete cloud applicati
9
9
These are the main differences between the two:
10
10
11
11
1.**Cloud Provider Support:** Nitric is provider-agnostic, capable of deploying to multiple cloud providers such as AWS, Google Cloud, and Azure. Encore currently deploys to AWS or Google Cloud.
12
-
2.**Language Support:** Nitric provides libraries for TypeScript/JavaScript, Python, Go, C# .NET and Java, allowing developers to choose their preferred language. Currently Encore supports Go, with TypeScript scheduled for Preview.
13
-
3.**Infrastructure Provisioning:** Nitric uses Pulumi by default for provisioning cloud resources, but also allows the use of [custom providers](/providers/custom/create). Encore uses a hosted provisioning engine via their online platform.
14
-
4.**Open Source:** As an open-source framework, Nitric does not require a platform or subscription to deploy applications, while Encore requires sign-up and may involve additional costs.
12
+
2.**Language Support:** Nitric provides libraries for TypeScript/JavaScript, Python, Go, and Dart. Additional languages can be supported using Nitric's gRPC API, allowing developers to choose their preferred language. Currently Encore supports Go and TypeScript.
13
+
3.**Infrastructure Provisioning:** Nitric uses Pulumi or Terraform by default for provisioning cloud resources, but also allows the use of [custom providers](/providers/custom/create). Encore uses a hosted provisioning engine via their online platform.
14
+
4.**Open Source:** As an open-source framework, Nitric does not require a platform or subscription to deploy applications. Encore's language frameworks are provided as open-source software, however infrastructure provisioning requires users to create their own IaC scripts or sign-up to Encore's hosted platform, which may incur additional costs.
15
15
16
16
## Code Comparison
17
17
@@ -72,13 +72,13 @@ type Response struct {
72
72
73
73
</Row>
74
74
75
-
The Nitric example shows an API where HTTP request handling is achieved using `faas.HttpContext`, providing control over the request and response objects. The Encore example demonstrates an API where HTTP request handling is reflected through the function parameters and return types, with defined structs for responses.
75
+
The Nitric example shows an API where HTTP request handling is achieved using `apis.Ctx`, providing control over the request and response objects. The Encore example demonstrates an API where HTTP request handling is reflected through the function parameters and return types, with defined structs for responses.
0 commit comments