nan
neon
nan | neon | |
---|---|---|
5 | 19 | |
3,247 | 7,778 | |
0.2% | 0.4% | |
5.1 | 6.3 | |
about 2 months ago | 14 days ago | |
C++ | Rust | |
MIT License | Apache License 2.0 |
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?
neon
-
We Have to Start Over: From Atom to Zed
Great interview!
Love how much thought is being put into what you “gold-plate”. I’ve always felt that my best work comes around on round two (or three or four…).
Curious what you are planning for the ability to script the configuration? I haven’t played with zed much yet; is it possible today? Would something like Neon [1] help bridge the gap from VSCode and old Atom users?
[1]: https://github.com/neon-bindings/neon
-
Electrons Are Fast, So Can Be Electron – How to Optimize Electron App Performance
Neon
-
Hey Rustaceans! Got a question? Ask here (27/2023)!
Is there a third option? Surely node has a way to directly call native code, similar to Python's C extensions? Some Node equivalent of PyO3? For example, I found neon which promises "safe and fast native Node.js modules".
-
Is converting typescript backend to Rust worth it?
Have a look at https://crates.io/crates/napi and https://crates.io/crates/neon which allow you to call rust from node. We went with napi but they're both pretty good.
- Interaction between a Node.js module and a Rust program
-
Underrated Node Knowledge
Just to add: N-API is incredibly underrated. Then again, maybe the lack of a strong native modules ecosystem is an indicator that the pure JS ecosystem is just so good. But man, got something computationally intensive? Just offload it to Rust with Neon or something. Got some proprietary bit of code in your product? Build a native module.
-
Zig, the Small Language
> rust is not well-suited for interfacing with FFI
How so? Packages like neon [1] and rustler [2] suggest otherwise. I'm using both of those in a real product (I'm using neon directly, to write native modules for an Electron app; on the back-end, I depend on an Elixir package that uses rustler).
[1]: https://github.com/neon-bindings/neon
[2]: https://github.com/rusterlium/rustler
-
SurrealDB: A new scalable document-graph database written in Rust
You can use https://github.com/infinyon/node-bindgen, https://github.com/neon-bindings/neon, or https://github.com/napi-rs/napi-rs for Node.js libraries, https://github.com/PyO3/pyo3 for Python libraries, https://rustwasm.github.io/wasm-bindgen/ for WebAssembly, and https://github.com/rust-lang/rust-bindgen for C libraries!
-
Javascript senior developer here. Why I need to learn Rust?
They can use Rust to speed up Nodejs through https://crates.io/crates/neon for example
-
1Password for SSH changed the way I work
I’m not prompted again while actively using my laptop. When it’s time to switch to an open source project, I’m seamlessly prompted for my GitHub key.
What are some alternatives?
node-addon-api - Module for using Node-API from C++
rst - The open source design documentation tool for everybody [Moved to: https://github.com/vitiral/artifact]
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
Banshee
surrealdb - A scalable, distributed, collaborative, document-graph database, for the realtime web
execa - Process execution for humans
iswasmfast - Performance comparison of WebAssembly, C++ Addon, and native implementations of various algorithms in Node.js.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
rFmt
editly - Slick, declarative command line video editing & API
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/