Code Monkey home page Code Monkey logo

Comments (4)

MaikKlein avatar MaikKlein commented on June 7, 2024 1

rlsl-math is only really for experimentation atm. In the future I intent to port something like cgmath or nalgebra to rlsl.

from rlsl.

MaikKlein avatar MaikKlein commented on June 7, 2024 1

@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.

memoryruins avatar memoryruins commented on June 7, 2024

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.

memoryruins avatar memoryruins commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.