Individualschulungen
Entwicklung
Aktuelle Themen
.NET
JavaScript / TypeScript
Java
Programmiersprachen
Entwicklungswerkzeuge
Benutzeroberflächen / User Experience
Softwareengineering
KI in der Softwareentwicklung
Plattformen & Systeme
KI
Web & Cloud
Apps / Mobilplattformen
Datenbanken / Reporting / BI
Betriebssysteme & Virtualisierung
Microsoft Server-Produkte
Scripting
Windows & Office für Anwender
Soft Skills & IT-Recht
Das bieten nur wir
Umfangreicher Themenkatalog
Wählen Sie aus 1055 Themen
Weiterbildungsphilosophie
Individuelle Anpassung an Ihre Anforderungen
Didaktische Konzepte
Ganz nach Ihren Wünschen
Vorteile individueller Firmenseminare
Im Vergleich zu offenen Seminaren
Vor Ort oder online
Alles ist in Ihrem Hause oder online möglich
Top-Trainer
Die besten und renommiertesten Experten
Teilnehmerfeedback
Das sagen 9311 von insgesamt über 75000 Teilnehmern
Referenzkunden
Viele namhafte mittlere und große Referenzkunden
1055 Themen, die frei anpassbar und kombinierbar sind
Gesamter Themenkatalog →
Offene Schulungen
Online-Trainings
.NET-Akademie
.NET/C#-Basisseminar
WPF
WinUI
.NET MAUI, Uno & Avalonia
Blazor
ASP.NET Core WebAPI
Entity Framework Core
Unit Testing / TDD
PowerShell
Alle Seminartermine
INFOTAGE
INFOTAG ".NET 12.0"
am 22.06.2027
INFOTAG "KI" 2027
am 15.09.2027
Das bieten nur wir
Renommierte Top-Trainer
Die besten und bekanntesten Experten schulen Sie!
Teilnehmerfeedback
Das sagen 9311 von insgesamt über 75000 Teilnehmern
Referenzkunden
Viele namhafte mittlere und große Referenzkunden
Nicht das passende Thema dabei? Stellen Sie Ihre individuelle Firmenschulung aus 1055 Modulen zusammen!
Individualschulungen →
Beratung, Support & Entwicklung
Alle unsere Leistungen
Beratung
Beratung zu vielen technischen und methodischen Themen
Coaching
Projektbegleitende Unterstützung
Softwareentwicklung
Wir entwickeln einzelne Module oder ganze Anwendungen für Sie
Technischer Support
Support für einzelne technische Fragen
Individualschulungen
1055 Themen, die frei anpassbar und kombinierbar sind
Offene Seminare
Ausgewählte Themen bieten wir auch als öffentliche Online-Schulungen an.
Beratungsthemen
Anwendungsarchitektur
Datenbankzugriff/Data Access
DevOps
Frontend, GUI, UX
IT-Infrastruktur
Leistung/Performance
Machbarkeit und Prototyping
Methodik, Prozesse, Teamarbeit
Migration und Versionsumstieg
Mobilanwendungen
Reviews und Qualitätssicherung
Sicherheit/Security
Verteilte Systeme und Services
Webtechniken
Werkzeugauswahl
Weitere Themen
Auch alle Schulungsthemen sind als Beratung möglich!
Das bieten nur wir
Renommierte Top-Berater
Durch Vorträge und Veröffentlichungen sehr bekannte Experten
Referenzkunden
Viele namhafte mittlere und große Referenzkunden
Referenzprojekte
Zahlreiche Referenzprojekte
Beratung vor Ort oder remote – flexibel nach Bedarf.
Zu den Beratungsthemen →
Wissen
Publikationen & Vorträge
Fachbücher
Fachartikel
Konferenzvorträge
Weblog
Spickzettel/Cheat Sheets
Lexikon/Glossar
Programmcodebibliothek
Fallbeispiele
Newsletter
Downloads
Themenportale
Übersicht
.NET/C#/Visual Studio
.NET 11.0
.NET 10.0
.NET 9.0
.NET 8.0
ASP.NET (Core)/Blazor
PowerShell
Versionshistorie
Konferenzen/Events
Community-/Leserportal
Suche
Themenkatalog
Tag Cloud
Volltextsuche
Site Map
FAQs
Schulungen, Beratung, Support, Coaching, Softwareentwicklung
Unsere kommerziellen Leistungen →
Über uns
Unternehmen
Zahlen
Selbstdarstellung
Kernkompetenzen
Dr. Holger Schwichtenberg
Unsere Top-Experten
Leitung & Kundenteam
Partner
Weitere Websites
Referenzen
Referenzkunden
Kundenaussagen
Referenzprojekte
Kontakt & Rechtliches
Kontakt
Impressum
Datenschutzerklärung, Haftung, Urheberrecht, Barrierefreiheit
Impressum, Datenschutz und Barrierefreiheit unter Kontakt & Rechtliches.
Rechtliches →
Erklärung des Begriffs: asm.js
Zur Stichwortliste unseres Lexikons
Was ist
asm.js
?
asm.js ist eine Untermenge von
JavaScript
für die besonders schnelle Ausführung von
JavaScript
-/
ECMAScript
-Code.
asmjs.org/
http://asmjs.org/faq.html
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.
Q. How can I track implementation progress?
A. Mozilla is working on a first implementation of an optimizing asm.js compiler for SpiderMonkey. Mozilla also has a development roadmap for future features and optimizations. If other
JavaScript
engines publish plans to implement asm.js compilers we'll include them here.
Q. Why don't you specify a bytecode syntax instead of strange
JavaScript
idioms?
A. For compilers like Emscripten or Mandreel, the syntax of a bytecode language simply isn't that important. In fact, most bytecode and machine languages have non-human-readable binary formats. However, we may create a more human-readable surface syntax for asm.js, which could be used for convenient disassembly and human read/write-ability.
Q. Does the fact that asm.js is
JavaScript
mean you can't get predictable performance?
A. An ahead-of-time (
AOT
) compiler for asm.js can generate code with very predictable performance, because validated asm.js code is limited to an extremely restricted subset of
JavaScript
that provides only strictly-typed integers, floats, arithmetic, function calls, and heap accesses.
Q. Why not NaCl or PNaCl instead? Are you just being stubborn about
JavaScript
?
A. The principal benefit of asm.js over whole new technologies like NaCl and PNaCl is that it works today: existing
JavaScript
engines already optimize this style of code quite well. This means that developers can ship asm.js today and it'll simply get faster over time. Another important benefit is that it's far simpler to implement, requiring very little additional machinery on top of existing
JavaScript
engines and no
API
compatibility layer.
Q. Why not just keep optimizing
JavaScript
JIT compilers instead?
A. No need to stop! But JIT compilers have less predictable performance based on complicated heuristics. The asm.js model provides a model closer to C/C++ by eliminating dynamic type guards, boxed values, and garbage collection.
Q. Isn't it inefficient to have to run the code through a
JavaScript
interpreter before compiling?
A. Because of the directive prologue, a
JavaScript
engine can immediately recognize asm.js code at compile-time and immediately compile it to assembly language, with no need to ever run the code through an interpreter.
Q. How can developers get good feedback if their code fails to validate?
A. The directive prologue identifies the developer's intention that code should be considered valid asm.js. If the code fails to validate, the engine can report the validation error to e.g. a developer console or other developer tools.
Q. How can developers debug asm.js code?
A. This is a problem in general with compiling for the web. Source maps can help, but browsers do have more work to do to make debugging compiled code a smoother experience.
Q. Can asm.js serve as a VM for managed languages, like the
JVM
or
CLR
?
A. Right now, asm.js has no direct access to garbage-collected data; an asm.js program can only interact indirectly with external data via numeric handles. In future versions we intend to introduce garbage collection and structured data based on the ES6 structured binary data
API
, which will make asm.js an even better target for managed languages.
Q. Is asm.js compatible with `eval` and `Function`? Can you dynamically invoke the asm.js compiler?
A. Absolutely! Compilation of an asm.js module happens at parse time of the source code. If you trigger that parse time with `eval` or `Function` then you get dynamic compilation.
Q. How much of a compile-time hit does asm.js incur?
A. Validation and compilation are pretty fast but they do incur a compile-time cost, but only for asm.js code—code that does not contain the asm.js directive prologue does not need any additional processing. If you want to avoid the up-front cost of validating and compiling asm.js code, you can use `eval` or `Function` to delay compilation to a later point.
Q. Can asm.js help with application startup times?
A. We intend to propose additional web
API
s to make it possible to compile asm.js in background threads and to store the results of compilation in offline storage, making it possible to start up faster in future application loads.
Querverweise zu anderen Begriffen im Lexikon
siehe
http://asmjs.org/
JavaScript (JS)
ECMAScript (ES)
Java Virtual Machine (JVM)
Ahead-of-Time-Compilation (AOT)
Application Programming Interface (API)
Common Language Runtime (CLR)
Beratung & Support
Anfrage für Beratung/Consulting zu ASM.JS
Gesamter Beratungsthemenkatalog
Technischer Support zum Thema ASM.JS
Schulungen
Anfrage für eine individuelle Schulung zum Thema ASM.JS
Gesamter Schulungsthemenkatalog
Fachbücher
Der Oracle DBA – Das Handbuch für Oracle On-Prem und Oracle Cloud
C# 15.0 Crashkurs
.NET 11.0 Update: Die Neuerungen in .NET 11.0 gegenüber .NET 10.0
Microsoft Copilot für Entscheider: Strategie, Governance und DSGVO-Compliance für CISOs, IT-Leiter und Datenschutzbeauftragte
SQL Server Performance & Troubleshooting: Reale Probleme, echte Lösungen — vom Hardware-Fundament bis zum Ausführungsplan
Blazor 10.0: Moderne Webanwendungen und hybride Cross-Platform-Apps mit .NET 10.0, C# 14.0 und Visual Studio 2026
C# 14.0 Crashkurs
Endlich barrierefrei
Moderne Datenzugriffslösungen mit Entity Framework Core 10.0
42 Wege, um liebevoll in der IT zu scheitern
PHP and MySQL: The Comprehensive Guide
.NET 10.0 Update: Die Neuerungen in .NET 10.0 gegenüber .NET 9.0
Excel: Zahlen rechnen Formeln: Formeln, Berechnungen und Verknüpfungen in Excel
Programmieren mit JavaScript
Blazor 9.0: Moderne Webanwendungen und hybride Cross-Platform-Apps mit .NET 9.0, C# 13.0 und Visual Studio 2022
C# 13.0 Crashkurs
Cross-Plattform-Apps mit .NET MAUI entwickeln
Moderne Datenzugriffslösungen mit Entity Framework Core 9.0
Product Ownership meistern
Digitale Barrierefreiheit für alle!
Gemeinsam für Inklusion: Kurzgeschichten über digitale Menschenrechtsverletzungen
Programmierung in Python
Data Modeling with Microsoft Power BI
.NET 9.0 Update: Die Neuerungen in .NET 9.0 gegenüber .NET 8.0
PowerShell 7 und Windows PowerShell 5 – das Praxishandbuch
C# und .NET 8 – Grundlagen, Profiwissen und Rezepte
PHP 8 und MySQL: Das umfassende Handbuch zu PHP 8 (Neuauflage zu PHP 8.3)
.NET 8.0 Update: Die Neuerungen in .NET 8.0 gegenüber .NET 7.0
Concurrency with Modern C++: What every professional C++ programmer should know about concurrency
C++20: Get the Details
Daten aufbereiten mit Power Query, Formeln und Assistenten in Excel
Blazor 8.0: Moderne Webanwendungen und hybride Cross-Platform-Apps mit .NET 8.0, C# 12.0 und Visual Studio 2022
Moderne Datenzugriffslösungen mit Entity Framework Core 8.0
C# 12.0 Crashkurs
Self-Service AI mit Power BI
App-Entwicklung für Mobile und Desktop: Software Engineering mit .NET MAUI und Comet für iOS, Android, Windows und macOS
Aufzucht und Pflege kleiner Webseiten mit HTML
COBOL
COBOL
Reguläre Ausdrücke
Requirements Engineering für die agile Softwareentwicklung: Methoden, Techniken und Strategien
Cross-Plattform-Apps mit .NET MAUI entwickeln
Blazor 7.0: Blazor WebAssembly, Blazor Server und Blazor Hybrid
C# 11.0 Crashkurs
HTML5 und CSS3: Start ohne Vorwissen - mit umfangeichen Download Material (Sonderausgabe)
Moderne Datenzugriffslösungen mit Entity Framework Core 7.0
COBOL: Grundlagenkurs für Ein- und Umsteiger
PowerShell 7 und Windows PowerShell 5 – das Praxishandbuch
ASP.NET Core Security
Digitale Barrierefreiheit für alle!
Alle unsere aktuellen Fachbücher
E-Book-Abo für ab 99 Euro im Jahr