Code Monkey home page Code Monkey logo

cpp_neon_play's Introduction

Cpp neon play

A cpp arm neon playground for beginners.

  • A simple editor developed with flask and codemirror with which one can run neon instrucments any time and any where with a browser only.

  • Plenty of examples that help you to learn arm SIMD from scratch。

Structure

.
├── README.md
├── codelab
│   ├── codelab.txt               # example list
│   ├── neon_product.cc           # example code
│   └── neon_sum.cc
├── neon_service.py               # editor backend service
├── requirements.txt
├── run_service.sh                # start script
├── static
│   ├── codemirror
│   ├── fonts
│   ├── index.css
│   ├── index.js
│   ├── jquery-3.3.1.min.js
│   ├── main.js                   # editor frontend 
│   └── vue.js
└── templates
    └── index.html                # editor page

Set up your own browser editor

To set up your own C/S architecture editor, you need a server runs on arm cpu that with python installed.

  • Install requirements
pip install -r requirements.txt
  • Run server
bash run_service.sh

You can custom your server with:

--port      # http listen port
--memory    # max memory usage for single program(in bytes)
--timeout   # max time execute for single program(in seconds)

if you don't have a arm cpu, feel free to use the one deployed on my cell phone (http://neon.kingway.fun/)

Examples

All the examples are listed in the codelab folder with .cc extension, codelab.txt is a text file lists the file names and display labels.

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.