stardustxr / core Goto Github PK
View Code? Open in Web Editor NEWlibstardustxr, written from scratch blazingly fast in Rust!
Home Page: https://stardustxr.org/
License: MIT License
libstardustxr, written from scratch blazingly fast in Rust!
Home Page: https://stardustxr.org/
License: MIT License
To recap: Items are a specific type of Node containing data and methods, with no inherent UI. Item UI handlers are clients that will register to handle the UI for that specific type of item globally, and have access to all the methods. Item acceptors can be created to temporarily capture those items with full access to all the nodes. Item UI handlers decide when to capture the items into the acceptors.
The Launcher Item type would be a unified representation of an app to launch.
Its data would contain FreeDesktop Application Desktop file's fields including:
Pros:
Cons:
This is the first RFC for Stardust, feel free to comment if you don't understand the concepts or have suggestions for a different format.
This is a lot of just rearranging code.
The idea here is to take every single message that goes over IPC and force it to be a struct inside the schemas
crate so we can see the protocol in 1 place, edit it in 1 place, and so on. To do this, I've created the unified_protocol
branch that already has schemas arranged to do this.
What needs to be done is to get fusion and the server to use these crates, as well as take all of their internal schemas and put them inside the crate. There's a new Schema
trait that everything serialized or deserialized must implement so we can be sure they're all inside the schemas
crate. That way, you can just follow the errors to tell what needs to be converted next.
I recommend starting with the core crate, getting fusion and schemas fully sorted out. Then, the server will be a lot easier! Make sure all the method returns that the client gets do not borrow anything (e.g. /startup_settings/[instance]:generate_startup_token
needs to return a struct with String
in it, not &str
).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.