managarm
sol2
Our great sponsors
managarm | sol2 | |
---|---|---|
10 | 20 | |
1,302 | 3,935 | |
2.4% | - | |
9.3 | 3.9 | |
6 days ago | 7 days ago | |
C++ | C++ | |
MIT License | 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.
managarm
- RISC-V support (super-duper ultra WIP) by ElectrodeYT · Pull Request #534 · managarm/managarm
-
What are some C++ projects with high quality code that I can read through?
managarm is pretty clean from what I remember.
- The managarm Operating System: an asynch mirokernel OS with Linux compatibility
-
Tilck – A Tiny Linux-Compatible Kernel
Somewhat related, Managarm[0] also attempts to be Linux compatible, but has a microkernel, multiserver design.
0. https://github.com/managarm/managarm
-
Linux Kernel 6.1 LTS Released with Initial Support for the Rust Programming Language
Neat idea. There is some research done on fully async OSes like https://github.com/managarm/managarm
-
Creator of SerenityOS announces new Jakt programming language effort
If you haven't already, I'd hang out with the Managarm crew. Prety friendly, and what they're doing with C++ and async is very cool!
-
In Defense of Async: Function Colors Are Rusty
But well, maybe you should look at Managarm.
-
Managarm development stream VOD 6/11/2021 - Implementing /proc/self
You can find more information on the project on our github page here. It is mostly a hobby project, so me and the other developers like to work on it in our free time.
-
This Month in Rust OSDev (May 2021)
Not hosted on rust-osdev but the Managarm project (an OS that focuses on async and that is primarily written in C++ so far) recently gained a rustc port and ports of some basic utilities written in Rust (ripgrep, exa). Support for Rust drivers is in the works (but still requires adding support for some libraries first that wrap the low-level system call interface).
-
LakeOS: a hobbyist multiserver microkernel OS written in Rust
If you have never seen an async OS, then you must’ve missed Managarm, a fully asynchronous operating system written in c++20. It’s a cool thing to check out, runs on x86_64 (a port to a raspberry pi4 is in progress) and has an extensive userland with various Linux applications running on a custom written libc. In case you’re curious, the repo can be found here: https://github.com/managarm/managarm
sol2
-
Any tips for how to make moddable games?
As someone said, make the game data-driven is a good first step but I will say, also have some sort of way to add additional game logic. For C++ games, lua is really easy to embed the interpreter in your C++ binary, read in the files from a directory (like /mods) with the C++ filesystem api new in C++17, and it's very easy to use SoL to write an API for lua specific to your game. Many games use lua in this way and it's probably the most common mod path setup.
-
Script Interoperability
I've only ever done this from C++, but it's using the same lua C library, so should be durable from C as well. You can look up how sol2 or any other wrapper libraries do it.
-
Need help trying to embed lua in c++
Consider sol2
-
CBN Changelog: December 3, 2022. Improved LUA support in progress!
This version relies on a Lua C++ wrapper called sol2 to hide Lua stack management from the developer, so creating new bindings can be done by adding a few lines of human-readable C++. It still has to be done manually, but at least sol2 is able to automatically figure out types of objects being bound, so it's not much different from our de-/serialization code.
- RTS programming game where you write real C++ code to control your player.
-
why?
Here's an example: sol2
-
Tools for rolling your own engine
Here is link number 2 - Previous text "Sol"
-
Storing pointers to C++ data in Lua in a type-safe-ish manner that are comparable on the Lua side.
Have you considered using sol2? https://github.com/ThePhD/sol2 Or if you don't want to switch over, you can at least look at their code and see how they handle this.
-
jluna: a new Julia <-> C++ Wrapper
It is half of a pun as I was inspired by [sol3](https://github.com/ThePhD/sol2) which is a lua <-> c++ wrapper. Sol means sun and the julia c-api prefixes all it's functions with jl, luna means moon so it is pronounced "jay luna"
-
A new C++ <-> Julia Wrapper: jluna
If you want to be portable I'd recommend C++ and Lua, I used those for years and it runs on everything and there's this most amazing wrapper API which was a huge inspiration
What are some alternatives?
mlibc - Portable C standard library
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
WingOS - a little 64bit operating system written in c++ with smp support
pybind11 - Seamless operability between C++11 and Python
modern-cpp-tutorial - 📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly | https://changkun.de/modern-cpp/
ChaiScript - Embedded Scripting Language Designed for C++
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
SWIG - SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
Beef - Beef Programming Language
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
crystal - The Crystal Programming Language
V8 - The official mirror of the V8 Git repository