They actually DID IT... Linux on SCRATCH

preview_player
Показать описание
You've heard of Linux *from* Scratch, but what about running Linux... on Scratch?

CORRECTION: 1000 KHz is 1 Mhz, not 1 GHz.

Рекомендации по теме
Комментарии
Автор

Before you comment about the 1MHz mistake! *I corrected it in the description* when the video was uploaded after it was initially pointed out. Spare me your nitpicking please!

Denshi
Автор

5:31
scratch actually doesn't have a native "text tool" that can display text cleanly like this. the text is actually rendered using entirely the pen tool using a font engine that i wrote a while back which compressed most of the glyphs into a list. the font used is GNU Unifont if anyone was wondering

_rr_-qmog
Автор

If you think about it, this is both Linux _ON_ Scratch, but also Linux _FROM_ Scratch, because it uses completely custom distro built from the ground up.

UltimatePerfection
Автор

The only truely bloat free installation.

coolbrotherf
Автор

Linux from Scratch: 😫❌
Linux on Scratch: 😎👌

hitterobr
Автор

so strange how the dev included a js engine into this but not a C compiler

ratchicken
Автор

now we only need to get neofetch working and we finally get the linux distro of all time.

skelebro
Автор

I’m waiting for someone to run scratch inside of that linux

bartholomewgander
Автор

average linux enthusiast when they have 1 min of free time:

ambosdead
Автор

why do I feel like we’re gonna eventually get a full Windows installation in Scratch

iflyplanesthrutunnels
Автор

I can’t even begin to imagine how someone would pull this off in such a limited language. It’s like building a sky scraper with silverware

BGTech
Автор

Saw this a couple of days ago, this is completely crazy! Would love to see it pushed to its limits. The dev mentioned that it may be theoretically possible to make like a network stack or some sort of connection to the outside word, so you could SSH into the Linux on Scratch from your terminal. That'd be hilarious.
Also, this is probably the most secure PC on earth, like I'd imagine there's no way to break out of the Scratch emulator lol

glitchy_weasel
Автор

It would be awesome if we could get a scratch compiler to C++, that then compiles into being an executable for your system, that might actually guess up to a single gigahertz instead of being you know, one megahertz

FoxyAnimater
Автор

1:16 Don't know if somebody else has said this, but you are reading the log wrong. The clock speed of the CPU emulated in this project is variable as some instructions take longer than others and it really depends on the speed of your computer, not some fixed value. It usually hovers around 1-2kHz. It is also a 32-bit system not a 64-bit system. The value you are seeing in the logs is about the accuracy and tick rate of the timer provided by the CPU. It's saying that the CPU has a 64-bit clock value which ticks up at 1000kHz, not that the CPU itself is 64-bit and has a clock speed of 1000kHz.
Also, another correction, 5:31, vanilla Scratch does not have a text tool. You might be thinking of the experimental extension they have made which allows printing text but in normal scratch you have to render it yourself which is what this project does.
I worked on this and if you have any other questions I'm happy to answer them :)

tacodiva
Автор

if there were packages made available for this, would this then count as a distro?

pendragonscode
Автор

that fizzbuzz was running in a js runtime on a scratch riskv emulator on a js scratch emulator on another js runtime on an actual metal

marble
Автор

me looking at the video: it's just scratch on linux

me reading the title again: wait a minute...

lunadroid
Автор

I started CS50 and one of the first things they have you do is make something more or less sophisticated in Scratch. I tried to make something akin to Lightroom but that would only change the basic global settings by sliders. I kept complaining how it was not possible and how Scratch is dumb.
Seeing this and some other stuff people have made in it impresses me.
PS: I still didn't get sliders to work.

Smillii
Автор

These types of projects (seen it in Minecraft too) absolutely do my head in. Like, with enough advancement, you could build Scratch within this Linux emulator. And then you could build a Linux OS in that recreated software... And so on...
It is running an emulator in an emulator, which is not so bonkers, but it's the fact it's executed on something like Scratch.

examswillkillmeoneday
Автор

1:17 NO! 1000kHz are not 1GHz, but 1MHz. 1GHz processor in Scratch would be impressive

raxneff