 Your new post is loading...
 Your new post is loading...
|
Scooped by
Mickael Ruau
October 9, 2013 4:34 AM
|
The lowest level of the API is the C API, which is declared in the header files in ppapi/c. This represents the lowest level binary interface between a plugin and the browser. For convenience, a simple C++ wrapper is provided in ppapi/cpp for managing many of the basic tasks of writing a plugin. Most plugin authors will want to use this wrapper if you're using C++. It is written strictly on top of the C API and all the source code will be contained in your plugin. The C++ wrapper is not a binary interface to the browser.
|
Scooped by
Mickael Ruau
October 9, 2013 4:32 AM
|
Les 14 et 15 septembre derniers, le projet CERVIN* a fait une étonnante démonstration d’obsolescence dé-programmée, grandeur nature à Grenoble. Organisé à l’occasion des Journées Européennes du Patrimoine, le « rehab lab » Minitel Redux a proposé aux visiteurs duCCSTI La Casemate, huit ateliers thématiques pour (re)découvrir le Minitel.
|
Scooped by
Mickael Ruau
October 9, 2013 4:29 AM
|
Cet article est issu du blog de Luke Wagner. L’article original a été écrit en anglais par Luke Wagner.
|
Scooped by
Mickael Ruau
October 9, 2013 4:25 AM
|
|
Scooped by
Mickael Ruau
October 9, 2013 4:22 AM
|
Q. Is asm.js a new language?A. No, it's just (a subset of) JavaScript. An asm.js program will behave identically whether it is run in an existing JavaScript engine or an ahead-of-time (AOT) compiling engine that recognizes and optimizes asm.js—except for speed, of course! Q. What kind of performance benefits can I expect to get with asm.js?A. It's early to say, but our preliminary benchmarks of C programs compiled to asm.js are usually within a factor of 2 slowdown over native compilation with clang. We will publish more benchmarks as we collect them.
|
Scooped by
Mickael Ruau
October 9, 2013 4:19 AM
|
asm.js defines a subset of JavaScript that can be compiled to fast executables. It has been created at Mozilla by David Herman, Luke Wagner and Alon Zakai. According to the specification, “[asm.js] effectively describes a safe virtual machine for memory-unsafe languages like C or C++.” This blog post describes how asm.js works, it is based on the specification.
|
Scooped by
Mickael Ruau
October 9, 2013 4:15 AM
|
Le Raspberry Pi est un nano-ordinateur de la taille d'une carte de crédit, monocarte et équipé d'un processeur ARM. Il peut tourner avec des systèmes Linux en plusieurs variantes. Pour un prix de 20 euros, il fait fureur auprès des geeks.
|
Scooped by
Mickael Ruau
October 9, 2013 4:11 AM
|
OdinMonkey booste les performances JavaScript de Firefox Firefox
|
Scooped by
Mickael Ruau
October 9, 2013 4:07 AM
|
Compiler le code JavaScript à la volée pour se rapprocher de la performance d'une exécution d'un client natif. Tel le projet de la fondation Mozilla avec le projet OdinMonkey.
|
Scooped by
Mickael Ruau
October 9, 2013 3:57 AM
|
La technologie Native Client de Google représente un projet un peu particulier dont le but est de pouvoir faire exécuter au navigateur du code natif.
|
Scooped by
Mickael Ruau
October 9, 2013 3:47 AM
|
Un développeur vient de mettre sur pied une solution permettant d'exécuter des scripts Tcl (Tool Command Language) dans le navigateur Google Chrome de la même manière que des scripts JavaScript et ce en utilisant Google Native Client.Native Client...
|
Scooped by
Mickael Ruau
October 8, 2013 12:02 PM
|
Le site internet Sosav.fr propose des pièces détachées et des guides de réparation de produits high-tech. De quoi donner une seconde jeunesse à son Smartphone ou à sa tablette à moindres frais.
|
Scooped by
Mickael Ruau
October 8, 2013 11:49 AM
|
XHProf est un profileur hiérarchique et instrumental léger. Lors de la phase de collecte de données, il garde trace des nombres d'appels et des métriques inclusives pour les arcs dans le graphique dynamique d'appels d'un programme. Il calcule des métriques exclusives lors de la phase de rapport/envoi, comme la durée accumulée, le temps CPU, ainsi que l'utilisation de mémoire.
|
|
Scooped by
Mickael Ruau
October 9, 2013 4:33 AM
|
The project page on Ohloh.net for Emscripten. Emscripten is an LLVM-to-JavaScript compiler.
|
Scooped by
Mickael Ruau
October 9, 2013 4:31 AM
|
Hier, je vous parlais de codecs 100% en javascript et aujourd'hui, grâce à David (Merci !), je découvre Emscripten, un projet open source qui permet de transformer du bit code LLVM (Low Level Virtual Machine = Machine virtuelle de bas niveau) en JavaScript. Autrement dit, Emscripten permet d'exécuter sur le web (via du JavaScript) n'importe quel langage compatible avec la LLVM.
|
Scooped by
Mickael Ruau
October 9, 2013 4:27 AM
|
The web and thus JavaScript is slowly turning into a great platform. Part of the allure of the (partially) competing Java platform is that it has a core that goes beyond “Java the language”: The Java Virtual Machine (JVM). There are now many languages that target the JVM, for example: Groovy, JRuby, Fantom, Jython, Scala, ABCL, Clojure, and Gosu. Java class files store JVM programs as Java bytecode, a compact binary format that source code is compiled to. Does JavaScript have something similar?
|
Scooped by
Mickael Ruau
October 9, 2013 4:23 AM
|
This specification defines asm.js, a strict subset of JavaScript that can be used as a low-level, efficient target language for compilers. This sublanguage effectively describes a safe virtual machine for memory-unsafe languages like C or C++. A combination of static and dynamic validation allows JavaScript engines to employ an ahead-of-time (AOT) optimizing compilation strategy for valid asm.js code.
|
Scooped by
Mickael Ruau
October 9, 2013 4:20 AM
|
The idea is obvious: Why not standardize the bytecode of the virtual machines (VMs) that JavaScript runs on? That would mean that JavaScript programs could be delivered as bytecode and thus would be smaller and start more quickly (after having been loaded). Additionally, it would seem to be easier to port other languages to web browsers, by targeting that bytecode. This post makes its case in two steps: First, it shows that bytecode has several disadvantages. Second, it explains that source code is not as bad a solution as it seems.
|
Scooped by
Mickael Ruau
October 9, 2013 4:17 AM
|
Esquisses, brouillons et notes en vrac d'un apprenti geek intéressé par la liberté
|
Scooped by
Mickael Ruau
October 9, 2013 4:14 AM
|
Les éditeurs de navigateurs font la course à la performance. Dans ce contexte, la fondation Mozilla explique travailler sur asm.js, qui se pose comme un concurrent à NaCL de Google Chrome.
|
Scooped by
Mickael Ruau
October 9, 2013 4:10 AM
|
Réflexion sur ASM.js ou quand le javascript deviens enfin performant :
|
Scooped by
Mickael Ruau
October 9, 2013 3:59 AM
|
« Native Client est une technologie open source qui vous permet de mettre au point des applications Web qui exécutent de façon transparente et sure du code natif à l'intérieur du navigateur », indique l'équipe en charge du développement de Chrome.
|
Scooped by
Mickael Ruau
October 9, 2013 3:55 AM
|
Alors que Chrome OS déplace le débat au sein du navigateur, ce choix technologique ne va pas sans inconvénients : le code exécutable au sein d'un navigateur est autrement plus lent que du code natif.
|
Scooped by
Mickael Ruau
October 8, 2013 12:20 PM
|
As a general conclusion, we would say if you can use YouTube, by all means do so. Yes, you get the frame around the picture, but YouTube can adapt to the constantly changing environment in video as well as delivering your content to different platforms.
|
Scooped by
Mickael Ruau
October 8, 2013 11:51 AM
|
Les références faibles fournissent une façon non-intrusive de gérer les objets éphémères. Contrairement aux références normales (fortes), les références faibles n'alertent pas le gestionnaire de la libération de l'objet. Pour cette raison, un objet peut être détruit même si une référence faible vers cet objet existe toujours. Dans de telles conditions, la référence faible devient invalide de façon transparente.
|
The basic concept of PPAPI is the interface. In C, this is just a collection of function pointers associated with some similar concept. Interfaces are identified by a name, and should remain stable over time.
If additions are necessary in the future, they can be added by creating a "Interface2" with the additions.
This scheme allows the browser and the plugin to implement different capabilities and versions of interfaces over time.
For example, a plugin may want clipboard functionality provided on a Clipboard interface. If the browser supports working with the clipboard, it will return a pointer to the associated function pointers when queried with the interface name. If it doesn't support such operations, it will return NULL and the plugin will have to degrade. Likewise, a plugin may prefer a newer function on a Clipboard2 interface. When run under an older browser, only Clipboardmight be available and the plugin will have to make do.
Both the plugin and the browser expose a void* GetInterface(const char* name) function for the other to call to access functionality.