Huang Qi

Results 78 comments of Huang Qi

@kisvegabor @vshymanskyy I've made a simple prototype program here: https://github.com/no1wudi/binding It uses TOML to describe interface definitions and can support the generation of global functions, global constants, and module definitions....

@huming2207 This tool should have two stage at least as you say, I recommend using TOML instead of JSON as the manifest: 1. TOML is more readable than JSON 2....

In this case, you can implement your own `iwasm` utility (put the AOT-XIP file context in a special executable flash region and run from it) or implement proper `os_mmap` for...

@duchengxian Hi, now the XIP mode is a highly architecture dependent feature, it's only tested on arm & riscv. Other platform would need to check the intrinsic need be replaced...

What's your aot compile option ? Note: Simply comment out apply_relocation is dangerous , the relocation is occurred with some specific instructions instead of "long code".

@lum1n0us In current implementation, I think `NULL` means there is no stack boundary at all.

@ptka Could you share more detail and plan for the Rust support ? Since there are sereval approach to use Rust with NuttX, for example like https://github.com/no1wudi/nuttx.rs, it use NuttX...

@ptka Great work, would you create a series of crate like `libc-nuttx' for it ? If that, do you value the interoperability with rust's ecosystem?

It seems cargo is not a problem for "control over what's going into the system" since both the package and its version was controlled by user, if you don't change...

I prefer to enhance LLVM, change the AOT file format will cause extra overhead for ARM/RISC-V.