开发者

Difference between Groovy Binary and Source release?

开发者 https://www.devze.com 2023-02-16 04:13 出处:网络
I have been seeing the words binary and source release in 开发者_JS百科many websites download sections.

I have been seeing the words binary and source release in 开发者_JS百科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?


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.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消