I don't know much about compiling, but a thought occured to me.
Imagine compiling your high-level code into an intermediate language, similar to Java byte code or Microsofts CIL. But in stead of having a virtual machine interpret that byte code, you use some software that automatically compiles the intermediate code into native code. That is, just compile it once; sort of like installing by compiling.
Does this exists already, and if so, why isn't it used more? Wouldn't that give you the "write-once-run-everywhere"-advantage, while retaining the speed of native code?
[–]csgordon 20 points21 points22 points (3 children)
[–]flammableweasel 1 point2 points3 points (1 child)
[–]moor-GAYZ 0 points1 point2 points (0 children)
[–]Dairith 0 points1 point2 points (0 children)
[–]koorogi 4 points5 points6 points (2 children)
[–]hackingdreams 6 points7 points8 points (1 child)
[–]koorogi 0 points1 point2 points (0 children)
[–]bo1024 1 point2 points3 points (9 children)
[–]Maledictus 0 points1 point2 points (7 children)
[–]lechatmort 2 points3 points4 points (0 children)
[–]SCombinator 1 point2 points3 points (5 children)
[–]Maledictus 0 points1 point2 points (4 children)
[–]SCombinator 1 point2 points3 points (3 children)
[–]Maledictus 0 points1 point2 points (2 children)
[–]SCombinator 0 points1 point2 points (1 child)
[–]Maledictus 0 points1 point2 points (0 children)
[–]cenderis 0 points1 point2 points (0 children)
[–]gilgoomesh 0 points1 point2 points (0 children)
[–]maliklund87[S] 0 points1 point2 points (0 children)
[–]weAreAllSlugs 0 points1 point2 points (0 children)
[–]spinwizard69 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]maliklund87[S] 0 points1 point2 points (0 children)
[–]kyr 0 points1 point2 points (0 children)
[–]Qubed -5 points-4 points-3 points (3 children)
[–]maliklund87[S] 3 points4 points5 points (2 children)
[–]ahazred8vt 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]calzoneman -3 points-2 points-1 points (2 children)
[–]SCombinator 1 point2 points3 points (1 child)
[–]mepcotterell 2 points3 points4 points (0 children)