Discuss Scratch

bilman66
Scratcher
20 posts

Linux is finally fully running on Scratch!

Hi! Some of yal might have seen my previous post where I showed off a little bit of Linux running on Scratch. Well a lot has changed since then! It's now fully functional and on the scratch website! https://scratch.mit.edu/projects/892602496

Use TurboWarp (this turbowarp works best, created by @Tacodude7729): https://experiments.turbowarp.org/next/892602496
uwv
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

this is incredibly impressive. especially considering how well it runs. very very well done! good job!
DifferentDance8
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

“cat: can't open ”readme“: No such file or directory”
uwv
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

DifferentDance8 wrote:

(#3)
“cat: can't open ”readme“: No such file or directory”
try readme.txt
NFlex23
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

I am extremely impressed! This may well be the coolest project I have ever seen.
ajskateboarder
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

This is amazing
ScratchcatandGobo
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

This is the greatest project I have ever seen! I didn't even know storing 60MB is even possible in Scratch!
leogames2016
Scratcher
500+ posts

Linux is finally fully running on Scratch!

How?! I thought Linux on Scratch was imposssible due to scratch´s inability to make operating systems that arent simulated/fake
davidtheplatform
Scratcher
500+ posts

Linux is finally fully running on Scratch!

leogames2016 wrote:

How?! I thought Linux on Scratch was imposssible due to scratch´s inability to make operating systems that arent simulated/fake
The limitation is that it takes a lot of time and effort to do so, there isn’t a technical limitation
leogames2016
Scratcher
500+ posts

Linux is finally fully running on Scratch!

davidtheplatform wrote:

leogames2016 wrote:

How?! I thought Linux on Scratch was imposssible due to scratch´s inability to make operating systems that arent simulated/fake
The limitation is that it takes a lot of time and effort to do so, there isn’t a technical limitation

You´re quite wrong,just look at Scratch Wiki´s statement.

Scratch Wiki wrote:

Scratch does not have the capability to create a true operating system.
sf97ahgf
Scratcher
100+ posts

Linux is finally fully running on Scratch!

leogames2016 wrote:

davidtheplatform wrote:

leogames2016 wrote:

How?! I thought Linux on Scratch was imposssible due to scratch´s inability to make operating systems that arent simulated/fake
The limitation is that it takes a lot of time and effort to do so, there isn’t a technical limitation

You´re quite wrong,just look at Scratch Wiki´s statement.

Scratch Wiki wrote:

Scratch does not have the capability to create a true operating system.
The Scratch Wiki is wrong, and that's okay. Wikipedia has some wrong stuff too, and that's okay. Scratch is TURING COMPLETE which means that it can emulate a counter going forward, and executing instructions on the counter. That is an extremely simplified version of a CPU which I just said, but that's what a CPU is and you don't really need much more than a CPU to run an operating system.
davidtheplatform
Scratcher
500+ posts

Linux is finally fully running on Scratch!

sf97ahgf wrote:

leogames2016 wrote:

davidtheplatform wrote:

leogames2016 wrote:

How?! I thought Linux on Scratch was imposssible due to scratch´s inability to make operating systems that arent simulated/fake
The limitation is that it takes a lot of time and effort to do so, there isn’t a technical limitation

You´re quite wrong,just look at Scratch Wiki´s statement.

Scratch Wiki wrote:

Scratch does not have the capability to create a true operating system.
The Scratch Wiki is wrong, and that's okay. Wikipedia has some wrong stuff too, and that's okay. Scratch is TURING COMPLETE which means that it can emulate a counter going forward, and executing instructions on the counter. That is an extremely simplified version of a CPU which I just said, but that's what a CPU is and you don't really need much more than a CPU to run an operating system.
You also need some form of memory. Scratch has both so it can run anything, as long as someone makes an emulator or ports it to scratch.
leogames2016
Scratcher
500+ posts

Linux is finally fully running on Scratch!

sf97ahgf wrote:

leogames2016 wrote:

davidtheplatform wrote:

leogames2016 wrote:

How?! I thought Linux on Scratch was impossible due to scratch´s inability to make operating systems that aren't simulated/fake
The limitation is that it takes a lot of time and effort to do so, there isn’t a technical limitation

You´re quite wrong,just look at Scratch Wiki´s statement.

Scratch Wiki wrote:

Scratch does not have the capability to create a true operating system.
The Scratch Wiki is wrong, and that's okay. Wikipedia has some wrong stuff too, and that's okay. Scratch is TURING COMPLETE which means that it can emulate a counter going forward, and executing instructions on the counter. That is an extremely simplified version of a CPU which I just said, but that's what a CPU is and you don't really need much more than a CPU to run an operating system.

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?

Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.

davidtheplatform wrote:

You also need some form of memory. Scratch has both so it can run anything, as long as someone makes an emulator or ports it to scratch.

Really? Scratch has memory? I didnt know this fact,I thought it didnt have memory for simplicity,Is that the reason why Trollsome 64 straight-up crashes on most computers?
sf97ahgf
Scratcher
100+ posts

Linux is finally fully running on Scratch!

leogames2016 wrote:

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?
Turning operations??? I don't know what you are talking about, and you probably don't know what I'm talking about. Search up “what makes a programming language turing complete” and see what I'm talking about.

leogames2016 wrote:

Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.
Also, I don't understand what you mean by “turning scratch into a c programming language.” If you're saying that that you can't run complex things like emulators on a simple programming language like scratch, just because something is simple doesn't mean you can't do complex stuff on it, like an emulator.
ajskateboarder
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

leogames2016 wrote:

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?
Scratch can do Turing operations so it is Turing complete
Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.
Scratch can do basically everything C can, except for OS-level things. It's also just as simple if you don't include pointer references (which are honestly not too hard). This guy over here ported the Risc-V emulator to plain C, and it basically involves no system allocations and stuff.

davidtheplatform wrote:

You also need some form of memory. Scratch has both so it can run anything, as long as someone makes an emulator or ports it to scratch.
Really? Scratch has memory? I didnt know this fact,I thought it didnt have memory for simplicity,Is that the reason why Trollsome 64 straight-up crashes on most computers?
I think when david refers to memory, it can just be a giant array
ScratchcatandGobo
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

leogames2016 wrote:

sf97ahgf wrote:

leogames2016 wrote:

davidtheplatform wrote:

leogames2016 wrote:

How?! I thought Linux on Scratch was impossible due to scratch´s inability to make operating systems that aren't simulated/fake
The limitation is that it takes a lot of time and effort to do so, there isn’t a technical limitation

You´re quite wrong,just look at Scratch Wiki´s statement.

Scratch Wiki wrote:

Scratch does not have the capability to create a true operating system.
The Scratch Wiki is wrong, and that's okay. Wikipedia has some wrong stuff too, and that's okay. Scratch is TURING COMPLETE which means that it can emulate a counter going forward, and executing instructions on the counter. That is an extremely simplified version of a CPU which I just said, but that's what a CPU is and you don't really need much more than a CPU to run an operating system.

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?

Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.

davidtheplatform wrote:

You also need some form of memory. Scratch has both so it can run anything, as long as someone makes an emulator or ports it to scratch.

Really? Scratch has memory? I didnt know this fact,I thought it didnt have memory for simplicity,Is that the reason why Trollsome 64 straight-up crashes on most computers?
Lists could be used for memory. And, C can run on Scratch. It's been done before. here is an emulator that can run old 80s games. It could even do BASIC scripting!
leogames2016
Scratcher
500+ posts

Linux is finally fully running on Scratch!

sf97ahgf wrote:

leogames2016 wrote:

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?
Turning operations??? I don't know what you are talking about, and you probably don't know what I'm talking about. Search up “what makes a programming language turing complete” and see what I'm talking about.

leogames2016 wrote:

Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.
Also, I don't understand what you mean by “turning scratch into a c programming language.” If you're saying that that you can't run complex things like emulators on a simple programming language like scratch, just because something is simple doesn't mean you can't do complex stuff on it, like an emulator.

Think about it,Many operating systems is written on C and his variants such as Microsoft Windows (which nearly everyone uses) and probably Linux (it seems nobody uses despite Android being linux. probably due to its learning curve?)

At the Turning operations question,i dont know much about Turing to be honest.

ajskateboarder wrote:

leogames2016 wrote:

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?
Scratch can do Turing operations so it is Turing complete
Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.
Scratch can do basically everything C can, except for OS-level things. It's also just as simple if you don't include pointer references (which are honestly not too hard). This guy over here ported the Risc-V emulator to plain C, and it basically involves no system allocations and stuff.

davidtheplatform wrote:

You also need some form of memory. Scratch has both so it can run anything, as long as someone makes an emulator or ports it to scratch.
Really? Scratch has memory? I didnt know this fact,I thought it didnt have memory for simplicity,Is that the reason why Trollsome 64 straight-up crashes on most computers?
I think when david refers to memory, it can just be a giant array
Ah…I understand,Scratch does everything C can? Can someone tell me to do some too complex things that´s programmed as simple as scratch? Pointer references?

Turing Complete really is? Thank you! It can do turing operations? Tell me how!!!

Memory? Giant array?! What´s that,then?

ScratchcatandGobo wrote:

leogames2016 wrote:

sf97ahgf wrote:

leogames2016 wrote:

davidtheplatform wrote:

leogames2016 wrote:

How?! I thought Linux on Scratch was impossible due to scratch´s inability to make operating systems that aren't simulated/fake
The limitation is that it takes a lot of time and effort to do so, there isn’t a technical limitation

You´re quite wrong,just look at Scratch Wiki´s statement.

Scratch Wiki wrote:

Scratch does not have the capability to create a true operating system.
The Scratch Wiki is wrong, and that's okay. Wikipedia has some wrong stuff too, and that's okay. Scratch is TURING COMPLETE which means that it can emulate a counter going forward, and executing instructions on the counter. That is an extremely simplified version of a CPU which I just said, but that's what a CPU is and you don't really need much more than a CPU to run an operating system.

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?

Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.

davidtheplatform wrote:

You also need some form of memory. Scratch has both so it can run anything, as long as someone makes an emulator or ports it to scratch.

Really? Scratch has memory? I didnt know this fact,I thought it didnt have memory for simplicity,Is that the reason why Trollsome 64 straight-up crashes on most computers?
Lists could be used for memory. And, C can run on Scratch. It's been done before. here is an emulator that can run old 80s games. It could even do BASIC scripting!

Oh…..C can run on scratch? List can be used for memory? Alright,okay…. But that emulator wants you to use Turbowarp for no reason,but that´s pretty okay.. But how?
ajskateboarder
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

ScratchcatandGobo wrote:

Lists could be used for memory. And, C can run on Scratch. It's been done before. here is an emulator that can run old 80s games. It could even do BASIC scripting!
I think you mean 6502 Assembly. It would probably be easier to interpret over C
ajskateboarder
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

leogames2016 wrote:

sf97ahgf wrote:

leogames2016 wrote:

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?
Turning operations??? I don't know what you are talking about, and you probably don't know what I'm talking about. Search up “what makes a programming language turing complete” and see what I'm talking about.

leogames2016 wrote:

Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.
Also, I don't understand what you mean by “turning scratch into a c programming language.” If you're saying that that you can't run complex things like emulators on a simple programming language like scratch, just because something is simple doesn't mean you can't do complex stuff on it, like an emulator.

Think about it,Many operating systems is written on C and his variants such as Microsoft Windows (which nearly everyone uses) and probably Linux (it seems nobody uses despite Android being linux. probably due to its learning curve?)

At the Turning operations question,i dont know much about Turing to be honest.

ajskateboarder wrote:

leogames2016 wrote:

Scratch is “TURING COMPLETE”? But it cannot do turning operations, do it?
Scratch can do Turing operations so it is Turing complete
Also you´re trying to turn Scratch,an simple educational programming language into a C (one example of a programming language that can do operating systems,as well as its variants) programming language? That goes too far,there is a reason why Scratch is so simple. It´s in the levels of Python.
Scratch can do basically everything C can, except for OS-level things. It's also just as simple if you don't include pointer references (which are honestly not too hard). This guy over here ported the Risc-V emulator to plain C, and it basically involves no system allocations and stuff.

davidtheplatform wrote:

You also need some form of memory. Scratch has both so it can run anything, as long as someone makes an emulator or ports it to scratch.
Really? Scratch has memory? I didnt know this fact,I thought it didnt have memory for simplicity,Is that the reason why Trollsome 64 straight-up crashes on most computers?
I think when david refers to memory, it can just be a giant array
Ah…I understand,Scratch does everything C can? Can someone tell me to do some too complex things that´s programmed as simple as scratch? Pointer references?

Turing Complete really is? Thank you! It can do turing operations? Tell me how!!!

Memory? Giant array?! What´s that,then?
Yes, in terms of functionality. I do think pointer references can be done in Scratch, although it's probably not necessary
medians
Scratcher
1000+ posts

Linux is finally fully running on Scratch!

This is all of the context you get

Powered by DjangoBB