Giter VIP home page Giter VIP logo

awesome-low-level-programming-languages's People

Contributors

aardappel avatar lucretia avatar mrsmith33 avatar robertmuth avatar spydr06 avatar zafuru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-low-level-programming-languages's Issues

C2 Fibonacci

This implements C2 fibonacci:

func i32 fib(int n)
{
    i32 a = 0;
    i32 b = 1;
    for (i32 i = 0; i < n; i++) {
       i32 c = a + b;
       a = b;
       b = c;
    }
    return a;
}

C3 Fibonacci

This implements fibonacci for C3:

fn int fib(int n)
{
    int a = 0;
    int b = 1;
    for (int i = 0; i < n; i++) {
       int c = a + b;
       a = b;
       b = c;
    }
    return a;
}

Cone highlights and Fibonacci

Please update Cone entry...

Highlights:

  • Regions for memory management versatility/safety
  • Permissions for thread versatility/safety
  • Delegated inheritance and structural subtyping
  • Variant types (three flavors)
  • Actors
  • Generic functions, types and modules

Fibonacci example

// Fibonacci

import stdio::*

fn fib(n i64) i64:
mut prior i64 = 0
mut result i64 = 1
while n-- > 0:
prior, result = result, prior + result
result

fn main():
print <- fib(6)

chore: ambiguity in definition of low level language

From readme:

**Excluded are languages relying on managed run-times and without manual memory management.**

C# has MMM(like Rust unsafe + some references), it has GC, it has AOT of time compile. For example C# has modules compiled for C++ consumption by its JIT and by UEFI.

For inclusion listed:

[Roc](https://www.roc-lang.org/),

Roc has GC, has no MMM, but it is AOT compiled. So it must not be included.

So not clear what you mean by managed run-time?

I propose next inclusion criteria:

Languages inclusion is not considered if  summary of these states are mostly true:
- AOT native target compiler is not default main target. JIT or interpreted only languages are excluded.
- Default  coding style produces binaries which has friction to be called and consumed by other MMM languages. GC and green threads are typical examples of friction.
- MMM can be done only via unsafe or without default coding style language abstractions

With these C# and Roc will not be included.

With original definition C# must be included (it runs in UEFI and also AOT compiled for consumtion by JIT written in C++.

Also C# is very popular in games, and some OS written in C# too :) .

The Example of Carp Might Be Wrong

It seems that the example of Carp is a duplication of Cone. AFAIK, Carp is a language with Lisp syntax and should not be like this. Please help to fix it. Thanks.

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.