|
| 22 Oct 2012 04:49 PM |
A computer that is build but isn't loaded down with much software. You could essentially make this with the Linux kernel and make it a Linux distribution. But the point of it is, not a single piece of application software that the user will see will be written to the operating system (you may have to write some operating-system software to get it all working, like the virtual machine itself). Instead, all of your application software, your desktop environment, your word processor, your internet browser, they'll all be written in standard Java and be read by a built-in Java virtual machine. So all programs will be .jar files, which will function essentially the same way as a .exe file on Windows, except it would launch them with the virtual machine.
This way, you will have the ultimate OS in compatibility. Every program you run on your computer will run on every other operating system. Since Java is cross-platform. This idea would also work with a Python OS. But, due to Python's structure, the job would be more difficult.
|
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Oct 2012 04:50 PM |
It makes considerably more sense to make an operating system out of Javascript in my opinion. Though Java isn't bad, and while they could work equivalently, JS is a far more utilized channel to do this sort of stuff. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:51 PM |
@arceusnator Since you posted this in only a couple seconds after I posted this, I know for a fact you did not read it or consider it at all the benefits.
Your opinion has no credit and should not be taken into consideration. |
|
|
| Report Abuse |
|
|
HaxHelper
|
  |
| Joined: 19 Dec 2009 |
| Total Posts: 1208 |
|
|
| 22 Oct 2012 04:52 PM |
but hard-coding Java would be really ugly
like, really ugly |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:53 PM |
@Blue JavaScript doesn't have a virtual machine, though. And it is no where near powerful enough to be used for everything.
If they did make a virtual machine for JavaScript, they would have to then make tons of hardware libraries, GUI libraries, etc, to get it working.
Plus, JavaScript is not compiled. Meaning, your applications would be HUGE. While Java is, so they're a lot smaller.
|
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 05:01 PM |
@hax Well, most extremely hardware related stuff is already written for the operating system. Like, Linux, Windows, Mac, etc, they all have things like WiFi drivers and stuff written for the operating system.
Java's job wouldn't be to write drivers or any deep hardware stuff. Its job is to use what's there.
That's how Java's always been. You would still have different operating systems, like Linux, Windows, Mac, etc, but Java already has a virtual machine equivalent that can easily be used. For example, the JFrame library can be used for GUI creation on Windows, Mac, and Linux, and functions relatively the same on all of them.
The stuff that is not made by Java would be the basic stuff of the operating system itself in order to get it working. You'd still need to program a lot of stuff in C++ before Java can be fully utilized.
The point is, no user APPLICATION software is written to the operating system. This includes things like video games, word processors, etc. Anything you download, such as ROBLOX, or anything you install.
There will still be stuff like system32 filled with DLL's. But instead of Word.exe, you have Word.jar. So Word.jar would function on the Linux Java OS, just like it would function on the Windows-based Java-OS, or the Mac-based Java OS.
Things like that you may still write in C++. But no application software. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 05:03 PM |
| this thread is full of stupidity. |
|
|
| Report Abuse |
|
|
| |
|
LocalChum
|
  |
| Joined: 04 Mar 2011 |
| Total Posts: 6906 |
|
|
| 22 Oct 2012 05:07 PM |
| As long as you don't make anything kernel-mode in Java, I don't have a problem. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 05:07 PM |
@Necro Only on your post.
@popin What is Rhino, please explain. :I
Again, the Kernel wouldn't be written in Java, but how we normally write Kernels. We could do this using any Kernel, it doesn't matter. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 05:08 PM |
@LocalChum
Yes, nothing kernel-mode. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Oct 2012 05:37 PM |
@popinman Ah, so it's a JavaScript engine that can interpret JavaScript, compile it, etc, and it written in Java.
That's nice. But you still need to Java VM to use it, since Rhino is written in Java. So if your operating system can already run the JVM, why not just use the JVM? Why extend the JVM to use a JavaScript interpreter?
That makes your language even higher.
Rhino, from what I read, it mainly used to be server-side. So people can write their websites server-side, for those who love JavaScript and wish they could use it for server-side stuff rather than just client-side stuff. |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 22 Oct 2012 06:02 PM |
| OP make some more jokes please :>. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 06:21 PM |
@mew I notice how everyone who thinks it's stupid has no contradicting points at all.
It's just like most of you Scripters. You're arrogant and like to insult other people and their ideas. Even if you don't have a way to insult them, you'll still try. Here is an example of you guys not actually having any contradicting arguments or reason to think it's dumb, so you just say it's dumb and leave it at that.
You will notice that all of the people who slightly support it, support it, or barely approve of it have posted their reasons why and have made valid arguments.
|
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 06:31 PM |
@Boba
For the same reason people use other JVM languages... |
|
|
| Report Abuse |
|
|
TaslemGuy
|
  |
| Joined: 10 Jun 2009 |
| Total Posts: 12174 |
|
|
| 22 Oct 2012 06:34 PM |
>JavaScript doesn't have a virtual machine, though. And it is no where near powerful enough to be used for everything.
A VM isn't a good thing, it's a waste of space and difficult to version. Moreover, JS has speeds comparable to C when done right; the primary modern bottleneck is the DOM, which is irrelevant to building an OS out of it.
>If they did make a virtual machine for JavaScript, they would have to then make tons of hardware libraries, GUI libraries, etc, to get it working.
Likewise for Java, which is already horribly slow. Shipping a JS OS with Chromium would be pretty easy, really.
>Plus, JavaScript is not compiled. Meaning, your applications would be HUGE. While Java is, so they're a lot smaller.
V8 performs just-in-time compilation of Javascript. Java itself is massive, as are java class files. Their memory input while running is also huge. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 06:43 PM |
>A VM isn't a good thing, it's a waste of space and difficult to version. Moreover, JS has speeds comparable to C when done right; the primary modern bottleneck is the DOM, which is irrelevant to building an OS out of it.
A waste of space? I've already explained my purpose of using a virtual machine. That's the entire point of the Java OS idea, and why I said it would also work with Python, a Python OS. Because using the virtual machine rather than compiling directly to the operating system makes full-compatibility among any processor or operating system.
>Likewise for Java, which is already horribly slow. Shipping a JS OS with Chromium would be pretty easy, really.
Java is not horribly slow. This is completely outright incorrect. And if you mean use the Chromium OS, which is basically the web browser for an OS, we already have JavaScript desktop environments written that will run in your browser. There are some pretty nice ones, actually.
|
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
| |
|