[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/sci/ - Science & Math


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: julia-vscode.png (32 KB, 1024x685)
32 KB
32 KB PNG
Any thoughts on this for scientific computing / number crunching? Is it better than Matlab?
>>
>>16260986
Very comfy language. Certainly superior to matlab. More beautiful tjan Python too.
>>
>>16260986
very fast, very comfy, can even be GPU accelerated
>>
>>16260986
It's just Python wannabe inferior cousin due to limited software packages and stupid lack of features in the language itself. just use python, or c++ if you want performance.
>>
>>16260986
Some guy implemented a simple model for synchronized oscillators in Python, which I used quite a lot for my thesis. Unfortunately I had to wait quite a while for each run, but it didn't matter too much.
After my thesis I decided to have a crack at improving it, but using Julia as my peers were jerking it off.
Made something that produces the same results, but was 2 orders of magnitude faster, dropping the processing time from about 2 hours to a little over a minute.
>>
>>16261243
you can achieve the same result in python. by default there is no optimization but you can use libraries for such purposes. there's no need to use a limited language like Julia just for the acceleration. sounds like skill issues my guy.
>>
>>16261233
>>16261248
What is missing from Julia?
>>
>>16261295
Nothing really, maybe some niche libraries because it's a relatively new language.
I'm too much of a retard to learn a new syntax so I cannot ever switch to any other lang other than python. even then I'm finding it hard to start using the retarded type hinting shit they introduced in python.
>>
>>16261618
btw I've tested Julia with kernel on jupyter a while ago. I got back to python because of my long habit with python.
>>
>>16260986
Everything is better than Matlab. Octave is better than Matlab. Matlab needs to be voided.
>>
>>16261641
this, papers should be voided if they publish their code in matlab.
>>
>>16261295
A compiler.
You need to install a JRE (Julia Runtime Env) to run Julia. No compiled programs. The programs dont exit the academic space.....
It's good for
write once
Compile once
run once

If you need to run multiple times, it is suboptimal.
Still better than python
>>
>>16260986
I haven't personally used it myself, but it does suffer from it just being a young language from what I've heard.

Depending on exactly what you need for number crunching, Julia does provide nice functionality in the standard library. I recommend looking at the documentation for what sort of things you might need: https://docs.julialang.org/en/v1/

Furthermore, Julia also supports calling code from C: https://docs.julialang.org/en/v1/manual/calling-c-and-fortran-code/

If you're already acquainted with Python though, I'd rather stick to an LLVM like numba for the convenience of familiarity and better support
>>
>>16260986
I've mostly been avoiding it because there are a ton of subtle bugs in the core language and major packages that make it hard to trust any nontrivial program written in it
https://yuri.is/not-julia/
>>
>>16261712
>open source project has bugs
Many such cases
>>
File: IMG_7616.png (638 KB, 945x563)
638 KB
638 KB PNG
which framework produces the nicest drawings/animations?
>>
>>16261248
The original implementation used a bunch of differential equation libraries. The saving grace for a speedup in Julia was due to static allocation.
Could that be done in Python? Genuinely curious, I'm no Python wiz.
>>
>>16261755
Perl Data Language



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.