# Difference between jl\_get\_binding and jl\_module\_globalref

**URL:** <https://discourse.julialang.org/t/difference-between-jl-get-binding-and-jl-module-globalref/23134>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 14, 2019, 11:05am UTC](https://discourse.julialang.org/t/difference-between-jl-get-binding-and-jl-module-globalref/23134 "2019-04-14T11:05:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim366](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kim366/32/5756_2.png) [@kim366](https://discourse.julialang.org/u/kim366)\
**Post date:** [April 14, 2019, 11:05am UTC](https://discourse.julialang.org/t/difference-between-jl-get-binding-and-jl-module-globalref/23134/1 "2019-04-14T11:05:59Z")

</div>

Hello, I am again a little lost in the masses of the Julia source code.

I have found the functions `jl_get_binding` and `jl_module_globalref` and I am a little confused about their difference. The latter does not return a binding, but a value. How can that be a reference, then? If it is not, then how does it differ from `jl_get_global`?

Thanks for the help!
