Skip to content

Library Size #32

Description

@benjchristensen

The current compiled size of libReactiveSocket.a is 1.6M:

1.6M May 17 10:12 libReactiveSocket.a

The Java version is 185k and is feature complete:

185K May 17 10:14 reactivesocket-0.1.1-SNAPSHOT.jar

Java currently has a dependency on a 200k library, but that can likely be reduced with some effort.

So, reactivesocket-cpp is still not complete, and we are at 1.6M vs the complete Java impl being < 400k.

Folly is > 50M for everything, so I'm assuming the static linking is just pulling from it what is needed (showing my lack of C++ experience):

-rwxr-xr-x  1 root  wheel   5.9M Jan 11 02:15 /usr/local/lib/libfolly.57.dylib
-rw-r--r--  1 root  wheel    68M Jan 11 02:15 /usr/local/lib/libfolly.a

Is this greater size expected for C++? Or is it something we can reduce by being more careful with our dependencies?

I am exploring this due to desire to use this on mobile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions