neon-bindings / Examples
Licence: mit
A collection of examples of Neon
Stars: ✭ 202
Programming Languages
rust
11053 projects
Projects that are alternatives of or similar to Examples
Examples
Jina examples and demos to help you get started
Stars: ✭ 185 (-8.42%)
Mutual labels: examples
Real World React Apps
Real world React apps and their open source codebases for developers to learn from
Stars: ✭ 2,228 (+1002.97%)
Mutual labels: examples
Webassembly Examples
From Simple To Complex. A complete collection of webassembly examples.
Stars: ✭ 177 (-12.38%)
Mutual labels: examples
Octopusdeploy Api
Documentation for the Octopus Deploy HTTP API
Stars: ✭ 180 (-10.89%)
Mutual labels: examples
Fuse Samples
A collection of smaller examples using the various features of Fuse and FuseJS.
Stars: ✭ 181 (-10.4%)
Mutual labels: examples
Algorithms
This repository is for learning and understanding how algorithms work.
Stars: ✭ 189 (-6.44%)
Mutual labels: examples
Prisma Examples
🚀 Ready-to-run Prisma example projects
Stars: ✭ 3,017 (+1393.56%)
Mutual labels: examples
Mastering Distributed Tracing
"Mastering Distributed Tracing" by Yuri Shkuro, published by Packt
Stars: ✭ 189 (-6.44%)
Mutual labels: examples
Tensorflow Ue4 Examples
Drag and drop Unreal Engine TensorFlow examples repository
Stars: ✭ 176 (-12.87%)
Mutual labels: examples
Shadow Dom In Depth
Everything you need to know about Shadow DOM
Stars: ✭ 191 (-5.45%)
Mutual labels: examples
Blog
A set of various projects based on ESP8266, ESP32, ATtiny13, ATtiny85, ATtiny2313, ATmega8, ATmega328, ATmega32, STM32 and more.
Stars: ✭ 198 (-1.98%)
Mutual labels: examples
Real World React Native
Real World React Native apps and their open source codebases for developers to learn from
Stars: ✭ 197 (-2.48%)
Mutual labels: examples
neon-examples
Table of Contents
Example | Descrption | |
---|---|---|
1. | hello world | Return a hello world string to Node |
2. | primitives | Creating JS primitives in Rust |
3. | arrays | Creating and using JS arrays in Rust |
4. | objects | Creating and using JS objects in Rust |
5. | arguments | Getting and checking function arguments |
6. | functions | Creating and calling JS functions from Rust |
7. | classes | Creating classes |
8. | class factory | Creating classes from a class. Useful for resource pools. |
9. | modules | Exporting functions, classes, and values |
10. | json | Handling JSON passed between JS and Rust |
11. | errors | Creating and throwing errors |
12. | async | Creating and scheduling async background tasks in Node's thread pool |
13. | thread count | Expose the num_cpus Rust library to JS |
14. | fibonacci async task | Computing the nth fibonacci number in Rust and passing the result to JS |
15. | word counting | A word counting demo in Rust and JS with benchmarks |
16. | sharing binary data | Handling binary data passed from Node to Rust |
17. | electron app | A simple electron app using Neon modules |
18. | publishing modules | Using node-pre-gyp to build and publish binaries for multiple platforms |
19. | event emitter | An example of creating an EventEmitter with Neon |
20. | workspace | An example of using Neon in a Cargo workspace |
21. | Bindgen | Planned |
Setup
git clone https://github.com/neon-bindings/examples
cd neon-examples
yarn
# Compile and run an example:
cd primitives
node ./lib/index.js
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].