News for hackers. Stuff that matters.
Re:Facebook is using D in production starting today by TylerE on Friday October 11, 2013 @10:33AM (#6533324)
So what OS was written in Java?
Re:Facebook is using D in production starting today by pjmlp on Friday October 11, 2013 @10:41AM (#6533389)
Java is not a systems programming language.
Re:Facebook is using D in production starting today by jebblue on Friday October 11, 2013 @12:30PM (#6534148)
Apparently it is: 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/javah...

Re:Facebook is using D in production starting today by pjmlp on Friday October 11, 2013 @12:43PM (#6534236)
> Apparently it is: 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.

Re:Facebook is using D in production starting today by jqgatsby on Friday October 11, 2013 @01:10PM (#6534419)
no true scotsman...
Re:Facebook is using D in production starting today by enqk on Friday October 11, 2013 @03:02PM (#6535179)
I 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.
Re:Facebook is using D in production starting today by pjmlp on Saturday October 12, 2013 @01:11PM (#6539402)
If 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

Re:Facebook is using D in production starting today by lukeschlather on Friday October 11, 2013 @12:04PM (#6533976)
Java was written by an OS vendor as their main high-level language.
Re:Facebook is using D in production starting today by samf on Friday October 11, 2013 @03:48PM (#6535507)
But Java is not used in any meaningful way in their core OS.
Re:Facebook is using D in production starting today by pjmlp on Friday October 11, 2013 @05:07PM (#6535940)
Java is also not a systems programming language, and I was mentioning systems programming language, in regard to OS vendors support.
Re:Facebook is using D in production starting today by Keyframe on Friday October 11, 2013 @10:38AM (#6533372)
I 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.
Re:Facebook is using D in production starting today by gmrple on Friday October 11, 2013 @10:39AM (#6533378)
Android, however I would say that it was successful before android.
Re:Facebook is using D in production starting today by possibilistic on Friday October 11, 2013 @11:19AM (#6533667)
Android isn't written in Java. The userland might be, but the kernel itself is Linux, and that is written in C.
Re:Facebook is using D in production starting today by pjmlp on Friday October 11, 2013 @11:55AM (#6533917)
Java is only used for userland code, that is not systems programming.