Fork me on GitHub
#graalvm-mobile
<
2021-07-21
>
phronmophobic22:07:17

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.

borkdude22:07:20

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

borkdude22:07:49

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

phronmophobic22:07:19

how big are these libraries?

borkdude22:07:44

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

borkdude22:07:02

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

borkdude22:07:59

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

phronmophobic22:07:44

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

phronmophobic22:07:06

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

phronmophobic22:07:12

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

phronmophobic22:07:19

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