News for hackers. Stuff that matters.
Re:Fortran adds conditional expressions by neatze on Thursday July 01, 2021 @02:23PM (#27702536)
Interesting to see how much slower is JS when compared to Fortran for matrix operations, no idea how to compare React to Fortran.
Re:Fortran adds conditional expressions by SavantIdiot on Thursday July 01, 2021 @02:49PM (#27702912)
React is a responsive framework, not a compute lib. It's a joke.

Getting offtopic here from FORTRAN, but there have been several attempts at numeric libraries in javascript (math.js, numjs), they are either lightweight, or unmaintained and in a sorry state, or require async execution that expect remote hardware (Googles tensor libs) which makes them a bit difficult to use in a general setting.

Hopefully WebASM will result in a native numpy-like library for JS because numpy is a very well-thought-out library and interface, it's really addictive.

Re:Fortran adds conditional expressions by walshemj on Thursday July 01, 2021 @03:07PM (#27703154)
I have written interfaces in Fortran 77 back in the 80's
Re:Fortran adds conditional expressions by jazzyjackson on Thursday July 01, 2021 @03:35PM (#27703539)
It’s not fast but I’ve found “algebrite” to be a good CAS for JavaScript that I can break out anytime I need dot products.
Re:Fortran adds conditional expressions by FabianCarbonara on Thursday July 01, 2021 @02:36PM (#27702732)
to be honest, this was just a very stupid joke. i guess there is no good reason to compare the two.
Re:Fortran adds conditional expressions by rendall on Thursday July 01, 2021 @02:44PM (#27702846)
Jokes are difficult to pull off well on HN. Worst downvotes I ever get are when I'm joking.
Re:Fortran adds conditional expressions by gpvos on Thursday July 01, 2021 @02:50PM (#27702927)
The trick is to lay it on so heavily that there is no joke anymore.
Re:Fortran adds conditional expressions by rendall on Thursday July 01, 2021 @03:13PM (#27703236)
Sadly, yes.
Re:Fortran adds conditional expressions by cpach on Thursday July 01, 2021 @02:47PM (#27702895)
(^_^)