-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] user book: writing program #1039
Conversation
INT-2881 Install and quickstart
can mostly copy https://docs.succinct.xyz/docs/getting-started/install but ours is simpler right now: Install
We don't need to install any special toolchains, just For quickstart, add example of writing fibonacci program, starting from Give the commands on how to run it using
|
} | ||
``` | ||
|
||
## Running on host |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not talk about running on host in quickstart since it'll be confusing. We just want quickstart to get to proving the program as quickly as possible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using either cargo openvm bench
probably.
also mention setting AXIOM_FAST_TEST=1
for dev.
cc @HrikB for context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I will delete this for now and Hrik can take over
|
||
Although it's ususally ok to use std (like in quickstart), not all std functionalities are supported (e.g., randomness). There might be unexpected runtime errors if one uses std, so it is recommended you develop no_std libraries if possible to reduce surprises. | ||
|
||
### reading input |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this section needs work, https://linear.app/intrinsictech/issue/INT-2882/separate-section-to-clarify-io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to merge this first
merge this to unblock Hrik, still working on the running section (and IO |
partially towards INT-2881
fix: INT-2873 INT-2874