nan | emsdk | |
---|---|---|
5 | 39 | |
3,247 | 2,850 | |
0.2% | 1.3% | |
5.1 | 7.9 | |
about 2 months ago | 4 days ago | |
C++ | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nan
- What's the "modern" way of creating a native addon for Node.js?
-
Node.js vs. Python: How to choose the best technology to develop your backend
TypeScript has gained popularity in recent years, and to put things into perspective, it has over 29 million weekly downloads on npm. According to the Stack Overflow 2021 developer survey, it is ranked as the third most-loved programing language, beating Python, Node.js, and JavaScript itself. To learn how to set up TypeScript with node, see this article.
-
How to read audio data from a 'MediaStream' object in a C++ addon
After sweating blood and tears I've finally managed to set up a Node C++ addon and shove a web-platform standard MediaStream object into one of its C++ methods for good. For compatibility across different V8 and Node.js versions, I'm using Native Abstractions for Node.js (nan):
- Node Bindings untuk binding dari C++ pada Node.js
- How do i integrate C++ backend with electron GUI?
emsdk
- Software Applications Incorporated
-
How does one get started with unit testing?
One place that I’ve found some real, open source unit tests to look at for an example is in the emsdk for emscripten: https://emscripten.org
-
godot 4.2 apksigner returned with error #2
Your default path was set by emsdk, given where the path is pointing. Your modified path is the path the installer linked in the Godot docs sets, just typically that kind of stuff doesn't override existing variables. This is a good thing to keep in mind in general as if you end up having to use a different version for something else in the future and just install it expecting the installer to update it for you, you will likely run into the same issue.
-
WebAssembly: Building GUI for C++ libraries with Embind
Emscipten C/C++ to WebAssembly compiler.
-
Playing with low-level memory in WebAssembly
I am playing around with Emscipten which wraps around clang to compile C/C++ code in WASM binary and provide some glue-code API to embed WASM binary into JavaScript. Look into MDN Docs and Emscripten SDK to get started.
-
Is there any alternative other than JavaScript to deal with web frontend?
Elm is a different approach that compiles into JavaScript. In the extreme case, you have Emscripten which will compile many language into JavaScript but will feel really clumsy compared to using JavaScript in a lot of cases.
-
What's the "modern" way of creating a native addon for Node.js?
https://emscripten.org/ ?
-
SQLite builds for WASI since 3.41.0
SQLite is a pretty popular database and it's a critical dependency for many different applications. By compiling it to Wasm32-wasi, you can add it to any WebAssembly module.
This enables a new set of possibilities for Wasm and SQLite. For example, now you can run a full WordPress application in the browser [1][2] / server [3] using the same Wasm module. Note that for the browser these projects use Emscripten [4], but in the future the same Wasm32-wasi module will work.
In general, any environment that includes a wasm runtime can potentially run applications that uses SQLite under the hood. Before, it wasn't possible.
- [1] https://wordpress.wasmlabs.dev/
- [2] https://developer.wordpress.org/playground/demo/
- [3] https://wasmlabs.dev/articles/running-wordpress-with-mod-was...
- [4] https://emscripten.org/
-
Noob question: Between WebGL, OpenGL ES and emscripten, what is the recommended usage and relationship between them for creating an interactive browser based graphics app?
The emscripten interface for the assimp library. It runs entirely in the browser, and allows you to import 40+ 3D file formats and access the result in JSON or glTF format. This is not a full port of assimp, but an easy to use interface to access it's functionality.
-
Website with Godot?
Three.js is written in JS and loads like a JS library on a modern website. Godot is a binary application transpiled to WASM (with the help of emscripten), resulting in a pretty large initial payload. Godot provides JS integration, but it feels less "native" with its layers of abstraction.
What are some alternatives?
node-addon-api - Module for using Node-API from C++
pyscript - Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
WASI - WebAssembly System Interface
Banshee
itk-wasm - High performance spatial analysis in a web browser, Node.js, and across programming languages and hardware architectures
execa - Process execution for humans
website - WebAssembly website
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
webaudio-examples - Code examples that accompany the MDN Web Docs pages relating to Web Audio.
editly - Slick, declarative command line video editing & API
tictactoe-game-wasm - This is a simple example for creating your first game in web assembly. The logic for this tic-tac-toe game is written in C++.