Skip to content

Commit

Permalink
updated sidebar to remove tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
srinjoyc committed Nov 27, 2024
1 parent 3eb4498 commit eadda87
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 44 deletions.
2 changes: 1 addition & 1 deletion arbitrum-docs/stylus/concepts/how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Stylus innovates on many levels, with the key ones described here:

### One chain, many languages

There are roughly 20k Solidity developers, compared to 3 million Rust developers or 12 million C developers [[1](https://slashdatahq.medium.com/state-of-the-developer-nation-23rd-edition-the-fall-of-web-frameworks-coding-languages-711525e3df3a)]. Developers can now use their preferred programming language, which is interoperable on any <a data-quicklook-from="arbitrum-chain">Arbitrum chain</a> with Stylus. By onboarding the next million developers, scaling to the next billion users becomes possible.
There are roughly 20k Solidity developers, compared to 3 million Rust developers or 12 million C developers [[1](https://slashdatahq.medium.com/state-of-the-developer-nation-23rd-edition-the-fall-of-web-frameworks-coding-languages-711525e3df3a)]. Developers can now use their preferred programming language, which is interoperable on any <a data-quicklook-from="arbitrum-chain">Arbitrum chain</a> with Stylus. By onboarding the next million developers, scaling to the next billion users becomes possible.

### A better EVM

Expand Down
2 changes: 1 addition & 1 deletion arbitrum-docs/stylus/stylus-gentle-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Stylus is an upgrade to Arbitrum Nitro [(ArbOS 32)](https://docs.arbitrum.io/run

This second virtual machine executes WebAssembly (WASM) rather than EVM bytecode. WASM is a modern binary format popularized by its use in major web standards, browsers, and companies to speed up computation. WASM is built to be fast, portable, and human-readable. It has sandboxed execution environments for security and simplicity. Working with WASM is nothing new for Arbitrum chains. Ever since the [Nitro upgrade](https://medium.com/offchainlabs/arbitrum-nitro-one-small-step-for-l2-one-giant-leap-for-ethereum-bc9108047450), WASM has been a fundamental component of Arbitrum's fully functioning fraud proofs.

With a WASM VM, any programming language compilable to WASM is within Stylus's scope. While many popular programming languages can compile into WASM, some compilers are more suitable for smart contract development than others, like Rust, C, and C++. Other languages like Go, Sway, Move, and Cairo are also supported. Languages that include their own runtimes, like Python and Javascript, are more complex for Stylus to support, although not impossible. Compared to Solidity, WASM programs are much more efficient for memory-intensive applications. There are many reasons for this, including the decades of compiler development for Rust and C. WASM also has a faster runtime than the EVM, resulting in faster execution. Third-party [contribution](#contributing) in the form of libraries for new and existing languages is welcomed!
With a WASM VM, any programming language compilable to WASM is within Stylus's scope. While many popular programming languages can compile into WASM, some compilers are more suitable for smart contract development than others, like Rust, C, and C++. Other languages like Go, Sway, Move, and Cairo are also supported. Languages that include their own runtimes, like Python and Javascript, are more complex for Stylus to support, although not impossible. Compared to Solidity, WASM programs are much more efficient for memory-intensive applications. There are many reasons for this, including the decades of compiler development for Rust and C. WASM also has a faster runtime than the EVM, resulting in faster execution. Third-party [contribution](#contributing) in the form of libraries for new and existing languages is welcomed!

### Use Cases

Expand Down
77 changes: 35 additions & 42 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,36 @@ const sidebars = {
},
],
},
{
type: 'html',
value:
'<a class="menu__link menu__list-item" href="/run-arbitrum-node/run-nitro-dev-node">Run a Stylus Dev Node<span class="other-section-icon">↑</span></a>',
},
{
type: 'doc',
id: 'stylus/how-tos/debugging-stylus-tx',
label: 'Debug transactions',
},
{
type: 'doc',
id: 'stylus/how-tos/verifying-contracts',
label: 'Verify contracts',
},
{
type: 'doc',
id: 'stylus/concepts/stylus-cache-manager',
label: 'Cache contracts',
},
{
type: 'doc',
id: 'stylus/how-tos/verifying-contracts-arbiscan',
label: 'Arbiscan verification',
},
{
type: 'doc',
id: 'stylus/how-tos/adding-support-for-new-languages',
label: 'Using other languages',
},
{
type: 'category',
label: 'Concepts',
Expand All @@ -532,48 +562,6 @@ const sidebars = {
},
],
},
{
type: 'category',
label: 'Tutorials',
collapsed: true,
items: [
{
type: 'html',
value:
'<a class="menu__link menu__list-item" href="/run-arbitrum-node/run-nitro-dev-node">Run a Stylus Dev Node<span class="other-section-icon">↑</span></a>',
},
{
type: 'doc',
id: 'stylus/how-tos/debugging-stylus-tx',
label: 'Debug transactions',
},
{
type: 'doc',
id: 'stylus/concepts/stylus-cache-manager',
label: 'Cache contracts',
},
{
type: 'doc',
id: 'stylus/how-tos/optimizing-binaries',
label: 'Optimize WASM binaries',
},
{
type: 'doc',
id: 'stylus/how-tos/verifying-contracts',
label: 'Verify contracts',
},
{
type: 'doc',
id: 'stylus/how-tos/verifying-contracts-arbiscan',
label: 'Arbiscan verification',
},
{
type: 'doc',
id: 'stylus/how-tos/adding-support-for-new-languages',
label: 'Using other languages',
},
],
},
{
type: 'category',
label: 'Examples',
Expand Down Expand Up @@ -616,6 +604,11 @@ const sidebars = {
id: 'for-devs/dev-tools-and-resources/chain-info',
label: 'Chain Info',
},
{
type: 'doc',
id: 'stylus/how-tos/optimizing-binaries',
label: 'Optimize WASM binaries',
},
{
type: 'doc',
id: 'stylus/reference/opcode-hostio-pricing',
Expand Down

0 comments on commit eadda87

Please sign in to comment.