mtm icon indicating copy to clipboard operation
mtm copied to clipboard

Put compiled code into "releases"

Open talentlessguy opened this issue 5 years ago • 9 comments

Not to waste time on installation people can download already compiled binaries, like this:

curl -L https://githubusercontent.com/...

Please publish releases ❤️ in this tab.

talentlessguy avatar Jul 22 '19 15:07 talentlessguy

Yeah also would be nice to see compiled versions for various versions of unix like AIX, HPUX, Solaris, etc etc.

tenox7 avatar Jul 23 '19 06:07 tenox7

On my computer (cheap pc from 2015 with a rotating hdd) it takes less than two seconds to compile and less than one second to compile with a warm filesystem cache - by far the most expensive operation is installing ncurses if they are missing (assuming the compiler is already there).

TLDR: compilation is really quick, why binaries?

loreb avatar Aug 08 '19 16:08 loreb

Because some people don't know how to compile, or don't want to bother. Not everyone is a programmer.

tenox7 avatar Aug 08 '19 20:08 tenox7

On my computer (cheap pc from 2015 with a rotating hdd) it takes less than two seconds to compile and less than one second to compile with a warm filesystem cache - by far the most expensive operation is installing ncurses if they are missing (assuming the compiler is already there).

TLDR: compilation is really quick, why binaries?

because downloading binaries takes less time than building from source. I think this is evident.

talentlessguy avatar Aug 09 '19 14:08 talentlessguy

@tenox7 I'll admit I didn't even think of that, shame on me! In my defense, I can't imagine someone who uses the terminal, knows what a terminal multiplexer is, is willing to investigate alternatives to screen/tmux AND doesn't have a compiler installed (unless it's common on some of the unix variants you listed, I've only tried some solaris variants in a vm)

@talentlessguy less than two seconds on a cheap laptop with 5400rpm hdd... also, I've never tried it myself, but I've seen several questions indicating it may be a PITA, eg https://stackoverflow.com/a/5977518

loreb avatar Aug 13 '19 12:08 loreb

@loreb Using terminal and a compiler is not comparable. Power users and sysadmins for instance would be very heavily utilizing terminals and even doing some scripting but they would rarely bother compiling anything. This is why users and admins mostly just install packages like deb or rpm instead of compiling from source.

tenox7 avatar Aug 13 '19 18:08 tenox7

@deadpixi any updates on the issue? :thinking:

talentlessguy avatar Aug 25 '19 19:08 talentlessguy

Indeed.. a static musl release would be nice, trying this out , getting linker errors on FreeBSD just didn't bother and went back to tmux.

joshbaptiste avatar Feb 28 '20 20:02 joshbaptiste

@joshbaptiste I suggest creating an issue for that, instead of "not bothering"

talentlessguy avatar Feb 28 '20 22:02 talentlessguy