Skip to content
← Back to Community
Mini Lang in Rust
Profile icon
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
Profile icon
SenCode
Profile icon
ANDREWVOSS
Profile icon
JacobMcPherson1
Profile icon
IMayBeMe
Comments
hotnewtop
Profile icon
JacobMcPherson1

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

Profile icon
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

Profile icon
IMayBeMe

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

Profile icon
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

Profile icon
Wumi4

That's pretty cool!