Live data from Hacker News

Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

github.com

51–60 of 85 posts

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#51
post #48

Can you use to launch an Intel VM on Apple Silicone and visa versa? I’m interested in doing this so I can compile C++ applications for different architectures on MacOS. Do you know of any other “easy” methods?

It should be possible. I did this in the early 90's... I had a windows vm running on a powerpc Mac, writing x86 assembly for college class.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#53

I know the Mac hardware is pretty trick, but man, I do most of my dev on Linux and have a Framework Laptop (AMD) running Ubuntu; it's just really nice for dev stuff to work the same way it does on our production environment... Also, the frequency and size and time to install MacOS updates - like these computers are blazingly fast from the cpus to the SSDs - after an update has downloaded, what could it possibly be do…

Always wondered the same, re: updates. To be fair, macOS I believe is downloading an entire OS image each time. macOS is immutable root, like Fedora Silverblue, so OS updates download the entire OS image each time. On a package-based system you're doing a diff update, essentially. Then again, even Fedora Silverblue image updates don't take nearly as long as macOS. At least both are better than Windows, god knows what…

Yeah, but the SSDs today can write something like 2GB/s, so even if you're re-writing the entire OS, you should be able to do that in what? 1 minute max?

Assuming they're using some fast parallel compression algo as well when unpacking it...

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#54

Would you mind educating me about use cases for having one or even multiple MacOS VMs on an apple silicon machine please?

I have an M4 Mac Mini running the following in a VM: - OpenWRT (previously OPNSense & once Mikrotik RouterOS) using 2x 2.5Gbps Ethernet NICs via USB-C - OpenMediaVault (Exposing a 4-bay DAS via USB-C, 2x3TB Drives in Btrfs RAID-1) - HassOS (Home Assistant OS) On the host, I'm running OLlama and a reverse proxy through Docker. The whole thing uses 7 watts of power at any given time - I've seen max peaks of 12w when ru…

My question was rather about MacOS guest(s) on a MacOS host. Contrarily to specialised linux distros (Home Assistant, OpenWRT...) MacOS doesn't strike me as particularly minimalistic won I wonder about the amount of overhead and plain storage requirements just running them idle...

I understand for specific MacOS or iOS development wanting template envs one would want to easily and repeatedly spawn up / destroy.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#55
post #8

How does this compare to Lima[1] and Tart[2], which are similar? Also, would it be possible to run BSDs with this? [1] https://lima-vm.io [2] https://tart.run

Yes, lume relies on Apple's Virtualization framework and can run BSD on a Mac with Apple silicon: https://wiki.freebsd.org/AppleSilicon I'll definitely document the option in the README, thanks! On Lima: - Lima focuses on Linux VMs and doesn't support managing macOS VMs. - It is more of a container-oriented way of spinning up Linux VMs. We're still debating whether to go in that direction with lume, but the good news…

Colima is a container focused macOS VM runner.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#56

Earlier quoted context omitted.

I have an M4 Mac Mini running the following in a VM: - OpenWRT (previously OPNSense & once Mikrotik RouterOS) using 2x 2.5Gbps Ethernet NICs via USB-C - OpenMediaVault (Exposing a 4-bay DAS via USB-C, 2x3TB Drives in Btrfs RAID-1) - HassOS (Home Assistant OS) On the host, I'm running OLlama and a reverse proxy through Docker. The whole thing uses 7 watts of power at any given time - I've seen max peaks of 12w when ru…

Out of curiosity, why not containers for OMV and Haas? QoS? And I’m dying to know what you are using openwrt for. I’m looking at setting up a Mini as well, and have been using Colima/LIMA to run containers on Rosetta/Mac vz locally and it seems to work well enough.

Haas has massive limitations in its container mode. (Add-ons, OTA updates,...)

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#58

Name clash with the not very well known Lua library, you should strongly consider changing the name https://github.com/rxi/lume

Lume[1] is also a static site generator for the Deno runtime[2]. Finding a four-letter name in the Latin alphabet that is unique and still sounds like a real name is nearly impossible. Fortunately, I registered the domain Egont[3] a long time ago, perhaps presciently anticipating the interplay between AI, agents, and ego. Five letters though.

[1] https://lume.land/

[2] https://deno.com/

[3] https://www.egont.com/

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#60
post #48

Can you use to launch an Intel VM on Apple Silicone and visa versa? I’m interested in doing this so I can compile C++ applications for different architectures on MacOS. Do you know of any other “easy” methods?

I don't believe the built in virtualization framework supports emulation, but you can do this with QEMU. An easy way to get started is with UTM:

https://mac.getutm.app

Post reply on HN