Comments (4)
Thanks! I feel like we could use a little more somewhere about what this memory channel is for exactly and that would help a little. Maybe a more formal explanation. I think you need to know how extism works to understand when you'd want to free it. But I'll let @zshipko weigh in on what he thinks.
from c-pdk.
Maybe we could have something on the concepts page about how memory works and link to it from the README?
We should specifically mention that Extism allocated memory will be reset before each call so free
is only needed to recycle memory within a single call. This means values you know you're done with should be freed just to avoid wasting resources but there won't be any memory leaks if you forget.
from c-pdk.
Maybe we could have something on the concepts page about how memory works and link to it from the README?
A short snippet with a more in-depth explanation linked sounds best to me.
from c-pdk.
Added https://extism.org/docs/concepts/memory to the concepts. Now I just have to link it here.
from c-pdk.
Related Issues (4)
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 c-pdk.