Emscripten Emscripten Emscripten
  • Documentation
    • Downloads
    • Report Bug
    • Licensing
    • Contributing
    • Release Notes
  • Community
    • Mailing List
    • Wiki
/
  • Discussion
  • Introducing Emscripten
    • About Emscripten
    • Community
    • Open Source License
    • Release Notes
    • Talks and Publications
  • Getting Started
    • Download and install
    • Emscripten Tutorial
    • Emscripten Test Suite
    • Bug Reporting
    • FAQ
  • Compiling and Running Projects
    • Building Projects
    • Building to WebAssembly
    • Modularized Output
    • Dynamic Linking
    • Running HTML files with emrun
    • Deploying Emscripten Compiled Pages
    • Building and Deploying on GitLab
    • Emscripten Contrib Ports
  • Porting
    • Code Portability and Limitations
      • Portability Guidelines
      • API Limitations
      • Function Pointer Issues
      • Specific Browser Limitations
    • Emscripten Runtime Environment
    • Connecting C++ and JavaScript
      • Interacting with code
      • Embind
      • WebIDL Binder
    • Files and File Systems
      • File System Overview
      • Packaging Files
      • Synchronous Virtual XHR Backed File System Usage
    • Multimedia and Graphics
      • Using WebGPU in Emscripten
      • EGL Support in Emscripten
      • OpenGL support in Emscripten
    • Audio
    • Debugging
    • Pthreads support
    • Networking
    • Using SIMD with WebAssembly
    • C++ Exceptions Support
    • C setjmp-longjmp Support
    • Asynchronous Code
    • Building Projects
  • API Reference
    • emscripten.h
    • html5.h
    • console.h
    • preamble.js
    • File System API
    • Fetch API
    • Module object
    • val.h
    • bind.h (under-construction)
    • trace.h
    • fiber.h
    • proxying.h
    • stack.h
    • Wasm Workers API
    • Wasm Audio Worklets API
    • Advanced APIs
  • Tools Reference
    • Emscripten SDK (emsdk)
    • Emscripten Compiler Frontend (emcc)
    • Emscripten Windows Command Prompt (emcmdprompt.bat)
    • Emscripten Compiler Settings
    • Deprecated Settings
    • Legacy Settings
  • Optimizing Code
  • Optimizing WebGL
  • Debugging with Sanitizers
  • Building Emscripten from Source
    • Emscripten Toolchain Requirements
    • Configuring Emscripten Settings when Manually Building from Source
    • Verifying the Emscripten Development Environment
  • Contributing to Emscripten
    • Contributing
    • Developer’s Guide
    • AUTHORS
  • Profiling the Toolchain
  • About this site
  • Index
emscripten 0 0
Edit this page
  1. Emscripten /
  2. Porting /
  3. Code Portability and Limitations

Code Portability and Limitations¶

Emscripten can be used to compile almost any portable C/C++ code to JavaScript. The topics in this section help identify less portable code, and code that may need to be changed because of limitations in the browser environment or Emscripten-compiled JavaScript.

  • Portability Guidelines
  • API Limitations
  • Function Pointer Issues
  • Specific Browser Limitations
Previous
Porting
Next
Portability Guidelines

Copyright © 2015, Emscripten Contributors.

Made with Sphinx and Shibuya theme.