Comments (2)
That's really good to see. I'm not seeing any indication of API documents for it though, https://www.npmjs.com/package/llml_simd has the same or very similar readme.
@mateogianolio Have you got any further into the details of that code? Have you got any suggestions on how to get it's API from Rust or some kind of easy to use analysis of the Rust code? Or even the JS? I've only looked it it for a few minutes, I could probably get somewhere with a bit of trial and error. I don't know how useful it would actually be from node because there is an overhead when calling C++ and presumably Rust too.
It may turn out to be very useful educationally to look into this code, and see what it offers in terms of calling highly optimised Rust code from JS even if it's not useful as-is because of the overhead of calling compiled code from JS being too high. That overhead could (and should) fall in the future, so it's worth paying attention to and having measurements of.
from vectorious.
I think WASM calls still have a non-negligible overhead, and I don't think SIMD is officially supported by WASM yet?
But as far as I can tell neon (https://neon-bindings.com/) should achieve near-native performance (at least same performance as c++ addons). The downside obviously being that it only works in node.js and not the browser.
That said, I have not tried the library so can't say anything about it other than it looked interesting :)
from vectorious.
Related Issues (20)
- Add reciprocal()
- Write migration guide for version 5 -> 6
- I'm confused about the transpose of a matrix. HOT 4
- Update copy method to copy underlying data into c-contiguous order
- Add more examples
- Add usage guides/tutorials
- Use files property instead of .npmignore
- Split up NDIter and NDMultiIter into separate files
- Add benchmarks to iterators
- Matrix multiply ignores strides
- will support numpy's numpy.pad function? HOT 1
- Bypass coordinate counting in single iterator if data is C-contiguous
- Implement astype(dtype: DType) for simple type casting
- Support constructing array from JSON
- CodeClimate test reporter ID can be safely put in CI.yml HOT 1
- blas `axpy` test is not meaningful HOT 2
- Docs website is down HOT 1
- Iteration is not usable HOT 6
- Remove old docs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vectorious.