This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
CC users, I need your opinion! Which type of OS to make?
Started by Quartz101, 03 November 2016 - 10:56 PMPosted 03 November 2016 - 11:56 PM
Comment (sorry, dont have time to make poll tonight)
Edited on 03 November 2016 - 10:58 PM
Posted 04 November 2016 - 12:30 AM
Don't. Find something else interesting to write. Most operating systems end up being glorified startup screens. The ones which don't generally opt for features which are "cool" or exist in real life operating systems rather than those which make life easier for the user.
Instead write an actual program. Something fun, something useful, something completely useless and over-complicated. Whatever. As long as you learn a ton and have fun I don't care - that is what ComputerCraft is about :)/>. But please don't just make an operating system.
If you're struggling for ideas have a look through Idea Exchange, Or find a useful file format or algorithm which hasn't been implemented in CC yet (DEFLATE compression, PNG and JPEG spring to mind). Do some reading and write a type checker for Lua. Or something which will insert runtime type checks if that is simpler. Maybe write a tic-tac-toe game with an AI (look at algorithms like Min-max). But please don't just make an operating system.
If you insist on making one, make a significantly better shell - see this thread and this thread. Take some inspiration from ClamShell.
Instead write an actual program. Something fun, something useful, something completely useless and over-complicated. Whatever. As long as you learn a ton and have fun I don't care - that is what ComputerCraft is about :)/>. But please don't just make an operating system.
If you're struggling for ideas have a look through Idea Exchange, Or find a useful file format or algorithm which hasn't been implemented in CC yet (DEFLATE compression, PNG and JPEG spring to mind). Do some reading and write a type checker for Lua. Or something which will insert runtime type checks if that is simpler. Maybe write a tic-tac-toe game with an AI (look at algorithms like Min-max). But please don't just make an operating system.
If you insist on making one, make a significantly better shell - see this thread and this thread. Take some inspiration from ClamShell.
Edited on 03 November 2016 - 11:30 PM
Posted 04 November 2016 - 02:20 AM
I'd highly recommend making a game. Out of all the programs and APIs I've written, the only one that tops my game for views / downloads is a turtle mining program - and those are fairly common.
Games are also a great way to learn Lua well enough to (eventually) write a decent OS. If you really want to.
Games are also a great way to learn Lua well enough to (eventually) write a decent OS. If you really want to.
Posted 04 November 2016 - 07:52 AM
Don't. Find something else interesting to write. Most operating systems end up being glorified startup screens. The ones which don't generally opt for features which are "cool" or exist in real life operating systems rather than those which make life easier for the user. Instead write an actual program. Something fun, something useful, something completely useless and over-complicated. Whatever. As long as you learn a ton and have fun I don't care - that is what ComputerCraft is about :)/>/>. But please don't just make an operating system. If you're struggling for ideas have a look through Idea Exchange, Or find a useful file format or algorithm which hasn't been implemented in CC yet (DEFLATE compression, PNG and JPEG spring to mind). Do some reading and write a type checker for Lua. Or something which will insert runtime type checks if that is simpler. Maybe write a tic-tac-toe game with an AI (look at algorithms like Min-max). But please don't just make an operating system. If you insist on making one, make a significantly better shell - see this thread and this thread. Take some inspiration from ClamShell.
I was thinking about something like Linux…
Posted 04 November 2016 - 08:08 AM
I was thinking about something like Linux…
The ones which don't generally opt for features which are "cool" or exist in real life operating systems rather than those which make life easier for the user.
We've had so many Linux knockoffs I've lost count. Think about the things the Linux kernel does: daemons, process scheduling, drivers, memory managements. All of these are either implemented already in bios.lua or, if they are not, mean people have to write code which depends on your OS' APIs: something which is rarely happens.
My question is why do you want to write an "OS"? There is a whole range of far more exciting and interesting programming challenges out there. Do something which will make me go "wow" rather than "Mark this forum as read".
Edited on 04 November 2016 - 07:08 AM
Posted 04 November 2016 - 09:53 AM
I was thinking about something like Linux…The ones which don't generally opt for features which are "cool" or exist in real life operating systems rather than those which make life easier for the user.
We've had so many Linux knockoffs I've lost count. Think about the things the Linux kernel does: daemons, process scheduling, drivers, memory managements. All of these are either implemented already in bios.lua or, if they are not, mean people have to write code which depends on your OS' APIs: something which is rarely happens.
My question is why do you want to write an "OS"? There is a whole range of far more exciting and interesting programming challenges out there. Do something which will make me go "wow" rather than "Mark this forum as read".
A statement well said.
Posted 04 November 2016 - 03:42 PM
Either way, OS posts belong in the OS section, and only once they have code released.