|
2009-11-18
, 01:10
|
Posts: 4,556 |
Thanked: 1,624 times |
Joined on Dec 2007
|
#212
|
Man, I was thinking of receiving a comment like that to that sentence.
Honestly, I technologically agree with you. They are not features (and indeed, I didn't call them so).
But I'm in this business for enough time now to say that there is no Mass Market without those "funtionalities". And, yes, they are there more to make the interest of the Companies then to make the interest of the Consumers.
BUT, to have a massive success, a large base of installation, something "of the iPhone size", you need to have a secure, solid platform. And for now PlatSec, in all it's different forms, has been the only way to deliver it.
My favourite? The Android one. Is still open enough that you can install anything from anyone if you want, but it's at least creating the filtering and giving the user the informations "to make him/her aware of what he/she is doing". Symbian PlatSec, on the other hand, is the example to avoid.
DRM is going to be required until all Media-producer will make their mind and stop bothering us. Once we see that happening (and you have iTunes of example of where this ALREADY HAPPENED), it will be a better world
|
2009-11-18
, 04:01
|
|
Posts: 1,878 |
Thanked: 646 times |
Joined on Sep 2007
@ San Jose, CA
|
#213
|
|
2009-11-27
, 19:05
|
|
Posts: 909 |
Thanked: 216 times |
Joined on Nov 2009
@ Bremen, Germany
|
#214
|
|
2009-11-28
, 04:48
|
|
Posts: 1,878 |
Thanked: 646 times |
Joined on Sep 2007
@ San Jose, CA
|
#215
|
but but but.... i thought maemo is open and free and everyone can do with it what he wants :<
|
2009-11-28
, 05:02
|
Posts: 3,664 |
Thanked: 1,530 times |
Joined on Sep 2009
@ Hamilton, New Zealand
|
#216
|
|
2010-01-12
, 20:57
|
Posts: 1 |
Thanked: 1 time |
Joined on Jan 2010
|
#217
|
@john
Building on your wonderful idea of a multi-platform binary:
It would be interesting to meld the cross-platform characteristics of a bytecode language with the performance of natively compiled code (with the exception of assembly). How? Read on, my good friend!
The bytecode (eg. register-based dalvik) would be compiled (not a new concept at all, I am well aware!) to native code.
But this raises a very large problem. Doing a JIT on large applications or spread across many libraries could eat into performance and memory, especially in a constrained device like a low-power phone running on a 1999 architechture.
The solution is simple: caching. By caching natively compiled code, you gain a large benefit: that you needn't re-compile code for each run. The VM can do a quick check, a quick load, and an update to its offset tables upon execution, and you have the benefit of native execution speed derived from once-was interpreted bytecode.
But there's still a problem! Caching a complete application will invariably result in ~2x the storage requirements of a single app. This especially unnacceptable on a contsrtained device. But there is a solution to this as well!
A special class could be inherited when building an 'to-be-compiled' sub-classes. For these classes, although byte-code would be generated by the compiler, upon execution of the interpreter, a JIT compiler would recognize the class as 'to-be-compiled', compile to native code which would then be cached somewhere on the FS, and stored in memory for the duration of that process. The class could be empty, only its namespace as significant information, and thus be safely passed over by non-compiling interpreters.
The use of a special inherited class is key, as it allows the developer granular control over the code that would be natively compiled and run, which is adequate for speed critical portions of code (ie. inner-loops). Thus the interpreter would flag this code for cached-compilation, leaving the other code for regular vanilla interpretation. This prevents the code-bloat and potential performance losses associated with compiling the entire process bytecode for each instance and only focuses on the areas that are deemed necessary-to-optomize by the developer. The special class (or some similar mechanism) is used by the VM to differentiate code. Also, it maintains 100% backward compatibility with older bytecode that does implement have the special 'compile-flag' class.
This scenario requires a tiny bit of modification from the developers perspective, but could be made easy enough. The benefit though is huge: native execution speed from a universal bytecode.
It's of interest that Googles V8 javascript engine compiles Javascript directly to native code, completely bypassing the need for an interpreter, and increasing the speed of execution *significantly*. Considering that Javascript is a dynamic-typed language, a native compiled static-typed language like Dalvik bytecode should achieve even higher levels of performance, and there's little reason why it cannot match the performance of natively compiled C.
}:^)~
The Following User Says Thank You to theone_maemo For This Useful Post: | ||
|
2010-01-12
, 21:42
|
|
Posts: 1,878 |
Thanked: 646 times |
Joined on Sep 2007
@ San Jose, CA
|
#218
|
The Following User Says Thank You to johnkzin For This Useful Post: | ||
|
2010-01-15
, 02:30
|
Posts: 33 |
Thanked: 8 times |
Joined on Dec 2009
|
#219
|
|
2010-01-15
, 02:34
|
|
Posts: 232 |
Thanked: 102 times |
Joined on Nov 2009
@ Warren, MI, USA
|
#220
|
However, only Maemo is based on existing open source tech that the community has an actual say in, whereas Android is very much a top-down, one-way deal.
Usability arguments are one thing, open-ness is something Maemo wins hands down (openmoko not withstanding, but also not very useful.)