Skip to content

Commit

Permalink
fix link to github riscv-rust/rust
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Apr 14, 2022
1 parent 64f2772 commit 091fb01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rfcs/0003-ckb-vm/0003-ckb-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ CKB only defines the low level virtual machine. In theory, any languages with RI
* CKB can leverage standard riscv-gcc, riscv-llvm or even upstream gcc/llvm for C/C++ contract development. Executables emitted by those compilers can be directly used as CKB contracts.
* C-based Bitcoin or Ethereum VM can also be compiled into RISC-V binaries as common cells, contracts can then load those common cells to run Bitcoin or Ethereum compatible contracts.
* Higher-level language VMs, such as [duktape](http://duktape.org/) or [mruby](https://github.com/mruby/mruby) can also be compiled and loaded to run contracts running by JavaScript or Ruby
* [Rust](https://github.com/riscv-rust/rust) can also be used to write contracts with recent development in this space
* [Rust](https://github.com/riscv-rust/riscv-rust-quickstart) can also be used to write contracts with recent development in this space

## Runtime Cost

Expand Down
2 changes: 1 addition & 1 deletion rfcs/0003-ckb-vm/0003-ckb-vm.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ CKB 核心只定义了底层的虚拟机模型,理论上任何提供了 RISC-V
* CKB 可以直接使用标准的 riscv-gcc 以及 riscv-llvm 以 C/C++ 语言来进行开发。编译后的可执行文件可以直接作为 CKB 的合约来使用
* 与此相应的,可以将 C 实现的 Bitcoin 以及 Ethereum VM 编译成 RISC-V 二进制代码,保存在公共 Cell 中,然后在合约中引用公共 Cell 来运行 Bitcoin 或者 Ethereum 的合约
* 其他的高级语言 VM 如 [duktape](http://duktape.org/)[mruby](https://github.com/mruby/mruby) 在编译后,也可以用来相应的运行 JavaScript 或者 Ruby 编写的合约
* 相应的也可以使用 [Rust](https://github.com/riscv-rust/rust) 作为实现语言来编写合约
* 相应的也可以使用 [Rust](https://github.com/riscv-rust/riscv-rust-quickstart) 作为实现语言来编写合约

## Runtime Cost

Expand Down

0 comments on commit 091fb01

Please sign in to comment.