This is because it runs under Rosetta 2. 
The emulation is pretty fast, and it’s possible to detect it both from the GUI 
of Activity Monitor, than on the command line

ps -p `fuser /usr/libexec/rosetta/runtime | sed -e 's/.*: //' | sed -e 's/ 
/,/g'`

>From inside the program it should be fairly easy too… 

HTH,
gt

> Il giorno 20 nov 2023, alle ore 12:50, fliter <imc...@gmail.com> ha scritto:
> 
> On the arm64 architecture m1, go1.21.4.darwin-amd64.pkg can be successfully 
> installed, and it seems to run normally....I am very shocked.
> 
> Is this because of any adaptations made by Go? Going one step further, is it 
> possible to not distinguish the CPU architecture during future installations 
> and just focus on the operating system type?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/9331d217-1aee-490f-bdac-049d762d4d68n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/9331d217-1aee-490f-bdac-049d762d4d68n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/F9A96EF6-B5BC-4F96-BB09-AE0ED9B862FF%40iltofa.com.

Reply via email to