Skip to content

Commit

Permalink
chore: bootstrap 'docs/from-go-to-gno.md' (gnolang#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
moul authored and Doozers committed Aug 31, 2023
1 parent 65f9912 commit 1dae1ad
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions docs/from-go-to-gno.md
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)

0 comments on commit 1dae1ad

Please sign in to comment.