Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

OS within an OS

Name: Anonymous 2011-10-16 11:38

Would it be possible to make my own mini OS inside a java application? Over the pass few days I've been working on UI stuff and then I realized I basically implemented my own blackbox environment which made me start to think that with a few modifications i could easily make it into a mini OS

Name: Anonymous 2011-10-16 12:52

It would probably first be useful to learn what the hell an operating system is.

tip:  It isn't what you think it is.

Name: Anonymous 2011-10-16 13:06

you could, instead, build a simple computer emulator with the register banks, mmu, alu and so on, to get a feel of what actually is going on, developing your own architecture, assembly and so on is actually incredible practice

or, you could implement some kind of session and window managers and implement a layer that encapsulates system calls maybe you can do some kind of OS on that java machine but really... kernel building is much better practise

Name: Anonymous 2011-10-16 13:24

>>3
The JVM actually *emulates the OS*.

Name: Anonymous 2011-10-16 13:28

~ I N C E P T I O N~

Name: Anonymous 2011-10-16 13:41

Just write an operating system in Java. It's all the rage.

Name: Anonymous 2011-10-16 13:43

>>6
Just write an operating system in Java.

I don't know if you're trolling or just plain stupid. Either way, again, the JVM is meant to emulate the OS you fucking moron. Now go run off and help another customer you mental midget.

Name: Anonymous 2011-10-16 13:50

>>7

You haven't heard that they are doing this at berkley? I'm actually being serious. I was pretty surprised when I heard about it.

Name: Anonymous 2011-10-16 13:53

>>8
First of all, it's 'berkeley' and not 'berkley'. Second of all, you aren't understanding what the work is about. Now go run off and get help with your spelling and reading comprehension.

Name: Anonymous 2011-10-16 14:00

>>7

I think this was it.

http://en.wikipedia.org/wiki/Not_Another_Completely_Heuristic_Operating_System

In 2000, Dan Hettena at UC Berkeley ported Nachos to Java as Nachos 5.0j, in an effort to make Nachos more portable, more accessible to undergraduates, and less susceptible to subtle bugs in student code that had in earlier versions often dominated student project development time.

I only heard about it from friends, so I'm not sure if this it or not, but I guess students at UC Berkely were extending an OS written in Java. How bout them beans, huh? It doesn't sound very easy or ideal to me, but I guess it could work, with enough low level interfaces provided.

Name: Anonymous 2011-10-16 14:03

This sort of reminds me of when every company and its dog would release a `Web browser', when they were really all just awkward front-ends for Internet Explorer.

Name: Anonymous 2011-10-16 14:06

copy JNode

Name: Anonymous 2011-10-16 14:11

>>4

The JVM is just a cross platform abstraction. There is no emulation. An emulator simulates hardware in software. This is really slow, and is only used when needed, like when developing an operating system, or developing an application for a very different type of device, like a mobile phone. Different implementations of the JVM for each platform, with each version providing the same functionality and interface to the java application, is all that is needed here.

Name: Anonymous 2011-10-16 14:21

>>13
There is no emulation. An emulator simulates hardware in software.

I beg to differ. I can cite several pieces of production level code at work where the JVM is simulates the hardware in the software.

Name: Zhivago 2011-10-16 14:23

>>14
where the JVM is simulates
That doesn't constitute valid English.

Name: Anonymous 2011-10-16 14:27

>>15
And there is no such school called 'UC Berkely'.

Name: Anonymous 2011-10-16 14:29

>>14

By production level code, do you mean people writing code in Java which then executes in the JVM? If that's the case, I would consider that Java simulating hardware, but I guess the difference doesn't really matter. I would be very surprised if there was something in the vanilla JVM that simulates hardware, as it doesn't seem necessary to me and it would be inefficient, but I guess it is possible. Maybe it could be used to provide compatibility with services usually offered in hardware.

Name: Anonymous 2011-10-16 14:35

>>17
By production level code, do you mean people writing code in Java which then executes in the JVM?

Well, I'm glad to see at least one person knows that Java and the JVM are two different beasts. With that, I'm thinking more along the lines of some kind of Java GUI application.

Name: Anonymous 2011-10-16 14:41

no, there is no hardware simulation on the JVM.
java bytecode is an intermediate language that when fed to the VEM will be converted to common assembly, stuffed with managed-code stubs, libs loaded, rechecked, optimized and so on until loaded on memory and executed normally on the machine's hardware, you can read and use the system peripherals directly from java, there is no double memory address masking

Name: Anonymous 2011-10-16 15:15

>>19
You're a fucking idiot. Go scrub another toilet bitch.

Name: Anonymous 2011-10-16 15:24

>>20
lolwat

Name: Anonymous 2011-10-16 15:26

>>21
Oh aren't we cool. We can lol in the internet. Nice job moron. You're below average. Now get lost. You're dumb and boring.

Name: Anonymous 2011-10-16 15:34

>>22
>>20

So, so, so mad.

Name: Anonymous 2011-10-16 15:35

>>22
butthurt much?

Name: Anonymous 2011-10-16 19:23

>>23,24
Stop that. Take your U MAD??? back to the image boards.

Name: Anonymous 2011-10-16 19:49

>>25

butthurt confirmed.

Face it buddy, you were wrong, you got schooled.

Take it like the adult you presumably are.

Name: Anonymous 2011-10-16 20:20

>>26
IM 16 YEARS OLD AND IM NOT BUTTHURT YOU FUCKING STUPID MORON NOW STOP THAT SHIT AND GO FUCK ANOTHER MIDGET IN THE TOILET

Name: Anonymous 2011-10-16 20:49

>>27
u lie ur a intellectual midget and an mcdonalds employee.

Name: Anonymous 2011-10-16 21:30

>>25
fucky o unigger

Name: Anonymous 2011-10-16 21:39

who wants a peanut butthurt and jelly sandwich?

Name: Anonymous 2011-10-16 22:02

>>30
your moms does

Name: Anonymous 2011-10-17 0:03

OP here, i'm sorry i created such a shitstorm over my thought of a OS in an OS

Name: Anonymous 2011-10-17 0:37

>>32
You must me new here.

Also DUBZ bitches; back the fuck up and check that shit.

Name: Anonymous 2011-10-17 0:38

OS here, i'm sorry i created such a shitstorm over my thought of a OP in an OP

Name: Anonymous 2011-10-17 2:08

>>34
self-penetration.

Name: FrozenVoid 2011-10-17 4:12

>OS within an OS
http://bellard.org/jslinux/

Don't change these.
Name: Email:
Entire Thread Thread List