Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 3 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Willy Wu
Willy Wuvor 3 Jahren

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.

Profilbild von Willy Wu
Willy Wuvor 3 Jahren

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.

Profilbild von Willy Wu
Willy Wuvor 3 Jahren

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:

Profilbild von Willy Wu
Willy Wuvor 3 Jahren

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!

Profilbild von will depue
will depuevor 3 Jahren

@figma yoooooo this insane

Profilbild von Rasmus Andersson
Rasmus Anderssonvor 3 Jahren

@willdepue @figma Amazing!

Profilbild von Andrew Zheng
Andrew Zhengvor 3 Jahren

@willdepue @figma Quality over speed

Profilbild von Sujānt
Sujāntvor 3 Jahren

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

Profilbild von Даниил @grawl@mastodon.social
Даниил @[email protected]vor 3 Jahren

@willdepue @figma Its like redstone coding.

Profilbild von Oskar
Oskarvor 3 Jahren

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

Ähnliche Videos