×

Methods and apparatuses for a compiler server

  • US 9,880,819 B2
  • Filed: 02/07/2014
  • Issued: 01/30/2018
  • Est. Priority Date: 06/03/2009
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method, comprising:

  • in response to receiving, at a compiler server that comprises a plurality of different compilers of different types of source code, a compilation request from a first application to compile a source code, the compilation request comprising meta data that is generated from the source code and the compilation request further identifying a compiler in the plurality of different compilers to use to compile the source code,searching, by the compiler server, a cache for a compiled code that satisfies the compilation request by comparing at least a portion of the meta data in the compilation request with meta data associated with the compiled code in the cache,determining if the first application is authorized to receive the compiled code, and if the first application is authorized to receive the compiled code providing the compiled code to the first application in response to the compilation request if the compiled code that satisfies the compilation request is available from the cache, otherwise;

    selecting a first compiler from the plurality of different compilers based at least in part on the identification of the compiler in the request;

    instructing, by the compiler server, the first compiler to build the compiled code from the source code for the compilation request;

    in response to detecting that the first compiler has successfully built the compiled code;

    providing the first application with the compiled code built for the compilation request; and

    storing the compiled code in the cache with the meta data from the compilation request;

    in response to detecting that the application process is not allowed to access the compiler identified in the compilation request;

    selecting, by the compiler server, a second compiler, different from the first compiler, from the plurality of different compilers to build compiled code;

    compiling the source code using the second compiler;

    providing the first application with the compiled code; and

    storing a copy of the compiled code, wherein the compiled code is available for a future compilation request.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×