pouët.net

[Trolls stay out of this thread] New OS project

category: offtopic [glöplog]
Well, there is JNode: http://www.jnode.org/

Quote:
JNode is a free, open source Java technology based operating system implemented in the Java language with a very small assembler nano-kernel.
added on the 2010-04-01 20:06:41 by jua jua
I am a troll and I am staying out of this thread
added on the 2010-04-01 23:21:27 by sigflup sigflup
BB Image
added on the 2010-04-02 08:22:43 by El Topo El Topo
There's nothing interesting, srry.
added on the 2010-08-14 13:37:24 by closed closed
BB Image
added on the 2010-08-14 14:02:03 by uncle-x uncle-x
SOLSAGAN!
Wait, what? Is this a "serious" os or an April Fools? The only thing that got me here was the troll warning.
added on the 2010-08-15 03:50:32 by ringofyre ringofyre
It looks "serious" as in he probably meant it at the time. But then posted this on his own forum (where he is the only user who ever signed up) on the following day:

Quote:
Well alright I admit this forum's kinda dead. The project isn't being developed right now, I moved on to other (greater) stuff. Which isn't to say that the ideas aren't valid anymore: They are. One of these days, I believe we'll see an operating system like MCOS. It's just in the air; a development that makes sense.


So after years of research, hours (?) of coding and three days of no one giving a shit, Mobile Code OS died. :(
added on the 2010-08-15 11:09:20 by doomdoom doomdoom
Oh, I was looking at his join date, not the post date. It was actually 2.5 months of no one giving a shit. :)
added on the 2010-08-15 11:10:52 by doomdoom doomdoom
If you widen your scope to the outside of the forum, I think you'll find that people didn't give a shit for far longer than 3 months. :)
added on the 2010-08-15 19:52:45 by gloom gloom
if any troll gonna troll in this thread i'm gonna make him ... at my request
added on the 2010-08-24 22:04:41 by M77 M77
For some reasons the original post triggered some thoughts..

Lets say you want to write an OS in java.. How can you implement something basic such as threads, semaphores and mutexes without relying on the built-in synchronization features and the runtime-library of java?

In bare bones C we can have a hardware timer and longjmp/setjmp.That's enough to implement a simple multi-tasking system that features all the basic thread synchronization primitives.

But in java? Is this even possible? I'm lost here.. Can you do this without relying on the already existing runtime-library and existing OS-bindings for all this stuff?
added on the 2010-08-24 22:59:39 by torus torus
@torus, why deliberately avoid a mechanism that's already built by design into the system instead of taking advantage of it? No os-writing experience here, just curious why one would want to setjmp/longjump in a system where threading and synchronization are native?
added on the 2010-08-25 01:16:12 by svo svo
svo, exception handling probably
added on the 2010-08-25 05:01:11 by Laksen Laksen
But if we switched to ActionScript instead of Java, the operating system could also have some killer visual effects!
added on the 2010-08-25 07:51:17 by moT moT
Why can't Java just die!?
added on the 2010-08-25 08:58:21 by skurk skurk
torus, you could do a simple round robin scheduler in a loop. however, that'd require applications to support freeze/thaw like functionality.
torus: Whatever you write in Java, to run any of it you'll need a bytecode interpreter (with memory management features) and a way of getting the bytecode into the interpreter. So at the very, very least you need a basic JVM and some sort of environment that it can run in. E.g. for actual threading (as opposed to primitive cooperative multitasking) you need direct access to the CPU and interrupts, which means the JVM must either incorporate its own thread scheduler or sit on top of something like a stripped down Linux kernel.

So I'd say no, writing a complete OS in Java isn't possible. Writing an OS mostly in Java is possible, though, and apparently you can get away with a very modest kernel underneath it. Clicky
added on the 2010-08-25 11:34:08 by doomdoom doomdoom
well, an OS starting from JAVA doesn't sounds good I'm afraid :(
added on the 2011-09-14 18:14:05 by rez rez
rez: you're 1 year and 1 month late ;)
added on the 2011-09-14 18:18:06 by psonice psonice
Funny this thread pops up again. I have a new product. Same idea, better programming language. Full usable OS (Linux base). Much fun to come.

Lua OS 0.10
added on the 2011-09-14 18:21:20 by vibrator vibrator
It is good idea to create new OS. But there is many programs written for Win32, Linux, FreeBSD and other platforms. Are you going to implement Win32 API or POSIX API in yous OS? And can regular java applications (using swing, awt and other standard libraries) start under your OS?
added on the 2011-09-14 18:47:29 by Sauron Sauron
What about an OS with an even better programming language : BASIC !
BB Image
added on the 2011-09-14 19:32:06 by tobé tobé

login