1626258240
Matthias Wahl and friends discuss Tremor, their event processing system that is being used in production for high-volume, high-throughput data at Wayfair. Learn more at https://www.tremor.rs
00:00:00 Start
00:00:29 Intro
00:02:02 Agenda
00:03:25 Tremor project
00:08:27 Configuration
00:09:28 Event Processing DSL
00:11:29 Optimizing for Production
00:15:30 Rust code
00:20:55 Optimizing for Performance
00:28:11 Optimizing for Usability
00:34:40 Tremor in Production
00:42:33 Kubernetes
00:48:42 Q: Tell us more about optimizations.
00:54:13 Q: what are you using for the flamegraphs?
00:55:13 Documentation
#rust #optimizing tremor
1626258240
Matthias Wahl and friends discuss Tremor, their event processing system that is being used in production for high-volume, high-throughput data at Wayfair. Learn more at https://www.tremor.rs
00:00:00 Start
00:00:29 Intro
00:02:02 Agenda
00:03:25 Tremor project
00:08:27 Configuration
00:09:28 Event Processing DSL
00:11:29 Optimizing for Production
00:15:30 Rust code
00:20:55 Optimizing for Performance
00:28:11 Optimizing for Usability
00:34:40 Tremor in Production
00:42:33 Kubernetes
00:48:42 Q: Tell us more about optimizations.
00:54:13 Q: what are you using for the flamegraphs?
00:55:13 Documentation
#rust #optimizing tremor
1621857375
Looking for the top video production companies in Dubai in 2021? Choose the right video production company to enhance your product and service with the best video services.
#dubai video production company #video production company #video production house #top video production companies in dubai 2021 #video production #video production companies in dubai
1643176207
Serde
*Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.*
You may be looking for:
#[derive(Serialize, Deserialize)]
Click to show Cargo.toml. Run this code in the playground.
[dependencies]
# The core APIs, including the Serialize and Deserialize traits. Always
# required when using Serde. The "derive" feature is only required when
# using #[derive(Serialize, Deserialize)] to make Serde work with structs
# and enums defined in your crate.
serde = { version = "1.0", features = ["derive"] }
# Each data format lives in its own crate; the sample code below uses JSON
# but you may be using a different one.
serde_json = "1.0"
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
struct Point {
x: i32,
y: i32,
}
fn main() {
let point = Point { x: 1, y: 2 };
// Convert the Point to a JSON string.
let serialized = serde_json::to_string(&point).unwrap();
// Prints serialized = {"x":1,"y":2}
println!("serialized = {}", serialized);
// Convert the JSON string back to a Point.
let deserialized: Point = serde_json::from_str(&serialized).unwrap();
// Prints deserialized = Point { x: 1, y: 2 }
println!("deserialized = {:?}", deserialized);
}
Serde is one of the most widely used Rust libraries so any place that Rustaceans congregate will be able to help you out. For chat, consider trying the #rust-questions or #rust-beginners channels of the unofficial community Discord (invite: https://discord.gg/rust-lang-community), the #rust-usage or #beginners channels of the official Rust Project Discord (invite: https://discord.gg/rust-lang), or the #general stream in Zulip. For asynchronous, consider the [rust] tag on StackOverflow, the /r/rust subreddit which has a pinned weekly easy questions post, or the Rust Discourse forum. It's acceptable to file a support issue in this repo but they tend not to get as many eyes as any of the above and may get closed without a response after some time.
Download Details:
Author: serde-rs
Source Code: https://github.com/serde-rs/serde
License: View license
1621769539
How to find the best video production company in Dubai?We are the best video production company in Dubai, UAE. We offer Corporate Video, event video, animation video, safety video and timelapse video in most engaging and creative ways.
#video production company #video production dubai #video production services #video production services dubai #video production #video production house
1629837300
What we learn in this chapter:
- Rust number types and their default
- First exposure to #Rust modules and the std::io module to read input from the terminal
- Rust Variable Shadowing
- Rust Loop keyword
- Rust if/else
- First exposure to #Rust match keyword
=== Content:
00:00 - Intro & Setup
02:11 - The Plan
03:04 - Variable Secret
04:03 - Number Types
05:45 - Mutability recap
06:22 - Ask the user
07:45 - First intro to module std::io
08:29 - Rust naming conventions
09:22 - Read user input io:stdin().read_line(&mut guess)
12:46 - Break & Understand
14:20 - Parse string to number
17:10 - Variable Shadowing
18:46 - If / Else - You Win, You Loose
19:28 - Loop
20:38 - Match
23:19 - Random with rand
26:35 - Run it all
27:09 - Conclusion and next episode