GithubHelp home page GithubHelp logo

btype's Introduction

btype

Build Status Join the chat at https://gitter.im/mattbasta/btype

A fast language for the web

BType is a compiled, statically typed language for the web that doesn't get in the way of day-to-day development. It's unusual for a language to be considered "fast"; rather, it is usually the case that the language runtime is considered fast. BType achieves good performance by using "native" compile targets like asm.js and LLVM IR.

At the time of writing, BType is still experimental and should NOT be used for production needs.

Features

  • Tree shaking
  • Lexical scope, closures, first-class functions
  • Compiles directly to JavaScript and LLVM IR
  • Operator overloading
  • Generics
  • Strong static typing with type inference

Requirements

You must have Node 5.x or later installed. Running tests requires LLVM 3.6 or later.

npm install -g btype

# or for hacking

npm install
brew install llvm  # Or your favorite package manager

Goals

  • Provide a language with the best features of JavaScript, Python, etc.
  • Code compiled to JS should run faster than vanilla JavaScript
  • Code should compile to a wide array of targets
  • Tools for accessing external JS utilities should be available
  • Automatic memory management
  • Very fast compilation
  • Code compiled to JavaScript should minify well

btype's People

Contributors

gitter-badger avatar mattbasta avatar

Watchers

 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.