Related Experiment Video
Updated: Feb 23, 2026

13:43
A Robust Single-Particle Cryo-Electron Microscopy cryo-EM Processing Workflow with cryoSPARC, RELION, and Scipion
Published on: January 31, 2022
15.4K
Quick Way to Port Existing C/C++ Chemoinformatics Toolkits to the Web Using Emscripten.
Chen Jiang1, Xi Jin1
1Department of Organic Chemistry and ‡Department of Foreign Languages, China Pharmaceutical University , Nanjing 210009, Jiangsu, China.
Journal of Chemical Information and Modeling
|September 8, 2017
Summary
Emscripten, an open-source compiler, efficiently converts C/C++ code to JavaScript. This enables web deployment of chemoinformatics tools with performance comparable to native applications.
Area of Science:
- Computational Chemistry
- Web Technologies
- Software Engineering
Background:
- Chemoinformatics and molecular calculation tools are often developed in C/C++.
- Porting these tools to the web is challenging due to language barriers and performance requirements.
- Web-based access can significantly broaden the usability and accessibility of these scientific tools.
Purpose of the Study:
- To evaluate the feasibility and effectiveness of using Emscripten for porting C/C++ chemoinformatics libraries to the web.
- To assess the performance and file size of Emscripten-compiled JavaScript code compared to native executables and handwritten JavaScript.
- To demonstrate the potential of Emscripten for reusing existing scientific codebases on the web.
Main Methods:
- Utilized Emscripten to compile established C/C++ chemoinformatics toolkits and libraries into JavaScript.
- Developed a series of benchmarks to compare the performance of compiled JavaScript code against native C/C++ programs.
- Analyzed the file sizes of the generated JavaScript code in relation to native program sizes.
- Compared the performance of Emscripten-generated code with manually written JavaScript equivalents.
Main Results:
- Emscripten successfully compiled C/C++ chemoinformatics libraries for web deployment.
- The resulting JavaScript files exhibited comparable sizes to native programs.
- Performance benchmarks showed that Emscripten-compiled JavaScript code closely matched native code performance.
- The compiled JavaScript code significantly outperformed handwritten JavaScript solutions.
Conclusions:
- Emscripten is a practical and effective tool for porting C/C++ scientific software, particularly chemoinformatics tools, to the web.
- The compiler offers a viable solution for web-based scientific computing, preserving performance and code size efficiency.
- Emscripten facilitates the reuse of extensive existing C/C++ codebases in web applications, expanding their reach and utility.
Related Concept Videos
Chemiosmosis
115.5K
Oxidative phosphorylation is a highly efficient process that generates large amounts of adenosine triphosphate (ATP), the basic unit of energy that drives many cellular processes. Oxidative phosphorylation involves two processes— the electron transport chain and chemiosmosis.
Electron Transport Chain
The electron transport chain involves a series of protein complexes on the inner mitochondrial membrane that undergo a series of redox reactions. At the end of this chain, the electrons...
Electron Transport Chain
The electron transport chain involves a series of protein complexes on the inner mitochondrial membrane that undergo a series of redox reactions. At the end of this chain, the electrons...
115.5K
Catalysis
31.0K
The presence of a catalyst affects the rate of a chemical reaction. A catalyst is a substance that can increase the reaction rate without being consumed during the process. A basic comprehension of a catalysts’ role during chemical reactions can be understood from the concept of reaction mechanisms and energy diagrams.
31.0K
Thermal Electrocyclic Reactions: Stereochemistry
2.6K
The stereochemistry of electrocyclic reactions is strongly influenced by the orbital symmetry of the polyene HOMO. Under thermal conditions, the reaction proceeds via the ground-state HOMO.
Selection Rules: Thermal Activation
Conjugated systems containing an even number of π-electron pairs undergo a conrotatory ring closure. For example, thermal electrocyclization of (2E,4E)-2,4-hexadiene, a conjugated diene containing two π-electron pairs, gives trans-3,4-dimethylcyclobutene.
Selection Rules: Thermal Activation
Conjugated systems containing an even number of π-electron pairs undergo a conrotatory ring closure. For example, thermal electrocyclization of (2E,4E)-2,4-hexadiene, a conjugated diene containing two π-electron pairs, gives trans-3,4-dimethylcyclobutene.
2.6K
Enzyme-Linked Immunosorbent Assay
17.9K
In 1971, Peter Perlman and Eva Engvall developed an Enzyme-linked immunosorbent assay (ELISA or EIA). ELISA differs from western blot in that the assays are conducted in microtiter plates or in vivo rather than on an absorbent membrane.
There are many different types of ELISAs, but they all involve an antibody molecule whose constant region binds an enzyme, leaving the variable region free to bind its specific antigen. Enzyme-substrate reaction allows the antigen to be visualized or...
There are many different types of ELISAs, but they all involve an antibody molecule whose constant region binds an enzyme, leaving the variable region free to bind its specific antigen. Enzyme-substrate reaction allows the antigen to be visualized or...
17.9K
Chemistry of the Cell
9.7K
9.7K
Chemistry of the Cell
49.0K
The cell is chemically composed of water, organic molecules and inorganic ions.
Water
The polarity of the water molecule and its resulting hydrogen bonding makes water a unique substance with special properties that are intimately tied to the processes of life. Life originally evolved in an aqueous environment, and most of an organism’s cellular chemistry and metabolism occur inside the aqueous contents of the cell’s cytoplasm. Special properties of water are its high heat capacity...
Water
The polarity of the water molecule and its resulting hydrogen bonding makes water a unique substance with special properties that are intimately tied to the processes of life. Life originally evolved in an aqueous environment, and most of an organism’s cellular chemistry and metabolism occur inside the aqueous contents of the cell’s cytoplasm. Special properties of water are its high heat capacity...
49.0K

