wg-allocators
ruffle
wg-allocators | ruffle | |
---|---|---|
18 | 480 | |
199 | 14,517 | |
0.0% | 1.2% | |
0.0 | 9.9 | |
about 3 years ago | 5 days ago | |
Rust | ||
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wg-allocators
-
Anouncing `stabby` 1.0!
Tracking issue for Storages, and a TLDR on what it is
- What backwards-incompatible changes would you make in a hypothetical Rust 2.0?
-
Custom allocators in Rust
I must have gotten confused, since from your brief discussion with CAD97 it seemed like there was a way for the concepts to live separately and that Storage could complicate things in comparison. But if implementing Allocator in terms of Storage is basically equivalent and Storage is flexible enough that I could write one to pass memory out to unsafe code, that works just as well.
-
Zig and Rust
https://rust-lang.github.io/rfcs/1974-global-allocators.html was the original RFC.
My vague understanding is that there's a working group https://github.com/rust-lang/wg-allocators
The further I get from working on Rust day to day, the less I know about these things, so that's all I've got for you.
-
Rust went from side project to world’s fastest growing language
If you self-reference using pointers and guarantee the struct will never move, you don't even need unsafe. If you self-reference using offsets from the struct's base pointer, you need a splash of unsafe but your struct can be freely moved without invalidating its self-referential "pointers".
Per-struct allocators are a work in progress (see https://github.com/rust-lang/wg-allocators/issues/48).
Not sure what "non thread local addresses" means, but in my experience Rust is pretty good at sending data between threads (without moving it).
- Rust is coming to the Linux kernel
-
FunDSP 0.1.0, an audio processing and synthesis library
Besides that allocation is not really a problem for no_std. It's resolved by using alloc crate directly, so anything usable with custom allocators is supported. Example in dasp sources - https://github.com/RustAudio/dasp/blob/master/dasp_slice/src/boxed.rs#L14-L19 . Also worth looking at this issue to check what is usable already - https://github.com/rust-lang/wg-allocators/issues/7
-
Andrew Kelley claims Zig is faster than Rust in perfomance
But that's on track for rust as well: https://github.com/rust-lang/wg-allocators/issues/7
-
Which important features from C/C++ are missing in Rust
Here: https://github.com/rust-lang/rfcs/pull/1398. there is also a working group for this: https://github.com/rust-lang/wg-allocators.
-
Box<T> allocator override?
It's unstable. wg-allocators contains discussions about design and a tracking issue for collections that need an allocator https://github.com/rust-lang/wg-allocators/issues/7
ruffle
-
Orisinal: Morning Sunshine (recovered old flash games)
The memories…
I often wondered what would happen to those wonderful Orisinal mini games after Flash's death, without actually checking out the site. Would Ferry Halim find the time to port them to "HTML5"? Would they just… disappear forever?
It turns out that they know run in Ruffle[1], a Rust/WASM based Flash Player emulator I've never heard of (or forgotten about). The handful of them that I have tested work flawlessly.
[1] https://ruffle.rs/
-
WebAssembly Playground
shrug It finds its uses. It's just not that overstated.
sandspiel is quite popular and is built using WASM: https://sandspiel.club/
Google Earth - https://blog.chromium.org/2019/06/webassembly-brings-google-...
Ruffle (the "make Flash run safely" tool) - https://ruffle.rs/
Ableton's Learning Synths - https://learningsynths.ableton.com/
etc etc. It's just hard to tell when something is using WASM when it "just works" and is indistinguishable from optimized JavaScript
-
Amon Tobin – Foley Room site (2007)
I was amazed that the site still runs, apparently still using the same engine.
But it seems that it was a flash site (of course), and archive.org seems to replace Flash Player with "Ruffle" [1]. Either that, or someone of Tobin's team replaced Flash with Ruffle >= 2019.
[1] https://ruffle.rs/
-
New York Times Flash-based visualizations work again
Out of curiosity a couple months ago I wondered if I could play my old Proximity flash game on Newgrounds from the browser within the Quest 3 VR headset, and it worked great!
That led me to do a little searching, and I discovered that originally the game didn't work in Ruffle, as I apparently did something with the play game button that wasn't normal. But someone put a fix in it back in 2020[1] in order to get my game working again. That was pretty neat. Felt kind of nice that people still cared enough about my old game to make sure it still works in an emulator.
Still working on a more in-depth sequel (using Monogame), and I'm way overdue to make a new web version of the original. Might knock that out once I get closer to getting the sequel out there.
[1]: https://github.com/ruffle-rs/ruffle/pull/1024
-
New York Times has added a web-based Flash player to their archive website
i believe it's using Ruffle[0] and that's already happened[1]
[0] https://github.com/ruffle-rs/ruffle
-
It's the offseason, so it's time to face the most lethal bullpen ever assembled. Let's play Winnie the Pooh's Home Run Derby!
This is all using a really cool Flash emulator called https://github.com/ruffle-rs/ruffle
- you can still play flash games without using adobe flash player thanks to ruffle
- Você lembra dos jogos em Flash?
- A Flash Player emulator written in Rust
- Ruffle: Flash Player Emulator
What are some alternatives?
www.ziglang.org
lightspark - An open source flash player implementation
serde-plain - A serde serializer that serializes a subset of types into plain strings
Offline-flash-player
enum-map
react-resizable-and-movable - 🖱 A resizable and draggable component for React.
rules_rust - Rust rules for Bazel
TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.
cryptography - cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
launcher - Launcher for Flashpoint Archive
dpp - Directly include C headers in D source code
jpexs-decompiler - JPEXS Free Flash Decompiler