https://github.com/nickersoft/rust-from-typescript
The unofficial guide to learning Rust for TypeScript developers 🦀
https://github.com/nickersoft/rust-from-typescript
book documentation rust rust-lang typescript web-development
Last synced: about 1 month ago
JSON representation
The unofficial guide to learning Rust for TypeScript developers 🦀
- Host: GitHub
- URL: https://github.com/nickersoft/rust-from-typescript
- Owner: Nickersoft
- Created: 2023-09-10T22:54:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-11T02:38:28.000Z (almost 3 years ago)
- Last Synced: 2025-01-12T02:11:16.528Z (over 1 year ago)
- Topics: book, documentation, rust, rust-lang, typescript, web-development
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust From TypeScript
Hey folks! Tyler here. Like many web developers, intrigued by the immense popularity of [Rust](https://www.rust-lang.org/)-based tools nowadays, I recently decided to try my hand at finally learning the language.
However, as more of a visual learner myself, thought it might be easier to understand Rust if I rooted it in what I already know: TypeScript. There's [already an in-progress, paid course](https://rustforjs.dev/) for learning Rust if you have a JavaScript background, but being the impatient person that I am, thought it would be better if I just wrote up my own learnings and posted them here instead.
This repository is a work in progress and is being written as I navigate the [Rust by Example](https://doc.rust-lang.org/stable/rust-by-example/) e-book and conduct my own research. Hope it helps you as much as it is helping me.
**This book assumes you already know TypeScript (or JavaScript) decently well.**
– Ty
---
# Table of Contents
- The Basics
- [Variables & Mutability](content/basics/variables.md)
- [Returning Stuff](content/basics/returning-stuff.md)
- [Error Handling](content/basics/error-handling.md)
- Data Types
- [Cheat Sheet](content/data-types/cheat-sheet.md)
- [Casting](content/data-types/casting.md)
- [Declaring Types](content/data-types/declaring-types.md)
- [Classes](content/data-types/classes.md)
- [Collections](content/data-types/collections.md)
- [Enums](content/data-types/enums.md)
- [Tuples](content/data-types/tuples.md)
- [Optionals](content/data-types/optionals.md)
- Logic Flow
- [What Stays The Same](content/logic-flow/same.md)
- [Infinite Looping](content/logic-flow/loop.md)
- [Matching](content/logic-flow/match.md)
- [Associated Values](content/logic-flow/let.md)
- Rust-Specific Stuff
- [Type Suffixes](content/rust/type-suffixes.md)
- Recipes
- [Printing Data](content/recipes/printing-data.md)
- [Parsing Strings](content/recipes/parsing-strings.md)
- [Destructuring](content/recipes/destructuring.md)