Hacker News new | ask | show | jobs
by improbable22 2677 days ago
For such things, Julia is often very close to Matlab indeed, or at least it can be used that way.

You could translate most of those files line-for-line, with quite a few lines identical or trivially changed (bracket shape, or max -> maximum). This is often a useful thing to do, get a transliterated version running, and then re-write bits of it more idiomatically, while checking that the output is identical.

1 comments

I'd be happy to look at the output of such an exercise. If I were transcribing it, it would either be to J or C. Julia doesn't solve any problems for me.