Comments (2)
I hope it’s u8
, otherwise we’re wasting quite some memory. Will check later.
from hellorust.
Puh, I looked at the code and say with confidence: Rust is doing alright.
The function definition of as_mut_ptr
is:
fn as_mut_ptr(&mut self) -> *mut T
Now this T
is fixed to be c_void
in our case, which luckily is defined to be represented as an u8
and therefore the right type here.
from hellorust.
Related Issues (13)
- Post: size comparison
- Integer overflow in factorial demo HOT 2
- base64 in rust vs browser's built-in HOT 5
- Faults in the setup/wasm-target guide HOT 1
- loaders loader loaders
- Sha1 demo is broken HOT 1
- Two additional examples: pinky & wasm-astar
- Demos should use extern fn? HOT 1
- A new example on how to work with the imported memory HOT 3
- License? HOT 2
- Hellorust should be CC0 licensed. HOT 5
- Adding a couple of talks here 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 hellorust.