background preloader

Home · kripken/emscripten Wiki

Home · kripken/emscripten Wiki
Emscripten is an LLVM to JavaScript compiler. It takes LLVM bytecode (which can be generated from C/C++ using Clang, or any other language that can be converted into LLVM bytecode) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run). Using Emscripten, you can Compile C and C++ code into JavaScript and run that on the webRun code in languages like Python as well, by compiling CPython from C to JavaScript and interpreting code in that on the webSee the FAQ for more details Ready to get started? Download the SDK (or build from source) and then proceed to the Tutorial!

https://github.com/kripken/emscripten/wiki

Related:  javascript

ES6 Overview in 350 Bullet Points Apologies about that long table of contents, and here we go. ES6 – also known as Harmony, es-next, ES2015 – is the latest finalized specification of the languageThe ES6 specification was finalized in June 2015, (hence ES2015)Future versions of the specification will follow the ES[YYYY] pattern, e.g ES2016 for ES7Yearly release schedule, features that don’t make the cut take the next trainSince ES6 pre-dates that decision, most of us still call it ES6Starting with ES2016 (ES7), we should start using the ES[YYYY] pattern to refer to newer versionsTop reason for naming scheme is to pressure browser vendors into quickly implementing newest features (back to table of contents) A new primitive type in ES6You can create your own symbols using var symbol = Symbol()You can add a description for debugging purposes, like Symbol()Symbols are immutable and unique. Time for a bullet point detox. Then again, I did warn you to read the article series instead.

10 Web-based Sandbox Tools for Testing Your Code Snippets One of the greatest benefits the Internet provides web developers is the ability to share and collaborate with other professionals. When you’ve hit a coding roadblock, you can reach out on your social networks to see if your friends can give you a hand. Why use a web-based sandbox tool instead of a testing server or a local web server stack like XAMMP or WAMP? Not having to set up and save HTML, CSS and JavaScript documents simply to test and debug small code snippets, being able to back up your code snippets remotely, and the capability of quickly linking to and showing off your work (which many of these tools can do) are the major reasons you’d want to use them.

Qt GUI Toolkit Ported to JavaScript via Emscripten There are a ton of demos that you can check out showing Qt apps compiled to JavaScript and running in the browser. For example, the app I screenshotted and included above is a rich text word processor supporting various fonts and text styles, alignments and PDF generation. Thanks to Emscripten’s File API, you can even open and save documents from a virtual filesystem and access generated PDFs from that filesystem via a link outside the app. All of the rendering of these apps is done in one large canvas element, which you’d think might be slow, but it turns out that at least for all of the demos I tried, it’s actually really fast and responsive.

Best Practices for Speeding Up Your Web Site The Exceptional Performance team has identified a number of best practices for making web pages fast. The list includes 35 best practices divided into 7 categories. Minimize HTTP Requests tag: content 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc.

About php.js php.js is a resource that offers community-built JavaScript alternatives to PHP functions. Why on earth would you port php to js? to see if we canto learn JavaScriptto help others learn JavaScriptto see how php scripts perform with V8 strapped on their backsto profit from helpful functions like: strip_tags, strtotime, md5, strftime, number_format, wordwrap, vsprintf, and date, that are too high-level for JavaScript. Did you know This is an archive of the Did you know? section on the home page We occasionally replace the DYK section on the home page, and items are copied to here so anyone interested can browse them. To discuss suggestions for new items, please edit the talk page. July 2012 May 2010

51+ Best of jQuery Tutorials and Examples Apr 24 2008 There’s stuff all over the Web about jQuery, but finding the best tutorials to get you started can be tough. Here are Examples and tutorials from jQuery masters to keep you on the right track. We will start with jQuery masters and feature some of their best tutorials, then we will move on to more categorized tutorials, cheat sheets and hacks. New Tricks in XMLHttpRequest2 Introduction One of the unsung heros in the HTML5 universe is XMLHttpRequest. Strictly speaking XHR2 isn't HTML5. Speech Recognition HOWTO Speech Recognition HOWTO Stephen Cook scook@gear21.com

SoX - Sound eXchange Welcome Technical Information Support and Development SorceForge.net Most of the SoX project's resources are provided by Sourceforge. Introduction to d3: Build an Animated Graph in 19 Lines of Code - Need for Air The goal of this tutorial is to give an introduction to d3.js by using the example of a simple animated bar chart. Before anything else, let’s take a look at it. Click on any bar of this chart -you can do it multiple times- to see what happens! Pretty neat, huh? You can see the gist of a standalone working HTML here.

Related: