Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I suspect your CPU is Silicon (ARM based), not Intel.

The binary code is for Intel processors. Silicon chips have a completely different instruction set.

For this same reason Android, iOS and RTos (for embeded systems) are not included among the targets.



Pedantry incoming: Intel processors are also made of silicon.

"Apple Silicon" is just a way to say chips designed by Apple vs a 3rd party like Intel.

The instructions are Arm vs x86. This has nothing to do with the underlying substrate of silicon.


To add more color.

There are two kinds of ARM licenses. One is for chipset designs (e.g. Cortex - https://en.wikipedia.org/wiki/ARM_Cortex-A) that you get fabricated to get your CPUs.

The other ARM license is an ISA license. You get no chip design. All you get is the instruction set architecture but you have to design the chip yourself. That's what Apple has been doing.


I know that I have a general bias against Apple, but it has generally annoyed me that Apple has decided to take a generic industry term like "$FOO Silicon" and turn it into a marketing title.


I had this also happen because macos now uses zsh as the default shell and this approach is bash compatible.

So you needed additional steps for macos. Not sure if that has been recently resolved?


There is a fix:

https://github.com/jart/zsh/commit/94a4bc14bb2e415ec3d10cf71...

Not sure if it was merged.

Her approach is not bash-only, zsh is the odd one out on this one.


It was merged: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... We patched fish too! Plus NetBSD sh and FreeBSD sh.


If it's a zsh problem, you need to do something like:

    bash -c './redbean.com'
or whatever your executable is called. ZSH is doing something incorrectly that prevents running these binaries.


This highlights the ongoing problem of article titles needing to be eye-grabbing but usually inaccurate/misleading or more complex than a simple title allows for.


It's a title, it cannot be a paragraph long to be pedantically clear and unambiguous in what to expect.

"Website that lets you download a 1KB long executable that can be run on 7 _kernels_ and x86_64 architectures, but actually it's only been tested on Intel and will probably not work on Android even if technically it's still a Linux kernel, also Linux < 2.6 is unsupported so YMMV"


My comment (which I could have made more clear) was intended to be responding to the idea of quoting the title and then claiming it's misleading.

I agree fully with what you're saying.


Will it run via rosetta?


Yes, there have been several recent changes to make Cosmopolitan executables run under Rosetta.


No I'm using an intel MBP.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: