Git Product home page Git Product logo

Comments (7)

dmitshur avatar dmitshur commented on August 15, 2024 1

Would this break GopherJS compatibility?

I'm starting to rely on mathgl as my vector library when developing using WebGL, so it'd be really nice to be able to continue to do that.

Currently:

mgl32 $ go test
PASS
ok      github.com/go-gl/mathgl/mgl32   0.009s
mgl32 $ gopherjs test
ok      _/Users/Dmitri/Dropbox/Work/2013/GoLand/src/github.com/go-gl/mathgl/mgl32   0.222s

from mathgl.

UserAB1236872 avatar UserAB1236872 commented on August 15, 2024

I'll definitely add either a buildtag or an extra make command that does
everything without the SIMD stuff. I'm not sure which would be more
convenient.

On Thu, Sep 18, 2014 at 9:50 PM, Dmitri Shuralyov [email protected]
wrote:

Would this break GopherJS compatibility?

I'm starting to rely
shurcooL/play@cd45204
on mathgl as my vector library when developing using WebGL
https://github.com/gopherjs/webgl, so it'd be really nice to be able to
continue to do that.

Currently:

mgl32 $ go test
PASS
ok github.com/go-gl/mathgl/mgl32 0.009s
mgl32 $ gopherjs test
ok _/Users/Dmitri/Dropbox/Work/2013/GoLand/src/github.com/go-gl/mathgl/mgl32 0.222s


Reply to this email directly or view it on GitHub
#30 (comment).

from mathgl.

pwaller avatar pwaller commented on August 15, 2024

Off topic: Woah @ GopherJS :neckbeard:

from mathgl.

UserAB1236872 avatar UserAB1236872 commented on August 15, 2024

Other note: apparently SIMD for a Mat3 determinant is also not worth it, though this is because of the necessary passthrough to another function (you can't define assembly on a pointer receiver).

from mathgl.

james4k avatar james4k commented on August 15, 2024

Auto-vectorization in the compiler would be the ultimate ideal, but one could also make a code generation tool to vectorize your math heavy functions into assembly routines.

Edit: This would be a tool for the mathgl user, to vectorize entire algorithms. Not for vectorizing each individual Mat4 routine, etc.

from mathgl.

 avatar commented on August 15, 2024

@Jragonmiris can you post your SIMD code ?

from mathgl.

UserAB1236872 avatar UserAB1236872 commented on August 15, 2024

Let me see if I can dig it up

On Wed, Oct 21, 2015 at 1:56 PM Olivier Gagnon [email protected]
wrote:

@Jragonmiris https://github.com/Jragonmiris can you post your SIMD code
?


Reply to this email directly or view it on GitHub
#30 (comment).

from mathgl.

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.