Langsmidlevel

Languages which probably could run a mcu, but currently don’t have many/any examples of doing so.

Red #

1
print "Hello World!"

To be honest, I’m not sure Red belongs in the mid level category, as it can be run as a JIT language, but ╮(─▽─)╭.

I’m not sure I’d actually reach for this language for anything - it tries to do everything, instead of being good at one thing first. That’s not necessarily a bad thing (see Python) but Red isn’t super mature yet. Still, it has some net enough features that I think it’s worth mentioning. From the home page:

Red is a next-gen programming language, strongly inspired by REBOL. Main features are:

[…]

If you’re interested, check out Red’s ‘Getting Started’ page.

D #

1
2
3
4
5
6
import std.stdio;

void main()
{
    writeln("Hello World!");
}

A lesser used competitor to C++ mostly. It’s very syntactically similar. Might be worth looking at.

https://dlang.org

Odin #

1
2
3
4
5
6
7
package main

import "core:fmt"

main :: proc() {
	fmt.println("Hellope!")
}

Odin is a general-purpose programming language with distinct typing built for high performance, modern systems and data-oriented programming.

Odin is the C alternative for the Joy of Programming

https://odin-lang.org

https://graphitemaster.github.io/odin_review/


If you would like to support my development of OpGuides, please consider supporting me on GitHub Sponsors or dropping me some spare change on Venmo @vegadeftwing - every little bit helps ❤️