rustyscreeps / oxydized_screeps Goto Github PK
View Code? Open in Web Editor NEWScreeps OS written in Rust. Very much in alpha.
Screeps OS written in Rust. Very much in alpha.
For the sake of our OS, we would have processes and threads.
Processes can be scheduled and have memory that is theirs only.
Threads could be scheduled and share their memory with their parent process. Doing so could enable easier coordination between multiple jobs, at the price of needing to be more careful with the memory ownership (rust should help with that).
There is something to be said about only having threads running (so a process would spawn a "main thread"). This would make everything fairly uniform from the kernel/scheduler point of view, but would add a layer of complexity on the process side.
This is to implement a poor man's version of generator. If Yield
returns an integer, run
can use that integer to match where to resume in its code.
u8
state tracker (maybe wrap it in something fancier?Messages
aren't yet supported. A way to handle figuring out where to send a message would be for some processes to act as services and register themselves as such to the kernel using a SysCall::register_service
.
Messages could be a HashMap<String, i32>
. TBD
SysCall::send_message
that sends a message and then either automatically yield or use as a recursive type.SysCall::register_service
to register that process to the kernel.Kernel::terminate
to unregister services.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.