Need advice about which tool to choose?Ask the StackShare community!

Buck

25
118
+ 1
8
Pants

21
69
+ 1
30
Add tool

Buck vs Pants: What are the differences?

What is Buck? A build system developed and used by Facebook. Buck encourages the creation of small, reusable modules consisting of code and resources, and supports a variety of languages on many platforms.

What is Pants? Build system by Twitter, Foursquare, and Square. Pants is a build system for Java, Scala and Python. It works particularly well for a source code repository that contains many distinct projects.

Buck and Pants can be primarily classified as "Java Build" tools.

Some of the features offered by Buck are:

  • Speed up your Android builds. Buck builds independent artifacts in parallel to take advantage of multiple cores. Further, it reduces incremental build times by keeping track of unchanged modules so that the minimal set of modules is rebuilt.
  • Introduce ad-hoc build steps for building artifacts that are not supported out-of-the-box using the standard Ant build scripts for Android.
  • Keep the logic for generating build rules in the build system instead of requiring a separate system to generate build files.

On the other hand, Pants provides the following key features:

  • Builds Java, Scala, and Python.
  • Adding support for new languages is straightforward.
  • Supports code generation: thrift, protocol buffers, custom code generators.

Buck and Pants are both open source tools. It seems that Buck with 6.81K GitHub stars and 1.02K forks on GitHub has more adoption than Pants with 1.16K GitHub stars and 333 GitHub forks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Buck
Pros of Pants
  • 4
    Fast
  • 1
    Java
  • 1
    Facebook
  • 1
    Runs on OSX
  • 1
    Windows Support
  • 6
    Creates deployable packages
  • 4
    Runs on Linux
  • 4
    Runs on OS X
  • 4
    BUILD files
  • 4
    Runs tests
  • 4
    Scales
  • 2
    Flexibility
  • 2
    Extensible

Sign up to add or upvote prosMake informed product decisions

Cons of Buck
Cons of Pants
  • 2
    Lack of Documentation
  • 1
    Learning Curve
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    What is Buck?

    Buck encourages the creation of small, reusable modules consisting of code and resources, and supports a variety of languages on many platforms.

    What is Pants?

    Pants is a build system for Java, Scala and Python. It works particularly well for a source code repository that contains many distinct projects.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Buck?
    What companies use Pants?
    See which teams inside your own company are using Buck or Pants.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Buck?
    What tools integrate with Pants?
      No integrations found

      Blog Posts

      Apache MesosApache AuroraPants+3
      2
      1514
      What are some alternatives to Buck and Pants?
      Bazel
      Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.
      Gradle
      Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites.
      Apache Maven
      Maven allows a project to build using its project object model (POM) and a set of plugins that are shared by all projects using Maven, providing a uniform build system. Once you familiarize yourself with how one Maven project builds you automatically know how all Maven projects build saving you immense amounts of time when trying to navigate many projects.
      CMake
      It is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of the user's choice.
      Sonatype Nexus
      It is an open source repository that supports many artifact formats, including Docker, Java™ and npm. With the Nexus tool integration, pipelines in your toolchain can publish and retrieve versioned apps and their dependencies
      See all alternatives