Giter VIP home page Giter VIP logo

ardanlabs_rustinyourenterprise's Introduction

Ardan Labs Presentation: Introducing Rust into Your Company Ecosystem

By Herbert Wolverson ( [email protected] )

Accompanying code for the presentation on YouTube. The slide deck accompanying the presentation is here.

Service Oriented Architecture Examples

Project Description
Web Server in 16 Lines of Code 16 lines of Rust, using Axum and Tokio to provide a simple web service that returns "Hello World" in plain text.
Add JSON with 10 more Lines of Code 10 more lines of Rust, using Axum, Tokio and Serde to provide a simple web service that returns "Hello World" in JSON.
Web Service with SQLite and JSON We're up to 35 lines of Rust, and 8 lines of SQL now. SQLX applies database migrations on startup, and provides compile-time validation of SQL queries. Each request queries the database, serializes to JSON, and returns the result.
How fast is the webservice? Create a simple CLI tool that calls the web service we've created, and times responses.
How fast is the serialization? Time just the serialization to JSON
A TCP Socket Server A simple TCP socket server that accepts connections, parses a command and returns a JSON result.
TCP Socket Client A TCP client that connects to the TCP server, and times the responses.

Integrating with Existing Services

Project Description
A Python Service A simple Python service that exports a Python-friendly function. The included Python script imports the function and executes it.
Rust from Go A simple Go service that calls a Rust library. The included Go script imports the library and executes it.

Migrating Legacy Code

Rust Building C

A C library wrapped in a Rust library, with unit tests calling the legacy code.

ardanlabs_rustinyourenterprise's People

Contributors

thebracket avatar

Stargazers

Alp Güneysel avatar Mr. Joe avatar Madan Mohan Yenuganti avatar Emilio Forrer avatar  avatar Jakub Jarosz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.