postcard
ggez
postcard | ggez | |
---|---|---|
7 | 50 | |
708 | 4,111 | |
- | 0.5% | |
5.9 | 4.3 | |
12 days ago | 8 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
postcard
-
Best format for high-performance Serde?
I've been enjoying postcard as a lightweight efficient binary serialization.
-
Ractor: not just another actor framework
That said, postcard is not a self describing format (so everyone needs the same schema, no changes allowed), but I do have a tracking issue open for ways to handle this in the future.
-
Are there any serialization crates that do Varint encoding without Zigzag encoding?
For example, look at the Postcard serializer for inspiration.
-
Hey Rustaceans! Got a question? Ask here! (51/2022)!
Serde should be no_std, I have used it embedded with crates such as postcard. You can see how postcard disables default features of serde here : https://github.com/jamesmunns/postcard/blob/main/Cargo.toml
-
jemi: a compact JSON serializer for embedded systems
Another option that may work for some is SerDe on rust. You just write a struct with the fields you want #[derive(Serialize, Deserialize)] above it, and if codegens the functions to deserialize that struct from JSON and serialize it back. Example looks like this https://docs.rs/serde_json/latest/serde_json/#creating-json-by-serializing-data-structures (but you have to use serde-json-core if you don’t have an allocator). Can also easily reserialize to something small like postcard that’s meant for embedded storage.
-
Karmem: A fast binary serialization format faster than Google Flatbuffers
https://github.com/jamesmunns/postcard
postcard seems like it would be particularly strong for the wasm use case as it produces small messages that are light in memory.
ggez
-
ggez news! 0.9.0 released and more!
ggez is a lightweight cross-platform game framework for making games with minimum friction. Check it out at https://github.com/ggez/ggez, https://crates.io/crates/ggez
-
NANOVOID Devlog #1: Lua Scripting
I'd say to use either https://macroquad.rs/ or http://ggez.rs/, they're both basically "all that you need for 2d". I've used macroquad extensively, but that was mainly because ggez was undergoing a big rewrite to wgpu which is now complete with 0.8.
-
Embedding GGEZ into GTK-RS
Hi guys, Is there a guide on how to implement renderers/frameworks such as GGEZ?
- Hey Rustaceans! Got a question? Ask here (12/2023)!
- Hey Rustaceans! Got a question? Ask here (10/2023)!
-
Hey Rustaceans! Got a question? Ask here (9/2023)!
ggez also looks pretty straightforward and simple to get graphics moving around quick and easy.
-
Hey Rustaceans! Got a question? Ask here (8/2023)!
https://github.com/ggez/ggez/issues/1158 For this is it as simple as changing the methods to take &Image, .clone() it inside and use that or is cloning missing the point of the change?
-
Hey Rustaceans! Got a question? Ask here! (51/2022)!
Sounds like https://ggez.rs/.
-
Clean Pixel art in ggez 0.8.1
See the links here on how to do what you want with samplers. https://github.com/ggez/ggez/issues/1046
-
Sokoban clone written in Rust using ggez
Nice, can you add it to the list of projects https://github.com/ggez/ggez/blob/master/docs/Projects.md ?
What are some alternatives?
tinycbor - Concise Binary Object Representation (CBOR) Library
bevy - A refreshingly simple data-driven game engine built in Rust
karmem - Karmem is a fast binary serialization format, faster than Google Flatbuffers and optimized for TinyGo and WASM.
macroquad - Cross-platform game engine in Rust.
ractor - Rust actor framework
piston - A modular game engine written in Rust
json-maker - C library used to code JSON objects in null-terminated strings
Tetra - 🎮 A simple 2D game framework written in Rust
speedy - A fast binary serialization framework
Amethyst - Data-oriented and data-driven game engine written in Rust
tiny-json - The tiny-json is a versatile and easy to use json parser in C suitable for embedded systems. It is fast, robust and portable.
love - LÖVE is an awesome 2D game framework for Lua.