-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement (Non-central) Distributions in Rust #24
Comments
I'm working on this. Dropping emscripten would be great because then we could move |
Does this means that we can strongly type the API inputs and outputs and get rid of |
No, what would change is that instead of interacting with the DOM using Javascript (for example, via |
Ok so we have |
Could be. I don't know whether HTML number elements are automatically interpreted as number types by |
Works towards fixing #24. This is a way in which we could get rid of C and, hence, emscripten. We just incrementally port the C code to Rust. It's a lot of work, but not super difficult. Once this is done, it should make other things such as plotting and handling the browser DOM easier, so then it's a net win? The code tries to stay as close as possible to the original implementation. This should make it easier to find bugs in our port. I've also tried [`c2rust`](https://github.com/immunant/c2rust). Apart from some warnings, it seemed to work after generating `compile_commands.json` with `intercept-build`. The generated code was not very pretty, however, and relied heavily on libc, so I think a manual rewrite is more future proof.
If we implement the (non-central) distributions in Rust, we can drop the
nmath
C library andemscripten
as dependencies.What we need:
cdf
(and hence thepdf
is included) andquantile
functions:Alternatives:
Make a PR toit is dead.statsrs
lib
sub-crate.Distributions.jl
The text was updated successfully, but these errors were encountered: