# For Monte Carlo simulation with same code same algorithm, how fast is Julia compared with Fortran?

**URL:** https://discourse.julialang.org/t/for-monte-carlo-simulation-with-same-code-same-algorithm-how-fast-is-julia-compared-with-fortran/67021
**Category:** General Usage
**Tags:** fortran, performance
**Created:** [August 26, 2021, 7:44am UTC](https://discourse.julialang.org/t/for-monte-carlo-simulation-with-same-code-same-algorithm-how-fast-is-julia-compared-with-fortran/67021 "2021-08-26T07:44:49Z")
**Posts on this page:** 1
**Showing post:** 27

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [August 28, 2021, 12:03pm UTC](https://discourse.julialang.org/t/for-monte-carlo-simulation-with-same-code-same-algorithm-how-fast-is-julia-compared-with-fortran/67021/27 "2021-08-28T12:03:40Z")

</div>

c.f.

> [@How to print some elements of array in one line in a file?](https://discourse.julialang.org/t/how-to-print-some-elements-of-array-in-one-line-in-a-file/66895/11):
>
> btw: julia\> A = [1.0, 2.0, 3.0, 4.0]; julia\> B = [100.0, 200.0, 300.0, 400.0]; julia\> using Measurements julia\> C = B .± A 4-element Vector{Measurement{Float64}}: 100.0 ± 1.0 200.0 ± 2.0 300.0 ± 3.0 400.0 ± 4.0 not only do they look nice, they behave correctly. (i.e. error propagates)

---

_[View the full topic](https://discourse.julialang.org/t/for-monte-carlo-simulation-with-same-code-same-algorithm-how-fast-is-julia-compared-with-fortran/67021)._
