Coder Social home page Coder Social logo

dsonet / fibjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fibjs/fibjs

0.0 2.0 0.0 86.96 MB

JavaScript on Fiber (based on Chrome V8 engine)

Home Page: http://fibjs.org

License: Other

Shell 0.27% Batchfile 0.05% CMake 0.14% JavaScript 10.55% C++ 88.41% HTML 0.05% C 0.08% Go 0.01% Perl 0.45%

fibjs's Introduction

fibjs Logo - JavaScript on Fiber

About fibjs

fibjs 是一个建立在 Google v8 JavaScript 引擎基础上的应用服务器开发框架,不同于 node.js,fibjs 采用 fiber 解决 v8 引擎的多路复用,并通过大量 c++ 组件,将重负荷运算委托给后台线程,释放 v8 线程,争取更大的并发时间。

fibjs is a runtime for javaScript applictions built on google v8 JS. Unlike node.js, fibjs uses fibers for parallelizing v8 engine. Through a large amoung of C++ components, heavy duty operations are performed in a background thread and the v8 thread is released. Thus fibjs, allows for greater concurrency

Online Docs

github 中有全部文档的源码和生成文档,为方便查阅,我在线上存放了一份,但是更新可能会没有 github 及时,仅供参阅。

All the source code and docs are on github. However, I use github for convenience as it is easy to store stuff online. So there may be small problems with the documentation as I may not be able to update them timely.

文档入口(General docs (Chinese)): http://fibjs.org/

English Docs: http://fibjs.org/en/

文档下载(Documents repository): https://github.com/xicilion/fibjs_docs

了解 fibjs 的并发(Understanding how to develop for fibjs): http://fibjs.org/d2/de8/start_prog.html

官方交流社区(Online discussion.): http://named.cn/fibjs

ps: 请无视编译中出现的大量警告错误,那些基本上都是第三方代码库的警告,恕不消除了。 Please ignore the compiler warnings.Basically , it's from third party library .

Prerequisites (unix)

GCC 4.8 or newer
CMake 2.6 or newer
GNU Make 3.81 or newer
libexecinfo (FreeBSD and OpenBSD only)

on ubuntu:

apt install g++
apt install make
apt install cmake
apt install git

32bit on ubuntu:

apt install g++-multilib

arm on ubuntu:

apt install g++-arm-linux-gnueabihf

arm64 on ubuntu:

apt install g++-aarch64-linux-gnu

mips on ubuntu:

apt install g++-mips-linux-gnu

mips64 on ubuntu:

apt install g++-mips64-linux-gnuabi64

powerpc on ubuntu:

apt install g++-powerpc-linux-gnu

powerpc64 on ubuntu:

apt install g++-powerpc64-linux-gnu

fix

rm -f /usr/include/asm
ln -s x86_64-linux-gnu /usr/include/i386-linux-gnu
ln -s x86_64-linux-gnu /usr/include/x86_64-linux-gnux32

on fedora:

dnf install gcc-c++
dnf install libstdc++-static
dnf install make
dnf install cmake
dnf install git

32bit on fedora:

dnf install glibc-devel.i686
dnf install libstdc++-static.i686

on osx:

brew install cmake
brew install git

on freebsd:

pkg install cmake
pkg install libexecinfo
pkg install git

Download

git clone https://github.com/xicilion/fibjs.git
cd fibjs
git submodule init
git submodule update

Update

cd fibjs
git pull
git submodule update

Build

on unix:

sh build -j

on Windows (Visual Studio 2013 Express):

Start
  All Programs
    Visual Studio 2013
      Visual Studio Tools
        Developer Command Prompt for VS2013
        
build

Install

on linux/freebsd/osx:

sudo sh bin/(Darwin|Linux|FreeBSD)_(i386|amd64|arm|arm64)_release/installer.sh

on Windows console (run as administrator):

bin\Windows_(i386|amd64)_release\installer.exe

Test

cd test
fibjs main.js

fibjs's People

Contributors

arjo129 avatar asionius avatar blingzr avatar dustywusty avatar hi-rube avatar iwinmin avatar jamguo avatar ngot avatar sudeep611 avatar verdantyang avatar xicilion avatar zalemwoo avatar zhaochunqi avatar

Watchers

 avatar  avatar

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.