A New Programming Language You Should See
Welcome back! Coding is one of the most important skillsets to have, and there are tons of programming languages out there, and there are new ones being made all of the time, let’s take a look at a newer programming language that you should check out! This specific language is called hare, and it’s supposed to be a simple, stable, and robust language, here is a link to their website where you can learn more about this language:
From their website, they state that this language can be used to develop operating systems, system tools, compilers, and so much more:
Here is an example program from their website as well:
use crypto::sha256;
use encoding::hex;
use fmt;
use hash;
use io;
use os;
export fn main() void = {
const hash = sha256::sha256();
const file = os::open("main.ha")!;
defer io::close(file);
io::copy(&hash, file)!;
let sum: [sha256::SIZE]u8 = [0...];
hash::sum(&hash, sum);
hex::encode(os::stdout, sum)!;
fmt::println()!;
};
There are also some design principles that they add as well, these include trusting the…