Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 17f3817

Browse files
committed
update encore comparison
1 parent a8b8e03 commit 17f3817

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/misc/comparison/encore.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Nitric is a framework that empowers developers to build complete cloud applicati
99
These are the main differences between the two:
1010

1111
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, 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, while Encore offers some open-source libraries, using the platform requires signing up and may incur additional costs.
1515

1616
## Code Comparison
1717

@@ -72,13 +72,13 @@ type Response struct {
7272

7373
</Row>
7474

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.
7676

7777
## Differences
7878

7979
| | Nitric | Encore |
8080
| -------------------- | ---------------------------------------------------------------- | -------------------------- |
81-
| Language | Your choice | Go |
81+
| Language | Your choice | Go, TypeScript |
8282
| Lines of code | 26 | 15 |
8383
| Cloud Infrastructure | Inferred | Inferred |
8484
| Extensibility | [Custom providers](/providers/custom/create) can be created | No |

0 commit comments

Comments
 (0)