Sergei Shulepov

Results 31 issues of Sergei Shulepov

This is a prototype of the solution for https://github.com/bytecodealliance/wasmtime/issues/4109 [^1]. This is very rough and is not intended to be landed as is. Rather, this PR here is to validate...

wasmtime:api
wasmtime:config

wasmtime right now has the fuel mechanism. It allows precise control of how many instructions are executed before suspending execution, at least at a basic block granularity. The price is...

Right now the given CLIF ``` v1 = load.i32 v0+32 v2 = iconst.i32 2 v3 = iadd v1, v2 store v3, v0+32 ``` generates the following assembly ``` movl $2,...

cranelift
cranelift:goal:optimize-speed
cranelift:E-compiler
cranelift:area:x64

As the time of writing, polkadot validation function execution is performed using the same executor that is used for executing Substrate runtimes. Substrate executor doesn't guarantee non-determinism of execution, or...

F7-footprint

Currently, there is no explicit versioning of the PVF execution environment. The execution environment (EE) includes (non-exhaustive probably): - the set of available host functions for the PVF during execution,...

First page(s) contains static data, bss and the stack. When allocator (e.g. [wee_alloc](https://github.com/fitzgen/wee_alloc)) is asked to allocate for the first time, it mounts a new page. So the space after...

We need to reconsider the limits (particularly maximal value and frame stack height). Ideally we should provide a way for a user to change this limits. Also, we might want...

wasmi-v0

Depends on #98 For now, every instruction is represented by an enum value. It means that each instruction occupies size required for a tag plus a size of the instruction...

enhancement
help wanted

rustfmt can help with this check. An example can be found in the https://github.com/paritytech/ink repo.

This might come in handy for the use-cases when there is need to interact with memory in a interprocess fashion.