News for hackers. Stuff that matters.
Re:Things I can’t do on macOS which I can do on Ubuntu (2020) by drcongo on Tuesday April 26, 2022 @08:53AM (#31166856)
I'm using Docker for Mac on an M1 Pro and it's stupidly fast, to the point that my dev environment runs faster than the Intel production servers on some things.
Re:Things I can’t do on macOS which I can do on Ubuntu (2020) by jjjbokma on Tuesday April 26, 2022 @01:15PM (#31170223)
How well does it handle a large amount of writes to small files (say 1000 files, each about 8KB)?

Edit: the static blog generator I wrote [1] takes 11 seconds inside a Ubuntu virtual machine with the directory shared with MacOS on an Mac mini late 2014. Docker, on the same machine, takes 1m13 seconds using gRPC FUSE for file sharing. 1866 HTML files are being generated.

[1] https://github.com/john-bokma/tumblelog

Re:Things I can’t do on macOS which I can do on Ubuntu (2020) by drcongo on Wednesday April 27, 2022 @05:00AM (#31177836)
I have no idea I'm afraid, I don't work on anything that would ever do something like that. As a real world benchmark, the project I'm working on at the moment (Python / Django) runs the test suite in ~10.2 seconds on my Mac inside Docker, on GitHub CI it takes 35 seconds.
Re:Things I can’t do on macOS which I can do on Ubuntu (2020) by nicoburns on Wednesday April 27, 2022 @05:40AM (#31178050)
I'd be interested to know how quickly that runs natively on your mac.