Giter Site home page Giter Site logo

Online Compiler

项目简介

在线编译器

  • 基于 AJAX 技术实现异步提交表单和无刷新更新页面
  • 解析 JSON 数据并完成编译相关任务

Web 服务器

  • 基于 libco 实现高并发 web 服务器
  • 支持 GET/POST 请求和 CGI 运行模式

目录结构

.
├── bin
│   ├── http_server
│   ├── lib
│   │   └── libcolib.a
│   └── solib
│       └── libcolib.so
├── build.sh
├── cgi
│   ├── cJSON.c
│   ├── cJSON.h
│   ├── compiler.c
│   └── Makefile
├── conf
│   └── httpd.conf
├── http_ctl.sh
├── log
│   └── httpd.log
├── README.md
├── src
│   ├── coctx.cpp
│   ├── coctx.h
│   ├── coctx_swap.S
│   ├── co_hook_sys_call.cpp
│   ├── co.mk
│   ├── co_routine.cpp
│   ├── co_routine.h
│   ├── co_routine_inner.h
│   ├── httpd.cpp
│   ├── httpd.h
│   ├── http_server.cpp
│   └── Makefile
├── tmp
│   ├── 5997124D13F96
│   └── 5997124D13F96.cpp
└── wwwroot
    ├── cgi-bin
    │   └── compiler
    ├── compiler.css
    ├── compiler.js
    ├── index.html
    └── jquery.min.js

性能测试

服务器性能测试

编译

bash build.sh

运行

bash http_ctl.sh -s | -t | -r

onlinecompiler's Projects

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.