# Julia gets mentioned in an article about FORTRAN

**URL:** <https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605>\
**Category:** Community\
**Created:** [May 5, 2021, 8:52pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605 "2021-05-05T20:52:36Z")\
**Posts on this page:** 17\
**Page:** 6

<div class="post-metadata">

**Author:** ![melonedo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/melonedo/32/15503_2.png) [@melonedo](https://discourse.julialang.org/u/melonedo)\
**Post date:** [May 13, 2021, 10:21am UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/102 "2021-05-13T10:21:17Z")

</div>

What does that triangle \triangleright mean?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [May 13, 2021, 12:40pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/103 "2021-05-13T12:40:00Z")

</div>

> [@kumarbalachandran](#):
>
> let us build a story around how multiple dispatch is the secret to success

It isn’t just a story, it is an integral part of the language and makes the ecosystem of more or less independent packages fitting together nicely possible.

[![](https://global.discourse-cdn.com/julialang/original/3X/c/5/c5a2f02c81c376da005f8610ce9cdd4ad47cfdf4.jpeg "JuliaCon 2019 | The Unreasonable Effectiveness of Multiple Dispatch | Stefan Karpinski") ](https://www.youtube.com/watch?v=kc9HwsxE1OY)

---

<div class="post-metadata">

**Author:** ![Mason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mason/32/2423_2.png) [@Mason](https://discourse.julialang.org/u/Mason)\
**Post date:** [May 13, 2021, 3:08pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/104 "2021-05-13T15:08:17Z")

</div>

> [@melonedo](#):
>
> What does that triangle \triangleright ▹\triangleright mean?

It means [normal subgroup](https://en.wikipedia.org/wiki/Normal_subgroup). I think for it to work though, Ralph should have used `/` instead of `\`

---

<div class="post-metadata">

**Author:** ![kumarbalachandran](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kumarbalachandran](https://discourse.julialang.org/u/kumarbalachandran)\
**Post date:** [May 13, 2021, 4:38pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/105 "2021-05-13T16:38:28Z")

</div>

Agreed, but you have to admit that there is also a story around it, compelling or otherwise, that is presented as the reason why Julia outperforms everything. The key I have learned from my brief dalliance with Scheme and LISP is that a huge number of libraries and flexibility in implementation makes a language useful. The vehicle for real power in LISP and Scheme is the “program is data” paradigm. And Julia manages to retain that strength, partly through strong macro capability and partly through multiple dispatch. The result is a higher level language than FORTRAN or C, and the programmer does not have to work too hard to express themselves.

The last point I would like to make is the division of labor between compilation and execution. In successful LISPs, including Julia, far more is attempted during compilation than during run-time – this allows high levels of optimization. FORTRAN is incredibly efficient as well, but that efficiency arises out of simplicity in the language and the restriction of flexibility, so the compilation does not have to do as much. Consequently, the programmer has a more tedious task.

I am willing to back down and give multiple dispatch more importance than my paragraph did. No religion here.

---

<div class="post-metadata">

**Author:** ![Atias](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/atias/32/25471_2.png) [@Atias](https://discourse.julialang.org/u/Atias)\
**Post date:** [May 26, 2021, 8:39pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/106 "2021-05-26T20:39:08Z")

</div>

Still Julia programs cannot stand on their own and must rely on the Julia environment being installed on the system for JIT and other stuff, Fortran on the other hand can be compiled to light-weight programs and libraries that stand on their own with no need for external dependencies or environments installed, And as with technology these days, We may never know or predict where will it go or evolve, Currently there is an official Fortran LLVM Flang Compiler under active development, And when it’ll get out it is a great possibility that it will support all the platforms that the C++ LLVM Clang Compiler supports even mobile platforms such as IOS, Android, And as they are both based on LLVM (as of course Julia too) that will enable also aggressive LLVM optimizations for Fortran code. Maybe from a Scientific or having a “just calculate my stuff” point of view you are right, But from a Software Engineering point of view where we have to ship stand alone programs it is better to have as many possibilities and options as possible that we can choose from. And for each single thing in that domain there are both positives and negatives. And as of Julia? It is a fantastic language, This is really cool what the guys making it have achieved, And I am currently experimenting with that language too and trying out some programs.

---

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [May 26, 2021, 8:49pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/107 "2021-05-26T20:49:53Z")

</div>

I thought this was available in Julia already, I must have misread somewhere. This is so important for larger code bases / group working

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 26, 2021, 8:52pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/108 "2021-05-26T20:52:16Z")

</div>

Aren’t you forgetting the Fortran/C runtime libraries: all those hundreds of megabytes that need to be installed so that your light weight program can run?

---

<div class="post-metadata">

**Author:** ![Juliet](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@Juliet](https://discourse.julialang.org/u/Juliet)\
**Post date:** [May 27, 2021, 5:38pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/109 "2021-05-27T17:38:25Z")

</div>

What is the alternative? Compiling the same codes and libraries on every single user’s computer for hours? How much time and energy such an approach would waste? That should be easy math.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 27, 2021, 5:55pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/110 "2021-05-27T17:55:58Z")

</div>

To which post does this pertain to?

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [May 27, 2021, 6:36pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/111 "2021-05-27T18:36:41Z")

</div>

> [@PetrKryslUCSD](#):
>
> Aren’t you forgetting the Fortran/C runtime libraries: all those hundreds of megabytes

What hundreds of MB? I distribute C compiled code that run more or less in any computer with Windows and I ship less then 0.5 MB of compiler dlls.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 27, 2021, 6:57pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/112 "2021-05-27T18:57:24Z")

</div>

So why exactly does VS Fortran ship on a DVD? And those Windows computers must come with those libraries preinstalled, don’t they? If they didn’t, you’d have to ship them yourself.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [May 27, 2021, 8:01pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/113 "2021-05-27T20:01:52Z")

</div>

Compilers are huge nowadays but for C compiled binaries I only have to ship `vcruntime140.dll, vcruntime140_1.dll, msvcp140.dll, msvcp140_1.dll, msvcp140_2.dll, msvcp140_codecvt_ids.dll` and because it uses OMP (I’m talking about GMT now) also `vcomp140.dll`. That’s about 1 MB.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 27, 2021, 9:01pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/114 "2021-05-27T21:01:01Z")

</div>

Intel Fortran 2019 redistributable libraries are 181MB.

---

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [May 27, 2021, 9:10pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/115 "2021-05-27T21:10:10Z")

</div>

How big is windows executable “hello world” in Julia, C, and Fortran?

---

<div class="post-metadata">

**Author:** ![Juliet](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@Juliet](https://discourse.julialang.org/u/Juliet)\
**Post date:** [May 27, 2021, 9:19pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/116 "2021-05-27T21:19:19Z")

</div>

I do not get the point of this discussion. There is no magic. There cannot be any magic. There is no redundancy in runtime libraries either. For decades many genius scientists have worked to create highly optimized libraries out of millions of lines of code. Now you can 1) take these mega-codes, compile them once to generate portable libraries and distribute them, or 2) pass the source codes around (only if it is open-source, which is not the case in many instances) and ask every single user to compile them by themselves, or 3) pass some software around to compile all the dependencies and codes for you just-in-time. There is no magic. You need to compile what you need to use. Case (1) causes dependency headaches. Case (2) and (3) cause long-compilation-times, and waste-of-energy on the scale of society. But in the end, there is no workaround. You need to compile what you need to use.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [May 27, 2021, 9:24pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/117 "2021-05-27T21:24:59Z")

</div>

Yes, maybe. Except that Microsoft does it way better.

---

<div class="post-metadata">

**Author:** ![RoyiAvital](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/royiavital/32/571_2.png) [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Post date:** [May 27, 2021, 10:26pm UTC](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605/118 "2021-05-27T22:26:05Z")

</div>

> [@PetrKryslUCSD](#):
>
> Intel Fortran 2019 redistributable libraries are 181MB.

You can always use static linking.  
Take a challenge, show me a statically (Single code path, release mode) linked binary file which is 180 [MB].

The reason Intel’s redistributable are so big is it includes many variants (10? 20?) of the same code path. I also think the redistributable package includes both the single threaded, multi threaded and debug (4 combinations) of each. Divide 180 / 40 or 180 / 80 and you’ll get the real world picture.

[Previous page](https://discourse.julialang.org/t/julia-gets-mentioned-in-an-article-about-fortran/60605.md?page=5)
