also @ TechSpot: Microsoft launches YouTube app, Google demands it taken down

Programming Language

Discussion in 'Software Apps' started by Jaf, Apr 19, 2004.

  1. Nodsu Newcomer, in training Posts: 9,431

    There are no OS calling classes in standard Java sepcification. The whole point of Java is that you don't have to know anything about the OS.

    VM is the thing that talks to the OS underneath. But if the VM is done in hardware then you have a platform that you can build an OS on top of using just Java.
  2. Nic TechSpot Paladin Posts: 1,926

    Summary ... So with C/C++ you can talk directly to hardware (no VM or OS required), but with Java you talk to a virtual machine, which in turn talks to an OS, though the OS is not necessarily required if the VM is implemented in hardware (not your average PC). Sound about right?
  3. me(who else?) Newcomer, in training Posts: 433

    Couldn't you write an OS which uses the VM software on the Linux kernel? You can get a tiny linux install, so that might work.
  4. Nodsu Newcomer, in training Posts: 9,431

    Of course you could write an "OS" running in another OS but that would sort of lose the point of an OS..
  5. Phantasm66 Newcomer, in training Posts: 6,504

    Linux IS the kernel, so basically it would still be Linux.

    You are probably still writing any modern kernel in C, just like the Linux kernel.

    Large portions of future Windows releases will almost certainly be written in C#, which uses a virtual machine of sorts - the Common Language Runtime (CLR) of .net.

    But I bet the kernel is still written in C.
  6. dsmurl Newcomer, in training

    DarkBasic called from C++

    Direct X and OpenGl are large and complicated with a steep learning curve. I want to write a game that has a graphics layer writtin in darkbasic to be callable from my background game logic layer writtin in C++. Is there any easy way to do this? - :chef: