Hacker News new | past | comments | ask | show | jobs | submit login

I first thought the whos() issue was some JIT thing... but no, after multiple runs it was still taking 10s of seconds.

For context, I come from using MATLAB interactively. When doing that kind of work, the MATLAB 'whos' command is like /bin/ls, it's hard to do much without it.

Is there a different command in julia for showing all numerical arrays/matrices/tensors in memory and their dimensions from the repl? whos() seems like another direct analog of MATLAB, but maybe there's something better that isn't unreasonably slow?




I'm a little late to the party, but I think something like this should do the trick:

  [names(Main) typeof.(eval.(names(Main)))]


runs crying back to MATLAB




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: