3 ms·
> The biggest difference between the two languages is that compilation for the destination architecture has to be done on that same architecture. The documents
by sudhirj 10y ago
> The biggest difference between the two languages is that compilation for the destination architecture has to be done on that same architecture. The documents include several workarounds for this scenario, but the simplest method is to build your release within a Docker container that has the destination architecture.
@brightball Go has had first class support for cross compilation for a while now, no?
- sudhirj 10y agohttp://golangcookbook.com/chapters/running/cross-compiling/ http://golangcookbook.com/chapters/running/cross-compiling/
- brightball 10y agoI need to clarify that I was talking about that being an Elixir limitation. The previous paragraph talks about Go being able to cross compile no matter what system it's on but the one you highlighted still doesn't read well.
- deleted 10y ago[deleted]