Loading video...

Video Failed to Load

Go Home

Around the time will depue started working on their Figma computer, I also embarked on a journey to create mine... although now I can't claim to be the first. ~3kb program memory, ~1kb ram, 18 instructions, and a Figma plugin to help compile small C programs using ELVM.

217,623 views • 3 years ago •via X (Twitter)

10 Comments

Willy Wu's profile picture
Willy Wu3 years ago

Yes, you read that right; it runs C! That said, with compiled code it's slower than a snail - prohibitively so - that a simple "Hello World" takes about 30 minutes to run and fills up almost the entire program memory. It's also not optimized at all, but hey, proof of concept.

Willy Wu's profile picture
Willy Wu3 years ago

It also features a console for output with a 10 line history, as well as a keyboard input that feeds in one character at a time. Maybe I'll make some more examples to show these features, but written directly in machine code, which should be significantly faster.

Willy Wu's profile picture
Willy Wu3 years ago

OK! I hand-rolled some assembly to enter your name, store it as an array, and print it back out. It's real-time, but still slow... Here's a link to the file:

Willy Wu's profile picture
Willy Wu3 years ago

Also, for the more technically inclined, I'm also releasing the code behind the compiler plugin with extensive docs about the architecture and instruction set, if you're interested. Take a look!

will depue's profile picture
will depue3 years ago

@figma yoooooo this insane

Rasmus Andersson's profile picture
Rasmus Andersson3 years ago

@willdepue @figma Amazing!

Andrew Zheng's profile picture
Andrew Zheng3 years ago

@willdepue @figma Quality over speed

Sujānt's profile picture
Sujānt3 years ago

@willdepue @figma i'm feeling dumb; i take it as positively productive, reminder to learn more & more....

Даниил @grawl@mastodon.social's profile picture
Даниил @[email protected]3 years ago

@willdepue @figma Its like redstone coding.

Oskar's profile picture
Oskar3 years ago

@willdepue @figma This is so silly and great at the same time.

Related Videos