forked from gnolang/gno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bootstrap 'docs/from-go-to-gno.md' (gnolang#935)
- Loading branch information
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# From Go to Gno | ||
|
||
## Runtime comparison | ||
|
||
TODO | ||
|
||
## Side-by-side comparison | ||
|
||
TODO | ||
|
||
## Lifecycle comparison | ||
|
||
``` | ||
_____ _____ | ||
/ ___/__ / ___/__ ___ | ||
/ (_ / _ \ / (_ / _ \/ _ \ | ||
\___/\___/ \___/_//_/\___/ | ||
+----------------+ +----------------+ | | ||
| | | | | | ||
| Write app |---------->| Write contract | | | ||
| | | | | | ||
+----------------+ +----------------+ | | ||
+----------------+ +----------------+ | Develop as usual | ||
| | | | | | ||
| Test locally |---------->| Test locally | | | ||
| | | | | | ||
+----------------+ +----------------+ v | ||
+----------------+ +----------------+ | | ||
| | | | | | ||
| Compile |-----+ | | | | ||
| | | | | | | ||
+----------------+ | | | | | ||
| | | | | | | ||
| Rent hosting |-----+ | | | | ||
| | | | | | | ||
+----------------+ +---->|Publish on chain| | Deploy | ||
| | | | | | | ||
| Upload binary |-----+ | | | | ||
| | | | | | | ||
+----------------+ | | | | | ||
| | | | | | | ||
|Setup a database|-----+ | | | | ||
| | | | | | ||
+----------------+ +----------------+ v | ||
+----------------+ +----------------+ | | ||
| Users can | | | | | ||
| interact with |-----+ | | | | ||
| the server | | | | | | ||
+----------------+ | | | | | ||
| | | | | | | ||
| Monitoring | | | | | | ||
| | | | Users interact | | | ||
+----------------+ | | with the chain | | Run | ||
| Maintain | | | | | | ||
| database |-----+---->| Forever | | | ||
| | | | | | | ||
+----------------+ | | Automatic | | | ||
| | | | persistency | | | ||
| Scalability |-----+ | | | | ||
| | | | | | | ||
+----------------+ | | | | | ||
| Keep paying to | | | | | | ||
|keep the service|-----+ | | | | ||
| up | | | | | ||
+----------------+ +----------------+ v | ||
``` | ||
|
||
## See also | ||
|
||
- [go-gno-compatibility.md](./go-gno-compatibility.md) | ||
- ["go -> gno" presentation by Zack Scholl](https://github.com/gnolang/workshops/tree/main/presentations/2023-06-26--go-to-gno--schollz) |