DEV Community

Hirokazu Hirono
Hirokazu Hirono

Posted on

 

Basic Signed Integer Type in Rust

Alt Text

println!("{}", std::i8::MIN); // -128
println!("{}", std::i8::MAX); // 127

Alt Text

println!("{}", std::i16::MIN); // -32768
println!("{}", std::i16::MAX); // 32767

Alt Text

println!("{}", std::i32::MIN); // -2147483648
println!("{}", std::i32::MAX); // 2147483647

Alt Text

println!("{}", std::i64::MIN); // -9223372036854775808
println!("{}", std::i64::MAX); // 9223372036854775807

Oldest comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.