News for hackers. Stuff that matters.
Re:GNU Octave by Max-Limelihood on Saturday January 21, 2023 @05:28PM (#34471340)
Replacing Matlab with Python in engineering seems like a very bad idea, given Python's poor performance. Matlab (and most Python) packages get around this by coding everything in C++, then just having users call that C++ code. But then you have to code in C++, which is expensive.

Julia would probably be a better solution for this use case.

Re:GNU Octave by duped on Sunday January 22, 2023 @10:34AM (#34478321)
Matlab isn't exactly fast, and the same technique is used for python modules.

The problem isn't performance, it's that matlab is a single click install of everything and an ide that takes care of everything for you. By comparison, managing a python environment is a nightmare.

Re:GNU Octave by gateorade on Monday January 23, 2023 @10:00PM (#34498590)
The performance of matlab/Python the traditional engineering world isn’t relevant though, its just for modeling/simulation, it never runs in live systems. It’s way cheaper to just buy a faster machine then to try and retrain a mechanical engineer who learned matlab in college on Julia, at least for now.