Giter Club home page Giter Club logo

jsource's Introduction

J: From C to C++20

J is an array programming language created by Ken Iverson and Roger Hui (see image below).

This is a fork of jsoftware/jsource and we will be porting it to C++20.

Goals

  • Reduce complexity of build options
  • Compile with GCC 10+
  • Compile with Clang 11+
  • Remove all (most) of the macros
  • Clang-format the code base
  • Clang-tidy the code base
  • Set up CI (Buildkite)
  • Set up Code Coverage
  • Set up badges
  • Get both build / tests running in parallel
    • Parallel build (for free off of zhihaoy branch)
    • Parallel tests
  • Monitor compile & run time perf while refactoring

Non-Codebase Goals

  • Learn to not use mouse

Comparison of Languages

Calculating the first 10 odd numbers:

Python:

[1 + 2 * i for i in range(10)]

Haskell:

map (1+) $ map (2*) [0..9]
map ((+1) . (*2)) [0..9] -- alternative thanks to Alexandru Dinu

R:

-1+2*seq(10) # thanks to Roi Barkan

APL:

1+2×10

J:

1+2*i.10

C++:

// https://godbolt.org/z/5r7aEo
iota(0, 10) | transform([](auto e) { return e * 2 + 1; })

Getting started & Building:

For building this repository, please see CONTRIBUTING.md.

Image of Ken Iverson and Roger Hui

image

jsource's People

Contributors

96radhikajadhav avatar ahmadbeirkdar avatar bilam avatar cdburke avatar codereport avatar eiverson avatar henryhrich avatar hermabe avatar juntuu avatar kbi-jsoftware avatar moghya avatar onurkader avatar ruchikaa123 avatar sebanisu avatar zhihaoy 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.