Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 670 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 670 Bytes

Introduction

This repo is a collection of rust examples, basic and advanced ones.

├── borrows <-- borrowing stuff, lifetimes etc
├── node_rust
│   ├── examples_napi-rs
│   └── examples_neon
├── OOP-like
├── optimization <-- How to write optimized rust code
│   └── stack-related
│       └── scopes <-- How to reduce rust stack usage by taking advantage var scopes
├── traits 
└── unsafe_rust <-- unsafe related code
    ├── ffi <-- ffi examples
    └── raw_ptr 
        ├── deallocate <-- how to force a deallocation
        └── segfault <-- how to force a segfault