graalvm-mobile

beders 2021-07-21T18:13:08.330Z

@beders has joined the channel

phronmophobic 2021-07-21T22:24:17.335200Z

What kind of libraries would be fun to bake in? Probably all of the babashka built ins? I want to build a simple HNews reader app.

borkdude 2021-07-21T22:25:20.335900Z

I think it makes sense to make an app specific API, unless it's just a toy app

borkdude 2021-07-21T22:25:49.336300Z

throwing in too much will break people if you end up removing it because of size, etc.

phronmophobic 2021-07-21T22:27:19.336800Z

how big are these libraries?

borkdude 2021-07-21T22:27:44.337300Z

depends. bb itself is now around 80mb. a bare SCI binary is around 11mb or so

borkdude 2021-07-21T22:28:02.337700Z

I think 20mb or so comes from the supported classes for interop

borkdude 2021-07-21T22:28:59.338300Z

I'm not sure if size is an issue, but adding more also can increase compile time

phronmophobic 2021-07-21T22:31:44.339100Z

I'm not sure how much apple would let you get away with

phronmophobic 2021-07-21T22:32:06.339600Z

if you add too much functionality, I think it wouldn't be allowed since it sorta subverts the the app store

phronmophobic 2021-07-21T22:34:12.340500Z

I think it can be useful for as a "dev" app where you live code your app and then once you're ready, graalvm compile your app instead of running it through sci

phronmophobic 2021-07-21T22:35:19.341200Z

but only make the "dev" app available as source for developers to use