Comments (4)
rlsl-math
is only really for experimentation atm. In the future I intent to port something like cgmath or nalgebra to rlsl.
from rlsl.
@memoryruins I still support the std, it is just my own version of core and std with a lot of stuff ripped out.
I am not going to lie, porting nalgebra is to rlsl is probably very hard. I still want to try to port a subset of it in the future. I looked a bit through the source code and it looks very reasonable for a 1:1 port in a lot of cases.
I still need to figure out a good way to map types to built in SPIR-V types in a non invasive manner.
At the moment I will focus on my own math library rlsl-math, because it is much easier to develop a math library incrementally with the compiler. But it is not necessary for rlsl.
Anyone can then port their own math library to rlsl by just looking at the reference implementation rlsl-math.
from rlsl.
Noticed rlsl's libstd is #![no_std]
. nalgebra now supports compiling without the standard library http://nalgebra.org/wasm_and_embedded_programming/ (if that was any concern)
from rlsl.
Seems like the most sensible choice. First make it work well with SPIR-V types, then trait implementations (nalgebra has a βmintβ trait feature flag) and crate support can come later and especially from others :)
from rlsl.
Related Issues (20)
- Implement SwitchInt
- Generating storage buffers HOT 3
- Create a shim with rustup HOT 7
- build.rs should call rustc and not rlsl HOT 2
- Make compute shaders save
- Wrap spirv-val and spirv-opt
- Add support for proc macro
- Potentially implement a custom core library
- Map bool to u32 because OpTypeBool is abstract
- Support pointers in structs by expanding fields into separate variables HOT 2
- Some questions about future plans for RLSL HOT 1
- Collection of interesting examples that should be implemented with rlsl
- Extension mechanism? HOT 1
- Add SPIR-V extensions HOT 1
- Shader modules
- Entrypoint definition HOT 6
- Abstracting over arrays
- Installing a specific nightly version automatically
- Instructions for building rlsl from scratch
- Is this still alive? HOT 7
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 rlsl.