# Using Binarybuilder binary

**URL:** https://discourse.julialang.org/t/using-binarybuilder-binary/61952
**Category:** New to Julia
**Created:** [May 27, 2021, 5:57pm UTC](https://discourse.julialang.org/t/using-binarybuilder-binary/61952 "2021-05-27T17:57:15Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![miguelraz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miguelraz/32/631_2.png) [@miguelraz](https://discourse.julialang.org/u/miguelraz)
#### Post date: [May 27, 2021, 7:51pm UTC](https://discourse.julialang.org/t/using-binarybuilder-binary/61952/4 "2021-05-27T19:51:03Z")

</div>

Do note that it is much more efficient to just use `@ccall`, and not spawn an external process with `run` every time you call the function:

> [@Number of primes below a given number](https://discourse.julialang.org/t/number-of-primes-below-a-given-number/58709/37):
>
> Yup - that would add a dependency to primecount, but I think that’s accessible. If any newcomers want to PR that, feel free to DM and I’ll mentor through the process. Concretely, we wouldn’t want to spawn an external process with run(...) every time we want to count primes - we want to call to the C ABI with @ccall so that this is just a direct function call: julia\> myprimecount(x) = @ccall libprimecount.primecount\_pi(x::Clonglong)::Clonglong myprimecount (generic function with 1 method) juli…

---

_[View the full topic](https://discourse.julialang.org/t/using-binarybuilder-binary/61952)._
