This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
lordmuffin's profile picture

How program?

Started by lordmuffin, 25 September 2014 - 05:56 PM
lordmuffin #1
Posted 25 September 2014 - 07:56 PM
I have just started in ComputerCraft, and made a hello world program.

So, my ultimate goal is to make some kind of OS.
How should I start? What should I do?

Many thanks.
KingofGamesYami #2
Posted 25 September 2014 - 08:41 PM
How should I start?

Start by creating some less complex things. Learn peripherals, computer basics, etc. Writing a door lock is a good start. Don't make an OS until you know tables, string manipulation, loops, and much more. There are too many "OSs" that add next to no content on the forum already.
ElvishJerricco #3
Posted 26 September 2014 - 09:23 PM
I have just started in ComputerCraft, and made a hello world program.

So, my ultimate goal is to make some kind of OS.
How should I start? What should I do?

Many thanks.

Don't jump into an OS. Lots of people try to hastily learn Lua and CC so they can build a quick OS and post it on the forums. They're usually awful. Take your time. Just learn little things instead of trying to do a bunch of big things.

Easy start is experimenting with redstone. Peripherals are a good step 2.
TheOddByte #4
Posted 27 September 2014 - 06:17 PM
To do what those above me didn't, I'm going to supply you with some links that are helpful.It would be best to learn Lua before you learn about the ComputerCraft APIs, start by learning about tables and the other stuff KingOfGamesYami mentioned.
There is ofcourse some tutorials about tables etc. that you can find in the tutorial section.
RoD #5
Posted 30 September 2014 - 07:53 PM
I learned the most from the tutorial section on the forum and also learned a lot from google. Its preety cool:

Have a bug? Google
Have a question? Google
Dont know how to achieve something? Google

You can also post your questions on the ask a pro forum, you will get nice feedback.
Also:
I achieved by doing the things above but mostly by pratice.
Just test things and it will start to become easy to code.
TheOddByte #6
Posted 01 October 2014 - 12:17 PM
As Rod mentioned, Google can often be your greatest resource. I remember when I was new and didn't understand some functions on the PIL I just googled them and could spend alot of time to understand them, I still find myself searching some up if I'm unsure about the arguments to put in etc. But what helped me most after I read through the PIL was simply reading through other peoples code to get a better understanding of things.
I understand that most people that are new to the forums want to create a OS, but if they want to create a notable OS they should be pretty familiar with Lua and know how to use the more advanced stuff in it. ( coroutines for example ), they should also have more of a plan on, what's useful? how should it look? what can I do to make it unique? how do I want it?
These are some basic questions you should ask yourself before jumping in to create an OS, you should also take your time to create it, there's no need to rush it.
Just take a look at oeed's OneOS, he took his time to create that masterpiece and it's very unique. I would also like to add that multitasking would be one of the most important things in a great OS, if it can't do that then it'd just feel like a program with some GUI.
Here's a list of some Operative Systems with multitasking that I know of:Now if you take a look at them, they're quite unique from eachother, which makes them more fun to try out. Now there's more Operative Systems than just those who're awesome, but I'm not usually testing out that many, these are just some I've personally tested.
If you want to learn more about multitasking then I'd suggest you'd check out this tutorial by ChallengeMe( but I'd recommend that you learn the basics of Lua first )