Skip to content

Resource requirements in no-std environments #916

Answered by udoprog
Conaclos asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, thank you!

The compiler doesn't exclusively use the internal alloc crate (yet), so unsure about resource requirements there. But generally the larger more complex the program, the higher the resource requirements. At runtime these should be very low, so if you can compile somewhere else and ship the bytecode (a Unit implements serde) you should be able run it in a very resource constrained environment. However, this has not been tested so I don't know to what extent.

Float support can't be disabled, but a PR for that is welcome.

no-std is supported but some features might not be available.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Conaclos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants