Becavalier / Becavalier/Book-DISO-WebAssembly
对于data段的描述存在疑惑
Open
- Dominant language
- WebAssembly
- Stars
- 72
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
书中第181页,举例说“i32.const 16 指出该内存段需要填充的数据偏移量为16个32位整数的长度,即64字节。“
想请问一下,这里是指偏移为64个字节,还是初始化的数据占64个字节,也就是offset和length的区别。
个人觉得对于data段讲得不是很清楚,从data段的功能而言——初始化内存,是既需要offset也需要length的,并且数据的存储是否遵循小端序等等也没有提及,希望作者能给一个例子,描述得更清楚一些~
非常感谢!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the discussion of data segments on page 181, especially the example using “i32.const 16.” Clarify whether 16 denotes a 64-byte offset or 64 bytes of initialized data, explain the distinction between offset and length, and add an example covering initialization and byte order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100