HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Dynamically Generating PNGs with IP Addresses in Them(tuckersiemens.com)

4 points·by nfrmatk·vor 3 Jahren·2 comments
tuckersiemens.com
Dynamically Generating PNGs with IP Addresses in Them

https://tuckersiemens.com/posts/avatar-png/

2 comments

ajsnigrutin·vor 3 Jahren
This article looks a lot like "this thing here can be done in 10 lines of easily understandable php, or you can read ten pages of text to see how to do it in rust"
nfrmatk·vor 3 Jahren
In truth, that's exactly what it is. My point in writing this wasn't to say "Ooh, look at Rust being so much better". The original PHP is wonderful and there is definitely something lost in a Rust translation. Other things gained as well. ¯\_(ツ)_/¯

This blog post is just a personal journey winding through the thought process it took to replicate that PHP in Rust, something I did because I thought I might learn something.