Compiler-explorer: Option to download the binary output

Created on 13 Dec 2016  路  4Comments  路  Source: compiler-explorer/compiler-explorer

Requested by Benjamin Motz over email

enhancement wont-fix

Most helpful comment

Thanks @haneefmubarak for your input. Both are real issues. I need to come up with a decent solution for (ab)use, as I plan on launching a RESTful API for even the existing functionality, which will require some level of rate limiting/throttling. All that said though, currently I've been surprised by how well the existing infrastructure scales.

  1. is mostly easily solved by not allowing this for Intel and other proprietary compilers.

All 4 comments

I totally agree. It would be a great way to actually look at and to get actually hex data from the actual offsets that it says in things like CFF Explorer on Windows (And yes I can open up ELF format assemblies in it).

Two issues come to mind with this:

  1. People may start (ab)using the service as a cross-compile-mill. That may result in extremely heavy load increases, which may make hosting the service unsustainable from the perspective of hosting costs.
  2. Proprietary vendors may object to allowing their products to be used in compiler-explorer if their binary output can be downloaded, because [note: this isn't how I feel, but roughly the line of logic they tend to follow] people who only need a few functions thoroughly optimized may simply use the online service to optimize and download said functions and skip out on paying for [the vendors'] compiler[s].

Thanks @haneefmubarak for your input. Both are real issues. I need to come up with a decent solution for (ab)use, as I plan on launching a RESTful API for even the existing functionality, which will require some level of rate limiting/throttling. All that said though, currently I've been surprised by how well the existing infrastructure scales.

  1. is mostly easily solved by not allowing this for Intel and other proprietary compilers.

I'm actually pretty convinced this is a bad idea now. As @haneefmubarak says we don't want to be a compilation farm, and implementing the infrastructure to support this is out of scope for now. If anyone feels strongly about this we can add it to the long term, but in the interests of keeping our issue list manageable, I'm closing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adiba picture adiba  路  4Comments

mattgodbolt picture mattgodbolt  路  4Comments

VivekChugh picture VivekChugh  路  3Comments

yesudeep picture yesudeep  路  4Comments

obfuscated picture obfuscated  路  5Comments