11

Which preposition should be used in the following sentence?

All of my programs are running in/on a 16-core machine.

Google shows both options.

3 Answers 3

17

Programs run on, and not in, a computer or machine.

  • I can run Windows on my mac using Boot Camp.
  • Memory-intensive applications run on my multicore monster of a machine like a dream.

Consider these sentences, though:

  • I run all my programs in Windows on my mac.
  • Office 2004 won't run in Snow Leopard, will it?

Generally, software to hardware takes on, while software to software takes in.

7
  • 2
    +1 Better defined than my answer.
    – Daniel
    Commented Aug 27, 2011 at 19:55
  • 8
    I think this comes from the metaphor whereby hardware forms a "platform" for software, whereas an OS creates an "environment". Commented Aug 27, 2011 at 20:22
  • @Knechtel: Excellent! Environment came into my head for software, but I couldn't think of the equivalent metaphor for hardware, so I simply decided to leave that out. Great point!
    – Jimi Oke
    Commented Aug 27, 2011 at 20:29
  • 2
    I'm not so sure about the on/in thing; Most games don't work on Linux sounds fine to me.
    – Javier
    Commented Aug 28, 2011 at 0:11
  • @Javier: I agree that both on and in sound fine when talking about OSes. Commented Aug 28, 2011 at 0:31
6

On. Programs running on a computer is more common (though both are used), and sounds more natural to my ear. The ratio seems to be about 4:1 in favor of on, according to Google, and even greater in favor of on, according to Ngrams.

0
-1

Actually my first reaction is that of on as opposed to in. However taking this into a more general purpose arena.

Machines (both software and hardware) are models of abstract processes or functions. A simple machine encodes a simple function (look at a broom for example). Where are computer enocdes many complex functions.

So looking at it from this perspective, would the execution of these processes (programs) not be embodied within the model as opposed to on the model?

Therefore I must say that both are equally valid unless deeper specificity is required.

5
  • 2
    This does not make sense to me at all. What do you mean by “models of abstract processes”? Machines and processes are different things. Moreover, usually a machine is a machine and not a model of anything, unless you are talking about computational models in theoretical computer science such as Turing machines. Commented Aug 28, 2011 at 0:37
  • 1
    I am. A machine imo is just a substrate or surface upon which the a computational model may be executed. I can see how you say machines and processes are different. However the purpose of any machine is execute a mathematical function and as such really is the approximation to a process. Commented Dec 1, 2011 at 10:31
  • @PreetSangha Your comment gets a +1 for the elucidation, without which the answer cannot be convincing.
    – Kris
    Commented Dec 1, 2011 at 11:00
  • -1 This is largely irrelevant (for language and usage) and mostly overgeneralized. Also, "machines are models" is such narrow view, that from linguistic aspect you can call it outright false. Then, machines do not "encode" a function, nor does using a metaphor such as "surface or substrate" help with clarifying the choice of propositions.
    – Unreason
    Commented Dec 1, 2011 at 14:47
  • How can ' is such narrow view, that from linguistic aspect you can call it outright false' be considered anything but a gross oversimplification? Ho hum Commented Dec 1, 2011 at 19:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .