Hacker News new | ask | show | jobs
Geometric Algebra for JavaScript (github.com)
3 points by unao 3212 days ago
1 comments

I wonder why this couldn't be written in Golang/Haxe and then generate JS code?
I guess I could do that for the Geometric Algebra part, but for the operator overloading and algebraic literals, ganja.js generates a simple ast translator that heavily depends on javascript introspection and weak typing. It might be possible but sounds like headache ;)