扑清工嚟,同solana 有關的
新啲嘅smart contract 本身就係用人類睇得明嘅programming language 轉做assembly,再喺個sandbox/vm 到行。詳情我都未太明
Solana on-chain programs are compiled via the LLVM compiler infrastructure(from human understandable language: Rust/C++) to an Executable and Linkable Format (ELF) containing a variation of the Berkeley Packet Filter (BPF) bytecode.
BPF provides an efficient instruction set that can be executed in an interpreted virtual machine or as efficient just-in-time compiled native instructions.
好似話bpf 比wasm memory performance 好啲
https://medium.com/solana-labs/high-performance-memory-management-for-smart-contracts-aa9b3bc950fb