Code Monkey home page Code Monkey logo

Comments (3)

Destrocamil avatar Destrocamil commented on May 24, 2024

I am testing UTM as we speak, I really don't know if this if a fit.

from boost.

andrewcrook avatar andrewcrook commented on May 24, 2024

@oglinuk @Destrocamil

VirtualBox is an x86 emulator.

No it's not an emulator and that’s apart of the problem.

It's virtualisation it uses the virtualisation extensions of the hardware CPU i.e Intel-VT or AMD-V.
You could try the UTM which use QEMU it uses emulation for Intel support on ARM but it's dead slow.
Or just use ARM64 Native Linux in UTM/QEMU/Parallels/VMWARE this will use ARM64's hardware virtualisation extensions.

If you need x86 64bit support macOS 13 looks to offer a new solution run an ARM64 VM with a ARM64 Linux and with some configuration and a few Linux tools you can make it use Rosetta 2 to add x86_64 support to the Linux instance which can then run 64bit Intel code through Rosetta’s translation. There is a 23% performance hit for the x86 code but its probably better than QEMU. I expect once macOS 13 is out of beta virtualisation software will adopt this method and make the setup automated.

It will also be interesting to see if ultimately this works well for graphics programs too and if Vulkan be wrangled to work in the stack using the likes of MoltenVK for in turn allowing Linux games to work on Apple Silicon -- or Steam Play for Windows games on Linux on macOS.

... also how this could be use with containers.

Create macOS or Linux virtual machines
Learn how you can use the Virtualization framework to quickly create virtual machines on your Mac. We'll show you how to create a virtual Mac and quickly test changes to your app in an isolated environment. We'll also explore how you can install and run full Linux distributions on Apple silicon, and share how you can take advantage of Rosetta 2 to run x86-64 Linux binaries.

Running Intel Binaries in Linux VMs with Rosetta - Run x86_64 Linux binaries under ARM Linux on Apple silicon.

With macOS 13 virtualization I can totally work with Qt Creator and develop for x86_64 gcc target using Rosetta 2, which is wild. it’s pretty smooth!

from boost.

rwxrob avatar rwxrob commented on May 24, 2024

Yeah, we moved to VMWare officially for the boost, but some will use QEMU/libvirt/KVM as well.

from boost.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.