argumentcomputer / radiya.rs

A Rust implementation of the Lean kernel
MIT License
11 stars 0 forks source link

no_std, WASM compilation, mimalloc #3

Open johnchandlerburnham opened 2 years ago

johnchandlerburnham commented 2 years ago

In Yatima we used sp_std, but I think here we can just use core and alloc. In my initial investigation, this requires setting our own GloballAllocator (and alloc error handler, etc).

It might be interesting as part of this effort to port https://github.com/microsoft/mimalloc (which is used by Lean) to pure no_std Rust (and therefore WASM), it's <10k LOC.