Difference between Groovy Binary and Source release?

GroovyInstallationExecutable

Groovy Problem Overview


I have been seeing the words binary and source release in many websites download sections.

What do they actually mean?

For example, I have seen this in Groovy download page.

My question is how they differ? Both tend to install Groovy, but what's the main difference?

Groovy Solutions


Solution 1 - Groovy

A source release will be compiled on your own machine while a binary release must match your operating system.

source releases are more common on linux systems because linux systems can dramatically vary in cpu, installed library versions, kernelversions and nearly every linux system has a compiler installed.

binary releases are common on ms-windows systems. most windows machines do not have a compiler installed.

Solution 2 - Groovy

Binary releases contain computer readable version of the application, meaning it is compiled. Source releases contain human readable version of the application, meaning it has to be compiled before it can be used.

Solution 3 - Groovy

The source release is the raw, uncompiled code. You could read it yourself. To use it, it must be compiled on your machine. Binary means the code was compiled into a machine language format that the computer can read, then execute. No human can understand the binary file unless its been dissected, or opened with some program that let's you read the executable as code.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAnt'sView Question on Stackoverflow
Solution 1 - Groovyk3bView Answer on Stackoverflow
Solution 2 - GroovyHarriView Answer on Stackoverflow
Solution 3 - GroovyspinachView Answer on Stackoverflow