Am I the only one who thinks we need less short-lived tools written in memory-safe languages an more system infrastructure written in said languages?<p>Don't take me wrong, I like when someone creates a better version of something existing. For example, ripgrep is fantastic. But seeing the recent trend of rewriting whatever in Rust just because, I can't help wondering why I should bother whether bc leaks or not...
As the author of the default bc in macOS and FreeBSD, good luck.<p>Also, while mine is in C, I have tried very hard to eliminate all memory safety bugs, and I think I have done pretty well.<p><a href="https://git.gavinhoward.com/gavin/bc/" rel="nofollow">https://git.gavinhoward.com/gavin/bc/</a>
Lost as to why there is a tests folder yet the test function marked with the #[test] attribute is being added to /src: <a href="https://github.com/rustcoreutils/posixutils-rs/pull/132/commits/dd9f9531b48171f9417685b8a9440180fd39a985#diff-399ef6729038be6ed4b917820c57c591b487d20593f93b70428976bd0072dc67">https://github.com/rustcoreutils/posixutils-rs/pull/132/comm...</a> edit: Since the change was to the grammar saved in a separate .pest file, which is separated from the procedural code, then would that make the test an integration rather than a unit test as the "parse_program" function is public?
I am still waiting for Rust people to do something new and innovative. I acknowledge that Rust itself is innovative, don't get me wrong, But where are the true proof-of-concept projects such as the Linux kernel, qemu, git, postgresql, vim, etc. of the Rust world? Rewriting code is a waste of time of time, fragments the eco system, and introduces new bugs. And with a new focus on memory safety and analysis tools and sanitizers evolving, a lot of C code will be made memory safe in the future without needing a rewrite in Rust.
- DC to convert between bases and if you like RPN.<p>- Calc it's better if you want to cover complex numbers: <a href="https://github.com/lcn2/calc">https://github.com/lcn2/calc</a><p>- Qalc from libqalculate in order to solve some equations in legacy machines. It's lighter and smaller than Maxima, but not as complete. - -<p>- Maxima for anything else, the biggie one. This will cover calculus. Gnuplot will work fine as a plotter for the previous tools.
If you want core utilities rewritten in Rust …<p>‘uutils’ is exactly that.<p><a href="https://github.com/uutils/coreutils">https://github.com/uutils/coreutils</a>
this must be parody. what exactly is the threatmodel where memory-safety matters for a calculator? did these devs miss the point of popping a calc.exe? surely no bc has ever been used for LPE or RCE.
The title reminds me of the adds for "Shen Yun China Before Communism" which begs the question: ok what about life after communism ... where's the song and dance show about that?<p>Similarly, if this is the memsafe bc, where's the wow it leaks memory like a 1980s rock ballad bc code?<p>Hint: one has an answer, and the other has really never been on the radar safe or no.