Comments (3)
Or maybe we should re-organize code a little bit
Now src/lib.rs
mostly contains code related to x86/x64 arch, I suggest to move it into src/x86_x64/mod.rs
.
It will make lib.rs
cleaner and ready for other architectures
from safe_arch.
the underscores have to be there or it conflicts with the naming of the type, since module paths and type paths "live in the same namespace" in the eyes of rust.
from safe_arch.
As to a total re-organization, I'm not against the general idea, and I agree that once ARM intrinsics are ready to be added we might have to re-think things, but I've really never liked either mod.rs
or foo.rs
being next to the foo/
folder. I'm pretty big on this new inline module based style that I was shown a few months ago, since it lets you avoid both.
from safe_arch.
Related Issues (20)
- check all integer multiplies
- License questions HOT 2
- Missing 256-bit vpermps ? HOT 2
- Naming convention cleanup HOT 1
- How would you feel about macrofying more of the implementation? HOT 4
- Publish version of new crate HOT 1
- please tag release v0.7.0 HOT 3
- source contains backup files
- change and/or/xor to be bitand/bitor/bitxor
- rename: andnot to bitandnot
- [neon] General ARM/Neon tracking issue.
- Put an entry for `blend` into the naming conventions document
- Some macros continue to not prefix the value constructor used with `$crate::`
- Improve CI
- macro blend_i32_m128i should have name with `imm` in it
- `cmp_ordinary` should be named `cmp_ordered`
- move_mask_m256i should be move_mask_i8_m256i
- convert most macro_rules to min-const-generics HOT 1
- ARM Support? HOT 4
- Compîlation failed in amd64 on copr 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 safe_arch.