Re: Developing on local FreeBSD AArch64 and deploying to FreeBSD x86_64?
Date: Tue, 15 Nov 2022 23:31:02 UTC
------- Original Message ------- On Tuesday, November 15th, 2022 at 21:55, Dave Cottlehuber <dch@skunkwerks.at> wrote: > > > On Tue, 15 Nov 2022, at 19:02, Simon Connah wrote: > > > Hi, > > > > I have a Mac running the latest version of macOS and installed the UTM > > virtualisation software. I have FreeBSD 13.1 AArch64 working perfectly, > > but I'm concerned about possible problems when developing on ARM and > > deploying to Intel. Can I be sure there are no user-facing differences > > between the two architectures? > > > Hi Simon > > Without knowing specifically what you’re using and how you’re deploying, I mix and misuse aarch64 and amd64 daily. > > In general ports and packages on both work just the same, with the caveat that any native code extensions to your languages (node, php, elixir) will require building on the correct architecture. > > This being FreeBSD, that is not entirely true as there are tools like poudriere and other cross-compilers and emulators like army to do that. > > So long as your package versions are in sync stuff should just work. > > of course you can now deploy to arm64 servers too, I think all major cloud providers support this. > > A+ > Dave Hi Dave, Thank you for your reply. At the moment I'm only really looking at using Nodejs, PostgreSQL, nginx, git and vim so I doubt any of that will be affected by different CPU architectures. Having said that I am heavily interested in FreeBSD as a whole and I'd like to do some lower level work but I was going to try and wait before getting a cheap x86_64 laptop. Simon.