Giter Club home page Giter Club logo

memory-control's People

Contributors

andrewscheidecker avatar backes avatar binji avatar bnjbvr avatar cellule avatar chfast avatar chicoxyzzy avatar dschuff avatar eqrion avatar flagxor avatar gahaas avatar ggreif avatar gumb0 avatar honry avatar jfbastien avatar kg avatar kripken avatar lgalfaso avatar littledan avatar lukewagner avatar ms2ger avatar ngzhian avatar pepyakin avatar pjuftring avatar ppopth avatar rossberg avatar sbc100 avatar sunfishcode avatar swasey avatar xtuc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

memory-control's Issues

Performance implications of mapping vs bounds-checked allocations

Since one of the intended uses of this is for ArrayBuffers, I am wondering about the performance (and predictability) implications of using mapping operations on buffers whose sizes are not a multiple of a page size (and indeed may be smaller than a page). What is supposed to happen if you access past the end of a mapped buffer?

At one point I had envisioned a set of memory instructions that accepted an object pointer and performed bounds checks (WebAssembly/gc#109). Do you imagine that these mapping instructions would be able to take the place of those?

Manage wasm memory——read-only memory,and the data owner

I haven't been learning WASM for long, but I find that wasm memory now has no way to manage constant data (and ohter kinds of data),overwriting this data may cause security problems, and unmanaged memory even causes buffer overflows.

So I am glad to find this proposal. I think it’s necessary to manage wasm memory. I think that sometimes it is necessary to mark read-only buffer and the data owner(for example, if there is multiple memory, a mod can have its own memory, and other mods cannot access the data in that memory), even though there is additional overhead. Some of the content in the program itself is immutable, and managing the ownership of the data can also be convenient for some security applications.

In addition, I am currently a student and have a great interest in wasm memory management , so I would like to ask where I can learn more details and progress on this proposal (I would even like to take it as my graduate research direction if possible, and I would be very grateful if you could tell me some of this information).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.