wee_alloc icon indicating copy to clipboard operation
wee_alloc copied to clipboard

This repo needs to be archived and marked as deprecated

Open spencerbart opened this issue 1 year ago • 4 comments

Too many sites are recommending this repo but this repo has major security issues. It needs to be fixed or taken down.

spencerbart avatar Feb 28 '23 17:02 spencerbart

Agreed

erwanvivien avatar Mar 01 '23 13:03 erwanvivien

Yes I am beginning to see that a lot of the the Rust wasm ecosystem is outdated and not working well in 2023. Specifically the tutorials and book provided from https://rustwasm.github.io/ has not been updated for years and does not work out of the box. What is the modern tooling for wasm with rust, besides wasm-pack and friends?

jack-mil avatar Apr 23 '23 16:04 jack-mil

Major security issue? You mean the memory leak? You do realize it's impossible to free wasm memory.. I would say this is a wasm issue not this library. I bet the standard allocator has the same issue..

FlogramMatt avatar May 22 '23 22:05 FlogramMatt

https://github.com/rustwasm/wee_alloc/issues/106#issue-1179853771

Making two large allocations, then dropping them in the order they were allocated leaks memory in wee_alloc, but not in default allocator.

Hello @FlogramMatt. I believe not, this issue says otherwise

erwanvivien avatar May 23 '23 09:05 erwanvivien