Am i crazy for coming up with this idea?

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
neos300
Posts: 3
Joined: Thu Nov 12, 2009 4:55 pm

Am i crazy for coming up with this idea?

Post by neos300 »

What about making a PHP OS, for net books so that 100% of the net books processing power is used for web browsing, and so that all the memory is stored on a server?

Yes, I've read the wiki inside and out.

Note: Sorry for rushing, post was lost 10 times due to data transfer problems and slow internet.
Kitsune
Posts: 20
Joined: Wed Aug 05, 2009 7:13 pm

Re: Am i crazy for coming up with this idea?

Post by Kitsune »

By 'memory' I assume you mean the persistent storage, not ram, correct? That sounds to be along the lines of Google Chrome OS or Palm's WebOS (both based on a Linux kernel).

Using PHP seems a bit arbitrary, it'd likely be even less suited for low level work than the other popular scripting languages (sans javascript) as at least most of those aren't as geared towards web development (you'd have to still write a lot of code in another language to get everything started, as well as extending PHP or pushing it closer and closer to userspace with more and more code written in another language).
neos300
Posts: 3
Joined: Thu Nov 12, 2009 4:55 pm

Re: Am i crazy for coming up with this idea?

Post by neos300 »

I'm sorry, i may not have been completely clear. I made a little text diagram:

On the net book:
A simple OS with just a simple web browser that just connects to the server.

On the server:
Everything a normal os does(besides booting up and memory mangament) like a login screen and a web browser. (By doing this it simply helps it by not bogging the computer down with gui elements, making all you have to write besides the kernel is an object that allows connect to the web.)

This way, we can ship net books with about 5 MB of storage space on it (because everything is stored on the server) so it will be rrealllly cheap.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Am i crazy for coming up with this idea?

Post by 01000101 »

Mmmm, deja vu.

I'm sure the wiki has absolutely nothing on the subject, not that that's a bad thing.
I'll just wait for Dex to chime in on this lovely new, hip WebOS idea. :wink:
madeofstaples
Member
Member
Posts: 204
Joined: Thu Apr 12, 2007 8:15 am
Location: Michigan

Re: Am i crazy for coming up with this idea?

Post by madeofstaples »

neos300 wrote:I'm sorry, i may not have been completely clear. I made a little text diagram:

On the net book:
A simple OS with just a simple web browser that just connects to the server.

On the server:
Everything a normal os does(besides booting up and memory mangament) like a login screen and a web browser. (By doing this it simply helps it by not bogging the computer down with gui elements, making all you have to write besides the kernel is an object that allows connect to the web.)

This way, we can ship net books with about 5 MB of storage space on it (because everything is stored on the server) so it will be rrealllly cheap.
So your idea is to make the neat, new, $250+ device you just bought useless without an Internet connection?
Some people are offended by the verifiable truth; such people tend to remain blissfully unencumbered by fact.
If you are one of these people, my posts may cause considerable discomfort. Read at your own risk.
neos300
Posts: 3
Joined: Thu Nov 12, 2009 4:55 pm

Re: Am i crazy for coming up with this idea?

Post by neos300 »

Not sure what you mean by that (when i said i searched the wiki i meant the getting started and beginner mistakes stuff completely, such as the sentence " And trying to write it in HTML, PHP or Javascript would just be proof that you have much to learn...".

So do people think i should go ahead with this? or not?

@madeofstaples
Exactly. Although this will probably make sense when someone creates a way to access the internet from absouletely everywhere
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Am i crazy for coming up with this idea?

Post by earlz »

neos300 wrote:I'm sorry, i may not have been completely clear. I made a little text diagram:

On the net book:
A simple OS with just a simple web browser that just connects to the server.

On the server:
Everything a normal os does(besides booting up and memory mangament) like a login screen and a web browser. (By doing this it simply helps it by not bogging the computer down with gui elements, making all you have to write besides the kernel is an object that allows connect to the web.)

This way, we can ship net books with about 5 MB of storage space on it (because everything is stored on the server) so it will be rrealllly cheap.
This sounds a lot like the in progress Chrome OS by Google
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

Re: Am i crazy for coming up with this idea?

Post by NickJohnson »

@OP:
There are a few flaws in your logic. First, PHP as a systems programming language is only going to work with a lot of strange hacks, and even then, you won't get a real benefit from using it over something like C, especially if you want to put it on a small device. Second, an OS in PHP will be much harder to make than one in C, or even assembly, because you will need to do hard stuff in C or assembly just to get the language working at all. Third, storage on laptops is not, and never will be in the future, a limitation to the degree that a special OS is needed to fit on it - even a hundred gigabytes of flash memory is worth less than a netbook. This is even true for modern cell phones and PDAs, which often accept multi-gigabyte microSD cards. Fourth, even Linux, with some modification, can fit onto a 5 MB drive (IIRC, it has been done with LFS), and operate as a thin client, which is essentially what you're describing.

However, there are definitely worthwhile paths to take from this point. OSes based on alternative languages seem to be relatively popular as hobby projects, both for existing languages and for languages the programmers create for the OS. Web/"cloud" based OSes seem to be an area of development over the last few years, although they're kind of buzzword-y and hard to define IMO. If you like doing stuff under memory constraints, embedded real-time OSes are often very interesting, at least if you have the hardware. You can also try just writing a "normal" protected mode desktop-oriented OS, either to have written one, or for experience enough to do something more radical.
smeezekitty
Member
Member
Posts: 50
Joined: Sat Mar 21, 2009 9:42 pm

Re: Am i crazy for coming up with this idea?

Post by smeezekitty »

Am i crazy for coming up with this idea
Yes.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Am i crazy for coming up with this idea?

Post by Combuster »

smeezekitty wrote:
Am i crazy for coming up with this idea
Yes.
Aren't we all? 8)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Tobiking
Posts: 6
Joined: Mon Oct 26, 2009 3:43 pm

Re: Am i crazy for coming up with this idea?

Post by Tobiking »

For me it sounds like a thin client but using html and javascript instead of some remote Desktop protocol like X. This would be more work for the client, is limited to the web browser functionality but it could be a lot faster.
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: Am i crazy for coming up with this idea?

Post by Kevin »

Today's web browsers are not that simple... You'll most probably still need most parts of a usual OS underneath, you just can keep the rest of native applications to a minimum. Even ChromeOS uses Linux instead of doing everything itself.
Developer of tyndur - community OS of Lowlevel (German)
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Am i crazy for coming up with this idea?

Post by Solar »

Yes, I think the main flaw in the reasoning is that you only need a "simple" OS for webbrowsing.

If your OS supports a GUI, user input, storage access (you want cookies, don't you?), and TCP/IP over wireless, there isn't that much that could be left out in order to make the OS "simple".

But most importantly, what the Wiki meant and what the OP apparently didn't quite get, doing an OS in PHP does not make it simpler in any way.
Every good solution is obvious once you've found it.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Am i crazy for coming up with this idea?

Post by Dex »

01000101 wrote:Mmmm, deja vu.

I'm sure the wiki has absolutely nothing on the subject, not that that's a bad thing.
I'll just wait for Dex to chime in on this lovely new, hip WebOS idea. :wink:
Did someone call my name :lol:
You could work on FAB (used to be called Fbrowser ) a bootable web brower, writte by a group of us over at the fasm forum
See here: http://board.flatassembler.net/topic.php?t=8281

Screenshot
Image
Mark139
Member
Member
Posts: 39
Joined: Mon Jan 15, 2007 2:32 pm

Re: Am i crazy for coming up with this idea?

Post by Mark139 »

It's certainly been thought about. Didn't Sun have a similar idea?

I think you may have stumbled upon one serious issue yourself:
Note: Sorry for rushing, post was lost 10 times due to data transfer problems and slow internet.
Post Reply