3 ms·
Would that be in Rust for performance reasons? Elixir IME isn't as slow as some other popular languages but it's no speed demon either.
by ElfinTrousers 4y ago
Would that be in Rust for performance reasons? Elixir IME isn't as slow as some other popular languages but it's no speed demon either.
- 0cf8612b2e1e 4y agoA crawler should be limited by the network not CPU. Outside of the language making it easier to handle multiple concurrent connections, I doubt speed would be much of a consideration.
- kfrane 4y agoI'm not sure, it might be. If you're not careful, CPU can become bottleneck when you have a 10Gbit network card.
- danudey 4y agoRust also has the benefit of eliminating a ton of classes of bugs, which is great for the core of a product that connects to the network, fetches untrusted content, parses it, and (presumably) stores it somewhere. Not that you can't still have bugs, but when you can get C-levels of speed with Python-levels of safety, why not?
- ElfinTrousers 4y ago"Python" levels of safety? Let's aim a little higher in life.
- sph 4y agoPerformance has nothing to do with it. You can imagine the application being a very specialised version of `wget`, and I like CLI system applications to be easy to distribute, with no dependencies and not requiring an entire VM to run. Erlang/Elixir is good for networked servers. For CLI apps I either choose Go or Rust, and I much prefer the latter. Since I want to make this component open source, I wanted to keep it separate from the rest of the closed source, proprietary Elixir backend. There is no wrong choice to be honest, this is mine for my startup, and I don't think I need more justification than "I am productive with it for the task at hand."