Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This is my first Rust project, and I picked it because I already knew how to write this program, it benefits heavily from multi-threading, and I was told that Rust was quick. My previous implementation was also multi-threaded, but was written in Lua and used Löve2D to produce and output an image. Given how ridiculously faster the Rust implementation is, I believe the main bottleneck with the Löve/Lua version is that it was using the 'love.graphics.points' function to draw to a canvas whereas the Rust version just increments 'u64's in a vector. That said, writing multi-threaded code in Rust, as someone with little experience with "low-level" languages (I've mainly used Lua, C#, JavaScript and Java), has been a delightful experience. I appreciate the compiler slapping me on the wrist like a wise old master, correcting my posture until I finally learn the secrets of the Force.
This uses rand and xcomplex to handle the mathematics, png to write image files, and dialoguer and indicatif for some pretty prompts and progress bars.
This uses rand and xcomplex to handle the mathematics, png to write image files, and dialoguer and indicatif for some pretty prompts and progress bars.
here's the link: https://github.com/thrombe/fracgen_gpu