xhyve
cpplinks
xhyve | cpplinks | |
---|---|---|
10 | 15 | |
6,422 | 3,999 | |
0.1% | - | |
0.0 | 9.5 | |
over 2 years ago | 2 days ago | |
C | ||
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.
xhyve
-
How to connect to a docker container service when it's running on a mac?
This is due to the way Windows and OSX implement docker. They both use a VM running Linux; Windows uses Hyper-V and OSX uses Bhyve. (https://github.com/machyve/xhyve)
-
Asymptotic Notation !
Nowadays, docker uses runc, that is OCI compliant. Docker on macOS uses Hypervisor.framework through xhyve, and is completely macOS native. No VM is used (even under the hood) when running docker on macOS, it's native.
- Does xhyve on MacOS (Monterey) supports the passthru of the GPU ?
-
Favourite Hypervisor for a macOS Host?
I was happiest with xhyve https://github.com/machyve/xhyve
Serial console in terminal was nice (for me!), network configuration was trash (I think I was able to set the subnet by fiddling around with system plists? and it would revert from time to time), and I didn't have to deal with Virtualbox. I've been away from macs for a while, I don't know if xhyve works on the M1, but it might. I ran a FreeBSD vm so I could run my server code on my laptop in an environment that was like production but slower.
-
QEMU 6.2
The xhyve fork/port of bhyve for MacOS is worth mentioning: https://github.com/machyve/xhyve
-
[Desktop] Mac mini – Apple M1 Chip 8-core CPU, 8-core GPU – 8GB Memory – 256GB SSD - $569.99 ($669.99-$100)
Docker for Mac actually spins up TinyCoreLinux VMs using xhyve that your docker containers run on top of. This is because containers borrow the host kernel, so you can't natively run Linux containers on Mac. Xhyve spawns VMs so a Linux kernel will be present.
- Can you run “bare metal” VMs on a 2019 MBP? (Pre M1 Chip)
- Linux, macOS, and Windows running simultaneously on a first gen Core i5
-
Apple M1 CPU Microarchitectures (Firestorm and Icestorm): instruction tables describing throughput, latency, and uops
There's also been a port of FreeBSD's bhyve to macOS for years: https://github.com/machyve/xhyve (which, in turn, is [or at one point was] used by Docker to virtualize Linux)
-
What Is Your Hypervisor
I've used xyhve on my Mac to have a FreeBSD VM running a copy of https://www.freshports.org/, including a copy of the database, which runs about 200GB. For dev work, it was fine. I used it when I didn't have [great] internet connectivity, for example, when on the train/plane. When upgrading packages or just doing dev work, it was great.
cpplinks
-
Needed an advice in compilers dev!
linking and loading: https://github.com/MattPD/cpplinks/blob/master/executables.linking_loading.md - in addition to the aforementioned books and blog posts, there also some pretty good talks: https://github.com/MattPD/cpplinks/blob/master/executables.linking_loading.md#talks
-
How do you test compiler projects?
For more compilers correctness* resources see https://github.com/MattPD/cpplinks/blob/master/compilers.correctness.md
-
Assemblers and linkers resources
As for linkers and loaders, see https://github.com/MattPD/cpplinks/blob/master/executables.linking_loading.md
-
The Danger of Atomic Operations
More: https://github.com/MattPD/cpplinks/blob/master/atomics.lockfree.memory_model.md
-
How to move onto intermediate c++?
Take the red pill and see how deep the rabbit hole goes... https://github.com/MattPD/cpplinks/ https://github.com/shafik/cpp_learning
-
How should I learn x64 instructions?
x86-64 tutorials here should be a good starting point: https://github.com/MattPD/cpplinks/blob/master/assembly.x86.md#tutorials
-
Where should a static analysis beginner start?
See also static analysis resources (more C++-oriented, although some of the readings are general): https://github.com/MattPD/cpplinks/blob/master/analysis.static.md#readings-books and https://gist.github.com/MattPD/71b63a3e1600c2b52e1db80fa2834e60#correctness-in-practice (formal methods and program analysis in industry).
-
Follow-up resources to Crafting Interpreters
Further readings: Book recommendations in https://github.com/MattPD/cpplinks/blob/master/compilers.md#books as well as program analysis resources (in particular lattice theory, type systems and programming languages theory, related notation): https://gist.github.com/MattPD/00573ee14bf85ccac6bed3c0678ddbef#program-analysis-resources
-
Apple M1 CPU Microarchitectures (Firestorm and Icestorm): instruction tables describing throughput, latency, and uops
Microarchitectural performance analysis research is a pretty active and interesting area--see also: https://github.com/MattPD/cpplinks/blob/master/performance.tools.md#microarchitecture
-
GDB TUI mode
For more on GDB see: https://github.com/MattPD/cpplinks/blob/master/debugging.md#gdb
What are some alternatives?
OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
nvim-gdb - Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB
QEMU - Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
computer-architecture-and-systems-resources - A curated list of Computer Architecture and Systems resources
lima - Linux virtual machines, with a focus on running containers
cppcoro - A library of C++ coroutine abstractions for the coroutines TS
xnu-qemu-arm64
lm8 - A custom 8-bit computer and software suite
macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Medo - Haiku Media Editor
clang-tutor - A collection of out-of-tree Clang plugins for teaching and learning