GithubHelp home page GithubHelp logo

fibjs's Introduction

关于 fibjs

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

在线文档

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

文档入口: http://prj.baoz.cn/docs/fibjs/

了解 fibjs 的并发: http://prj.baoz.cn/docs/fibjs/d2/de8/start_prog.html

官方交流社区: http://baoz.me/#!/fibjs

Install

on linux/freebsd/osx:

sudo sh installer.sh

on Windows(run as administrator):

installer

Test

cd test
js main.js

Prerequisites (unix)

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

on ubuntu:

apt-get install g++
apt-get install make
apt-get install cmake

32bit on ubuntu:

apt-get install g++-multilib

on fedora:

yum install gcc-c++
yum install libstdc++-static
yum install make
yum install cmake

32bit on fedora:

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

on osx:

brew install cmake

on freebsd (8,9):

pkg_add -r cmake
pkg_add -r libexecinfo

on freebsd 10+:

pkg install cmake
pkg install libexecinfo

on sunos:

pkg install gcc-45
pkg install system/header
pkg install developer/build/cmake

Build

on unix:

sh build

on Windows:

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

fibjs's People

Contributors

xicilion avatar

Watchers

James Cloos avatar Philips Su 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.