Comments (2)
no, you can have an allocator with nostd, you just need to enable the crate (see https://docs.rust-embedded.org/book/intro/no-std.html)
https://www.reddit.com/r/rust/comments/9eyc21/noob_what_exactly_is_no_std_and_why_is_it_so/ has a good answer
no_std exists because std assumes you have an operating system with things like a memory allocator and a file system. This assumption is not true on things like microcontrollers, or when you are the operating system. Rust automatically links std by default, so there has to be a switch to turn it off, or Rust wouldn't be usable in those places.
we don't have access to filesystem APIs, etc, so nostd would avoid things that could be problematic
from sapio.
What does this buy us IRL? And iirc nostd implies no access to an allocator, is that going to be an issue?
from sapio.
Related Issues (20)
- Replace serde-json with a canoncial json library which can support floats? HOT 5
- simplify amount_range / Amount* structs to a sane default? HOT 5
- Make bind_psbt function use SIMPs, not mock outputs, for adding inputs HOT 6
- take advantage of new workspace hierarchies to split out "sapio core" workspace from host stuff HOT 2
- reproducible builds for WASM modules
- Consistent & Clear terminology clean up
- Defining "Packages" / "Bundles"
- Redefine the core module return type to flatten/deduplicate some data
- Fix broken CI
- Revert removal of cross module validation
- Add Emulation for other Covenant Primitives? HOT 2
- Test max contract depths/recursion limits, potentially "flatten" computations.
- Stop Directly Constructing Policy AST HOT 5
- macros and inferred types
- Context/Template type parameter?
- Avoid Feature Flags unless absolutely required
- Rework sapio-contrib & examples
- Runnable Examples in Book
- Any plans for supporting ordinals? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sapio.