Code Monkey home page Code Monkey logo

mpsl's People

Contributors

gjacquenot avatar kobalicek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mpsl's Issues

Discussion: MPSL looks interesting

I spent quite some time foraging today to find asmjit and mpsl. This is certainly close to what I had in mind for some numerical and pixel processing, having some background in GPU shaders. I'm not a CPU assembly programmer, so it's a little daunting to target asmjit directly, and ideally our tools could accept user-provided C-style expressions, ideally assignments to multiple variables. A couple of broader questions in terms of goals for MPSL:

  1. Is there potential to harmonize more closely with C++ types such as int8_t/char, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t and uint64_t? (If particular types are not natively available it's fine if they're simply not supported on that platform, IMHO)
  2. It would be nice to have both C-style casting and C++ constructor style casting such as float(4) or uint64_t(0)
  3. We'd need to be able to query MPSL for the variable names, in order to provide the types of those variables. As a workaround we can provide a potentially large list of possible variables, hopefully there isn't a significant downside to that approach.
  4. Ideally we'd be able to do constant array indexing and/or dot notation into variables to bind vector data such as complex numbers or RGB tuples to MPSL at compile time. Such as color[0] or color.x
  5. First-class 2D, 3D, 4D vector and matrix support with GLSL-style swizlling (pos.xxy) would be nice, eventually.
  6. Our data is struct of arrays rather than array of structs, ideally we could bind each parameter as a pointer and a byte-increment for incrementing and JIT code for evaluating large batches of points/pixels/items.

Aside from this particular application we have in mind, best wishes with MPSL. I do think there is room for a light-weight C-like JITable CPU-friendly shading style of language, aside from things like Julia and GLSL.

Has this project stopped updating?

This is a very interesting project. After a simple test, the generated ASM is not very accurate. I see that you haven't updated it for a long time. Can you expect to continue

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.