Giter VIP home page Giter VIP logo

ccf's People

Contributors

yak1ex avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ccf's Issues

Make ID manager

To avoid duplicated ID, each server should record ID last used. Both of compiler sever and web server need this functionality. Thus, it is better to create module.

Limit on real time usage in sandbox

Even though CPU time is not consumed, a process may block. An example is I/O wait. For Linux, to sue POSIX timer function is a candidate. For Windows, combination of thread, event and wait function may be promising.

Trap compilation failure

Even though compilation fails, compiler server tries to execute and empty result is returned. Thus, client can not recognize execution is not done.

Better error representation

Currently, CCF messages are embedded in compilation/execution results. Maybe unified error handling is necessary.

Temporary file for link mode

Available variables in configuration are $input and $ouput only. MSVC produces temporary obj file even in making executable directly. May need supply this as the 3rd variable.

Show more info in recents

Not only period since post but also lines of the code and compiler keys can be shown without additional information

Limit output size

Anyway, by other limitation, output can't be unlimited. However, explicit limitation is better.

Share connection to compile server

Currently, connection to compile server is made for each HTTP request . Now, web server app becomes a PSGI app. So, we can share connection to compile server.

Establish sandbox I/F

The current consideration is as follows:

  • Parameter passed to sandbox is passed by environment variables
  • Parameter passed to sandbox-ed exe is passed by command line parameter

Using the same ID in whole chain

Towards to #11, each invocation should be distinguishable. Persistent ID is managed in each compile server. Thus, key for each compiler server should be given in, initial, execution of compile server. Web application can check configuration when list invocation in initialization.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.