Need advice about which tool to choose?Ask the StackShare community!
Buck vs EventBus: 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 EventBus? An open-source library for Android and Java. It enables central communication to decoupled classes with just a few lines of code – simplifying the code, removing dependencies, and speeding up app development.
Buck and EventBus can be categorized 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, EventBus provides the following key features:
- Simple yet powerful
- Battle tested
- High Performance
Buck and EventBus are both open source tools. EventBus with 21.5K GitHub stars and 4.35K forks on GitHub appears to be more popular than Buck with 6.9K GitHub stars and 1.02K GitHub forks.
Pros of Buck
- Fast4
- Java1
- 1
- Runs on OSX1
- Windows Support1
Pros of EventBus
Sign up to add or upvote prosMake informed product decisions
Cons of Buck
- Lack of Documentation2
- Learning Curve1