kerkour.com
To write a fast port scanner, a programming language requires: A Good I/O model, not to eat all the resources of the system. High-level abstractions and a good packaging system to isolate low-level code and reuse it easily. To be type and m...
Rust Walkthroughs
2021-08-18
~3 min read
kerkour.com
There is this growing sentiment in tech that stacking more and more layers of complexity to reach the sacrosanct "infinite scalability" is not the way forward. First, because it rarely materializes: you need a lot of other things than fancy...
Observations/Thoughts
2021-08-04
~5 min read
kerkour.com
Due to its unrivaled reliability and performance, Rust is more and more appreciated by companies for web development. And when we talk about web development, Heroku is never far away. So here is the easiest way to deploy a Rust app on Herok...
Rust Walkthroughs
2021-08-04
~3 min read
kerkour.com
Initially planned for July 2021, the book is a little bit off schedule. I could invoke many pretexts such as: 100% of tech projects are off schedule, COVID-19, English is not my native language, or that the weather is terrible (??)... But I...
Project/Tooling Updates
2021-07-28
~1 min read
kerkour.com
Rust takes a loooot of time to compile, even with incremental compilation. It's not rare that a small change leads to 2 or 3 minutes of compilation to test the change, which frustrates a lot of new rustaceans. It's a deliberate choice made...
Observations/Thoughts
2021-07-28
~4 min read
kerkour.com
Think twice. Worker pools are not a great fit for Rust due to its ownership model. Instead, embrace functional programming and immutable data. Rust provides simpler to use and more elegant tools: parallel Iterators and Streams. It's importa...
Rust Walkthroughs
2021-07-21
~3 min read
kerkour.com
Building minimal Docker images to deploy Rust brings up a lot of benefits: it's not only good for security (reduced attack surface) but also to improve deployment times, reduce costs (less bandwidth and storage), and reduce the risk of depe...
Rust Walkthroughs
2021-04-07
~6 min read
kerkour.com
Its fast-paced development cycles. For more data points, please go here, search for 'Compatibility Notes' and 'Language'. I love Rust. I can build web servers, create web apps with WebAssembly, use it for embedded development, craft shellco...
Observations/Thoughts
2021-03-24
~2 min read
kerkour.com
Executing code from memory in Rust is very dependant of the platform as all modern Operating Systems implement security measures to avoid it. The following applies to Linux. There are at least 3 ways to execute raw instructions from memory:...
Rust Walkthroughs
2021-03-24
~2 min read
kerkour.com
Sending emails in Rust can be achieved in two ways: either by using an SMTP server or by using a third-party service with an API such as AWS SES or Sendgrid. SMTP SMTP is the standard protocol for sending emails. Thus, it's the most portabl...
Rust Walkthroughs
2021-03-17
~2 min read
kerkour.com
Update 2023: Should I Rust or should I go? I started developing web services (JSON APIs) in Rust a little bit more than 2 years ago, so I thought it was time to shake the preconceived ideas and share what I've learned. The prejudices Rust c...
Observations/Thoughts
2021-02-24
~2 min read