Git Product home page Git Product logo

aloisdg / one-two-three...infinity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clarkzjw/one-two-three...infinity

0.0 3.0 0.0 32 KB

:straight_ruler: Calculating the sum from one to a billion in different programming languages, inspired by https://github.com/leachim6/hello-world

APL 1.94% C 5.08% C++ 7.51% C# 11.39% Cuda 16.36% Go 5.04% Haskell 2.82% Java 10.26% Julia 2.04% JavaScript 2.75% Kotlin 10.19% Common Lisp 3.63% MATLAB 2.08% PHP 2.68% Perl 3.63% Python 1.73% R 1.09% Ruby 1.80% Rust 4.51% Scala 3.49%

one-two-three...infinity's Introduction

one-two-three...infinity

Calculating the sum from one to a billion in different programming languages, inspired by @leachim6/hello-world

The following implementations need to be reviewed:

Current Languages

Rules

The code should be fully runnable. (The following example is Swift) NOT:

    var sum = 0
    for i in 1...1000000000 {
		sum += i
	}
	print (sum)

Instead do:

    class ViewController: UIViewController {
        func viewDidLoad() {
        	var sum = 0
            for i in 1...1000000000 {
            	sum += i
            }
            print (sum)
        }
    }

one-two-three...infinity's People

Contributors

clarkzjw avatar chaosink avatar legionmammal978 avatar athas avatar rjalfa avatar wradion avatar bitdeli-chef avatar luoxufeiyan avatar eckankar avatar

Watchers

James Cloos avatar Aloïs de Gouvello 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.