Share your repls and programming experiences

← Back to all posts
Mini Lang in Rust
h
MocaCDeveloper

I did this just for fun lol. I put my knowledge of Rust to the test and this was the output of it.

I created a small little languages capable of having variables and printing.

Seems pretty simple :)

Voters
ANDREWVOSS
JacobMcPherson1
IMayBeMe
Comments
hotnewtop
JacobMcPherson1

I was making my own small language, but mine is made in python so yours is obviously better

MocaCDeveloper

@JacobMcPherson1

Well, sad to say, although interpreting is slower then compiling..it's safe to say Rust is a pretty slow language for being compiled that compared to Python. Although speeds will increase more in Rust than it would in Python due to Python have slow runtimes and being interpreted and Rust being compiled

IMayBeMe

This is simple and cool! Using Rust was just an added bonus!

MocaCDeveloper

@IMayBeMe

Something I added that was hard to add in C is removing the values to print after they've been printed. That makes the runtime allot faster

Wumi4

That's pretty cool!