It's time for people to stop with this pretending to write computer games nonsense.
HTML5 is not a suitable development environment. Javascript is not a suitable development environment. Your web browser is not a suitable development environment. HTML5 is vaporware. HTML is designed to display TEXT.
Please re-read those sentences until you get it through your head. If you want to write a computer game, start with a real programming language:
1. C 2. C++
I recommend C so you don't get distracted by all the h
Neither C nor C++ is "on the metal".Any programming language short of Assembly is an abstraction of "the metal" with less capabilities. And even Assembly is debatable.
Surely as a 37-year veteran you should have been well aware of this. Neither C nor C++ enables all control flow mechanisms possible on a CPU.
Many mobile games, interrestingly enough, are optimized for "the metal".
C is a portable assembler. As long as we are writing directly to memory, it's on the metal.
C cannot do all the control flow that one can do using assembler. C does not support all CPU datatypes CPU (i.e. BCD). C does not support SIMD (some C dialects do, though). C is a very thin abstraction and much closer to the hardware than most languages, but it's an abstraction nonetheless. If you think C is as much "on the metal" as assembler, you are sorely mistaken.
No mobile code is written on the hardware. The mobile OS companies want a cut.
Android allows developers to write assembler for native CPU and graphics hardware directly. Many games and engines on mobile devices do exactly that for the most common hardware. Support for using assembler is included and documented in the Android SDK.
Enough with the toy languages (Score:-1, Flamebait)
It's time for people to stop with this pretending to write computer games nonsense.
HTML5 is not a suitable development environment. Javascript is not a suitable development environment. Your web browser is not a suitable development environment. HTML5 is vaporware. HTML is designed to display TEXT.
Please re-read those sentences until you get it through your head. If you want to write a computer game, start with a real programming language:
1. C
2. C++
I recommend C so you don't get distracted by all the h
Re: (Score:3)
Neither C nor C++ is "on the metal".Any programming language short of Assembly is an abstraction of "the metal" with less capabilities. And even Assembly is debatable.
Surely as a 37-year veteran you should have been well aware of this. Neither C nor C++ enables all control flow mechanisms possible on a CPU.
Many mobile games, interrestingly enough, are optimized for "the metal".
Re: (Score:1)
C is a portable assembler. As long as we are writing directly to memory, it's on the metal.
No mobile code is written on the hardware. The mobile OS companies want a cut.
Re:Enough with the toy languages (Score:2)
C is a portable assembler. As long as we are writing directly to memory, it's on the metal.
C cannot do all the control flow that one can do using assembler.
C does not support all CPU datatypes CPU (i.e. BCD).
C does not support SIMD (some C dialects do, though).
C is a very thin abstraction and much closer to the hardware than most languages, but it's an abstraction nonetheless.
If you think C is as much "on the metal" as assembler, you are sorely mistaken.
No mobile code is written on the hardware. The mobile OS companies want a cut.
Android allows developers to write assembler for native CPU and graphics hardware directly.
Many games and engines on mobile devices do exactly that for the most common hardware.
Support for using assembler is included and documented in the Android SDK.