# I Have a dream! a Green dream -- Does Julia save energy?

**URL:** <https://discourse.julialang.org/t/i-have-a-dream-a-green-dream-does-julia-save-energy/73188>\
**Category:** Performance\
**Created:** [December 16, 2021, 8:53am UTC](https://discourse.julialang.org/t/i-have-a-dream-a-green-dream-does-julia-save-energy/73188 "2021-12-16T08:53:39Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![claforte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/claforte/32/19115_2.png) [@claforte](https://discourse.julialang.org/u/claforte)\
**Post date:** [December 18, 2021, 3:26pm UTC](https://discourse.julialang.org/t/i-have-a-dream-a-green-dream-does-julia-save-energy/73188/22 "2021-12-18T15:26:35Z")

</div>

Yeah, for sure, Int types (especially low-precision like Int4) are crazy cheap in area, power usage, etc. compared to Float16 or Float32. And at the extreme, binarizing a neural network can achieve an extra order of magnitude power and perf saving since multiplications get converted into adds, etc.

---

<div class="post-metadata">

**Author:** ![woclass](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/woclass/32/212699_2.png) [@woclass](https://discourse.julialang.org/u/woclass)\
**Post date:** [December 18, 2021, 4:34pm UTC](https://discourse.julialang.org/t/i-have-a-dream-a-green-dream-does-julia-save-energy/73188/23 "2021-12-18T16:34:37Z")

</div>

[[2002.07795] Verified Instruction-Level Energy Consumption Measurement for NVIDIA GPUs](https://arxiv.org/abs/2002.07795)

For GPU, Energy Consumption:

- Double Precision \> Half Precision \> Single Precision ~ Integer
- signed \> unsigned
- GPU architecture also has a significant impact

Of course, there is still space for improvement in half-precision.

[Previous page](https://discourse.julialang.org/t/i-have-a-dream-a-green-dream-does-julia-save-energy/73188.md?page=1)
