Giter Club home page Giter Club logo

Comments (4)

peterbourgon avatar peterbourgon commented on May 1, 2024

👎, I think there's a lot of advantages and simplicity to have the entire app available in a single statically-compiled binary without needing an assets directory "nearby". There's no real cost involved, just an extra step at the end of the Javascript build pipeline.

from scope.

tomwilkie avatar tomwilkie commented on May 1, 2024

Advantages such as?

As we're only going to be distributing scope as a container, serving it off the fs seems equivalent to embedding it (consider the container as the single binary...), without the need for the extra step.

from scope.

peterbourgon avatar peterbourgon commented on May 1, 2024

Like static typing, it moves a run-time requirement to build-time, and so eliminates a common, frustrating failure: I started the process but the UI isn't loading, because I don't have the assets {in the right place, specified correctly, completely present, ...}. The extra step is really nothing, one very fast bit at the end of a relatively long JS pipeline.

from scope.

tomwilkie avatar tomwilkie commented on May 1, 2024

Decided to leave this as is; whats more, we're going to leave static.go committed, even thought its automatically generated. This is because it takes too long to build. Circle will build it each time mind you.

from scope.

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.