Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file! During the work on the low-level parts of the new Red lexer, the need arised for intra-function factorization abilities to keep the lexer code as DRY as possible. Subroutines were introduced to solve that. They act as the GOSUB directive from Basic language. They are defined as a separate block of code inside a function's body and are called like regular functions (but without any arguments). So they are much lighter and faster than real function calls and require just one slot of stack space to store the return address.

Features

  • An important aspect of Red is being self-contained
  • To define a subroutine, you need to declare a local variable with the subroutine
  • Several new extensions to the system path have been added
  • A simple low-level OS threads wrapper API has been added internally to the Red runtime
  • A set of atomic intrinsics were added to enable the implementation of lock-free and wait-free algorithms
  • Variables and arguments grouping

Project Samples

License

BSD License, Boost Software License (BSL1.0)

Follow Red Programming Language

Red Programming Language Web Site

Other Useful Business Software
Passwordless Authentication and Passwordless Security
Passwordless Authentication and Passwordless Security Icon
Passwordless Authentication and Passwordless Security

Identity is everything. Protect it with Duo.

It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Get a Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Red Programming Language!

Additional Project Details

Registered

2021-12-01