Coder Social home page Coder Social logo

go-fast's Introduction

go-fast

Binary snippets for fast compilation Go projects that will increase your free time in 5x times.

go-fast-compile

Just compile your project without linking. This binary is suitable only for on-save hooks in your favorite editor.

go-fast-build

Build project only if source code has been changed. This binary is suitable for daily usage, it's must have binary for integration tests that run on save.

Efficiency

for x in `seq 1 20`; do time go build; done 2>&1 | awk '{ x += sprintf("%f", $9); } END { printf x/NR; }'
for x in `seq 1 20`; do time go-fast-compile; done 2>&1 | awk '{ x += sprintf("%f", $8); } END { printf x/NR; }'
project go build go-fast-compile profit
orgalorg, 2789 lines 2.343 0.826 3x faster
shadowc, 960 lines 2.011 0.456 5x faster
manul, 502 lines 1.558 0.267 7x faster

Installation

Arch Linux (god bless you) users can install package go-fast from AUR:

https://aur.archlinux.org/packages/go-fast/

other distros:

$ git clone https://github.com/kovetskiy/go-fast
$ cd go-fast
$ sudo make install

Usage

Of course go-fast's stuff works as go build binary and all passed variables will be passed to Go.

go-fast's People

Contributors

kovetskiy avatar yyoshiki41 avatar

Watchers

James Cloos 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.