grzegorzmazur / yacas

Computer calculations made easy
http://www.yacas.org
GNU Lesser General Public License v2.1
124 stars 24 forks source link

Consider the switch to Rust programming language #283

Closed XVilka closed 4 years ago

XVilka commented 4 years ago

Rust language offers many things compared to C:

It will simplify documentation generation, build system, Windows support, will help to avoid some annoying bugs and will make third-party libraries' usage. It will allow better cooperation with projects like RustSim/nalgebra, Rust Num, and many others, as well as help other projects to reuse the power of Yacas, especially if split into the smaller crates.

There is available automated tool called c2rust that offers automated conversion from C to Rust, along with the refactoring tool which allows scripting in Lua.

image

P.S. See also Number Theory using Rust's type system and math-related crates.

grzegorzmazur commented 4 years ago

Hi,

Thanks for an interesting suggestion, but in this particular case I'd claim that such a transformation is not really the best way forward.

Cheers, Grzesiek