26 ms·
So what OS was written in Java?
by TylerE 13y ago
So what OS was written in Java?
- Keyframe 13y agoI don't follow Java at all (I wish I had time to take a few months to see what's happening), so I might be talking out of my ass. I think Java got a big boost when it became a de facto standard for communications platforms, especially considering the rise of mobile.
- gmrple 13y agoAndroid, however I would say that it was successful before android.
- possibilistic 13y agoAndroid isn't written in Java. The userland might be, but the kernel itself is Linux, and that is written in C.
- pjmlp 13y agoJava is only used for userland code, that is not systems programming.
- pjmlp 13y agoJava is not a systems programming language.
- jebblue 13y agoApparently it is: http://en.wikipedia.org/wiki/JNode http://en.wikipedia.org/wiki/JNode Then there's the history thing about Java being designed from the start to run devices: http://www.oracle.com/technetwork/java/javase/overview/javahistory-index-198355.html http://www.oracle.com/technetwork/java/javase/overview/javah...
- pjmlp 13y ago> Apparently it is: http://en.wikipedia.org/wiki/JNode http://en.wikipedia.org/wiki/JNode I am fully aware of JNode. It uses language extensions for the dirty tricks system programming languages need to do. > Then there's the history thing about Java being designed from the start to run devices: The devices are expected to have a ROM installed VM able to process the bytecodes. Which is the case of many devices that have Java VM available.
- jqgatsby 13y agono true scotsman...
- lukeschlather 13y agoJava was written by an OS vendor as their main high-level language.
- enqk 13y agoI would argue that java application servers fulfill the same role as that of an Operating System (especially a virtualized one) and exist almost entirely to side-step the sysadmin priests.
- pjmlp 13y agoIf they were fully written in Java/Assembly and are running directly on hardware then yes. Until sun.misc.Unsafe or similar is not officially part of Java's public API, the language does not offer standard mechanisms for systems programming. There are language extensions that allow such uses, but the language itself, according to the JLS does not support systems programming. You need: - value types - control when a GC might happen, to avoid it ocurring during interrup handling - means to tell the GC not to touch memory currenly involved in DMA operations - all the nice operations sun.misc.Unsafe provides