Code Monkey home page Code Monkey logo

Comments (7)

mattklein123 avatar mattklein123 commented on May 25, 2024

The default build includes debug symbols and is statically linked. If you strip symbols that's what takes you down to 8MB or so. If you want to go down further than that you should dynamically link against system libraries.

FWIW, we haven't really focused very much on the build/package/install side of things. I'm hoping the community can help out there. Different deployments are going to need different kinds of compiles.

from envoy.

mattklein123 avatar mattklein123 commented on May 25, 2024

cc @enricoschiattarella @louiscryan I think you are already probably thinking about ^^^ not sure if you have any thoughts.

from envoy.

ramtej avatar ramtej commented on May 25, 2024

Hi Matt,

thank you for your feedback !

Agree, different deployment scenarios has different requirements. I also like the static linking approach, to keep things consistent and independent.

At least for my usecase the "strip" approach fine, but evtl. a kind of "included" solution will be better.

Cheers,
jj

from envoy.

moderation avatar moderation commented on May 25, 2024

I think statically linked is important as if you wanted to run in a Docker container you could in theory create a minimal image using from scratch. I haven't tested this yet.

from envoy.

ramtej avatar ramtej commented on May 25, 2024

yes, this is exactly what I;m doing and therefore the dynamic approach will not work. Also such a critical component should be self-contained.

from envoy.

mattklein123 avatar mattklein123 commented on May 25, 2024

At the very least we can put in a cmake option to strip debug symbols. That is easy to do.

from envoy.

mattklein123 avatar mattklein123 commented on May 25, 2024

fixed

from envoy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.