Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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,654 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Willy Wu profil fotoğrafı
Willy Wu3 yıl önce

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 profil fotoğrafı
Willy Wu3 yıl önce

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 profil fotoğrafı
Willy Wu3 yıl önce

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 profil fotoğrafı
Willy Wu3 yıl önce

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 profil fotoğrafı
will depue3 yıl önce

@figma yoooooo this insane

Rasmus Andersson profil fotoğrafı
Rasmus Andersson3 yıl önce

@willdepue @figma Amazing!

Andrew Zheng profil fotoğrafı
Andrew Zheng3 yıl önce

@willdepue @figma Quality over speed

Sujānt profil fotoğrafı
Sujānt3 yıl önce

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

Даниил @grawl@mastodon.social profil fotoğrafı
Даниил @[email protected]3 yıl önce

@willdepue @figma Its like redstone coding.

Oskar profil fotoğrafı
Oskar3 yıl önce

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

Benzer Videolar