bun icon indicating copy to clipboard operation
bun copied to clipboard

How to build for the mobile platform?

Open hectorqin opened this issue 3 years ago • 4 comments

How to build for the mobile platform?

hectorqin avatar Jul 07 '22 09:07 hectorqin

Does it support the Worker function?

hectorqin avatar Jul 07 '22 09:07 hectorqin

Could you please specify? Do you want support for aarch64? And what exactly do you mean with worker function?

FinnRG avatar Jul 08 '22 14:07 FinnRG

I'm curious how to build this library for the mobile(ios/android) platform, just like the nodejs-mobile? And the worker function is the worker threads of nodejs.

hectorqin avatar Jul 29 '22 06:07 hectorqin

Yes, bun makes sense on mobile since apple only allow their js engine to run there and bun is using it.

https://github.com/denoland/deno/issues/6607

is related topic.

adminy avatar Sep 14 '22 15:09 adminy

Hi there, it's going to be a while before we have an official path to embedding bun on iOS. It is possible, but might require a lot of work.

Electroid avatar Nov 01 '22 22:11 Electroid

Now that Bun supports aarch64 and linux arm is this significantly easier or more feasible @Electroid ? Sorry if that's a naive question, I don't have much understanding of the challenges in cross-compilation.

evelant avatar Jun 16 '23 19:06 evelant

Would be interested in this as well. 👀

loicnestler avatar Jun 19 '23 22:06 loicnestler

If bun could support android/iOS, will be a huge advantage compared to nodejs/deno

xeoshow avatar Sep 12 '23 01:09 xeoshow

We will not be officially supporting Android/iOS for the foreseeable future.

Electroid avatar Oct 24 '23 21:10 Electroid

U know, this could be the real "electron" moment, a truly cross platform solution for building UIs. I can't wait!

turbobuilt avatar Apr 27 '24 16:04 turbobuilt

U know, this could be the real "electron" moment, a truly cross platform solution for building UIs. I can't wait!

+1

biels avatar May 07 '24 12:05 biels