github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/docs/concepts/from-go-to-gno.md (about)

     1  ---
     2  id: from-go-to-gno
     3  ---
     4  
     5  # From Go to Gno
     6  
     7  ## Runtime comparison
     8  
     9  TODO
    10  
    11  ## Side-by-side comparison
    12  
    13  TODO
    14  
    15  ## Lifecycle comparison
    16  
    17  ```
    18        _____                     _____
    19       / ___/__                  / ___/__  ___
    20      / (_ / _ \                / (_ / _ \/ _ \
    21      \___/\___/                \___/_//_/\___/
    22  +----------------+           +----------------+     |
    23  |                |           |                |     |
    24  |   Write app    |---------->| Write contract |     |
    25  |                |           |                |     |
    26  +----------------+           +----------------+     |
    27  +----------------+           +----------------+     |  Develop as usual
    28  |                |           |                |     |
    29  |  Test locally  |---------->|  Test locally  |     |
    30  |                |           |                |     |
    31  +----------------+           +----------------+     v
    32  
    33  +----------------+           +----------------+     |
    34  |                |           |                |     |
    35  |    Compile     |-----+     |                |     |
    36  |                |     |     |                |     |
    37  +----------------+     |     |                |     |
    38  |                |     |     |                |     |
    39  |  Rent hosting  |-----+     |                |     |
    40  |                |     |     |                |     |
    41  +----------------+     +---->|Publish on chain|     |  Deploy
    42  |                |     |     |                |     |
    43  | Upload binary  |-----+     |                |     |
    44  |                |     |     |                |     |
    45  +----------------+     |     |                |     |
    46  |                |     |     |                |     |
    47  |Setup a database|-----+     |                |     |
    48  |                |           |                |     |
    49  +----------------+           +----------------+     v
    50  
    51  +----------------+           +----------------+     |
    52  |   Users can    |           |                |     |
    53  | interact with  |-----+     |                |     |
    54  |   the server   |     |     |                |     |
    55  +----------------+     |     |                |     |
    56  |                |     |     |                |     |
    57  |   Monitoring   |     |     |                |     |
    58  |                |     |     | Users interact |     |
    59  +----------------+     |     | with the chain |     |  Run
    60  |    Maintain    |     |     |                |     |
    61  |    database    |-----+---->|    Forever     |     |
    62  |                |     |     |                |     |
    63  +----------------+     |     |   Automatic    |     |
    64  |                |     |     |  persistency   |     |
    65  |  Scalability   |-----+     |                |     |
    66  |                |     |     |                |     |
    67  +----------------+     |     |                |     |
    68  | Keep paying to |     |     |                |     |
    69  |keep the service|-----+     |                |     |
    70  |       up       |           |                |     |
    71  +----------------+           +----------------+     v
    72  ```
    73  
    74  ## See also
    75  
    76  - [go-gno-compatibility.md](../reference/go-gno-compatibility.md)
    77  - ["go -> gno" presentation by Zack Scholl](https://github.com/gnolang/workshops/tree/main/presentations/2023-06-26--go-to-gno--schollz)