Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

btype

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

btype

A compiled language for the web

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by133.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 21 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc