News for hackers. Stuff that matters.
Re:Programming Laws and Reality: Do We Know What We Think We... by pjmlp on Wednesday February 19, 2014 @05:26AM (#7262909)
For example:

- Compiling to a VM + JIT instead of AOT compilation

- Running a programming language VM with an OS agnostic runtime, on a OS VM running on a hypervisor, instead of running the said programming language VM on top of the hypervisor directly

- Use of data structures and algorithms that take much more memory and are slower, because many developers lack proper knowledge to use the right ones and use whatever first result comes on their IDE completion suggestions

Just a few examples out of my head.

Re:Programming Laws and Reality: Do We Know What We Think We... by seanmcdirmid on Wednesday February 19, 2014 @05:47AM (#7262967)
> Compiling to a VM + JIT instead of AOT compilation

Sun tried this and the code actually got slower.

> Running a programming language VM with an OS agnostic runtime, on a OS VM running on a hypervisor, instead of running the said programming language VM on top of the hypervisor directly

Flexibility to run on a VM is a huge time saver.

> Use of data structures and algorithms that take much more memory and are slower, because many developers lack proper knowledge to use the right ones and use whatever first result comes on their IDE completion suggestions

Cheaper (less skilled) programmers means more code can get written (for better or worse).

Re:Programming Laws and Reality: Do We Know What We Think We... by pjmlp on Wednesday February 19, 2014 @07:07AM (#7263179)
> Sun tried this and the code actually got slower.

Who is speaking about Java here?

Optimizing compilers for other languages are a proof that AOT compilation at the end wins.

> Flexibility to run on a VM is a huge time saver.

Of course it is, we just don't need the huge amount of layers the current VM cakes have. Software needs to go to the gym.

> Cheaper (less skilled) programmers means more code can get written (for better or worse).

Ergo less quality that leads to software bloat like Wirth states.

Re:Programming Laws and Reality: Do We Know What We Think We... by seanmcdirmid on Wednesday February 19, 2014 @08:15AM (#7263413)
Your original point was that the layers served no value, but you are agreeing that they do serve value, just not the value that you particularly appreciate.

Worse is better. At least better than nothing.

Re:Programming Laws and Reality: Do We Know What We Think We... by pjmlp on Wednesday February 19, 2014 @08:57AM (#7263604)
I said VM concept is useful, after all it is how all modern operating systems are implemented, by making use of virtual resource management.

Other than that, I stand by my point that modern software has lots of bloat of useless layers.