Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fluiddyn_papers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fluiddyn
fluiddyn_papers
Commits
a1bdefc8ddad
Commit
a1bdefc8ddad
authored
4 years ago
by
Ashwin Vishnu
Browse files
Options
Downloads
Patches
Plain Diff
Fix typos
parent
b185d4eab41c
No related branches found
Branches containing commit
No related tags found
1 merge request
!3
Topic/default/polish
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reply_Zwart2020/correspondence.md
+3
-3
3 additions, 3 deletions
reply_Zwart2020/correspondence.md
with
3 additions
and
3 deletions
reply_Zwart2020/correspondence.md
+
3
−
3
View file @
a1bdefc8
...
...
@@ -40,7 +40,7 @@
productivity. There are strong open-source communities using Python and a rich
scientific ecosystem of efficient libraries.
[
^3
]:
See
for ex
e
mple the
[
TIOBE Index
](
https://www.tiobe.com/tiobe-index/
)
,
[
^3
]:
See
for ex
a
mple the
[
TIOBE Index
](
https://www.tiobe.com/tiobe-index/
)
,
the
[
IEEE Spectrum
ranking
](
https://spectrum.ieee.org/computing/software/the-top-programming-languages-2019
)
,
[
Github reports
](
https://octoverse.github.com/
)
or the
[
Stack Overflow Annual
...
...
@@ -55,7 +55,7 @@
execution)
\c
ite{aycock2003brief}. Python also has AOT and JIT compilers.
However, the most standard way to execute Python code is to interpret it with a
program called CPython. It is the reference implementation of the language and
in 2020, it still does not have a builtin JIT compiler. Therefore, CPython is
in 2020, it still does not have a built
-
in JIT compiler. Therefore, CPython is
relatively slow which explains Zwart's results. However, it is important to
realize that this inefficiency of the interpreter has a weak effect on the
overall performance of most programs. Total elapsed time and energy
...
...
@@ -74,7 +74,7 @@
However, some algorithms require low-level code and explicit loops. For
example, for the N-Body problem, the computation of the acceleration of each
particle involves a loop over all other particles. Few lines of code are repeated
$N^2/2$ times per timestep. Zwart (2020) considered 10000 timesteps and
$N^2/2$ times per time
-
step. Zwart (2020) considered 10000 time
-
steps and
$N=16384$, so the program is dominated by 1,342,177,280,000 executions of a
simple and inexpensive computation. Using CPython for this very hot loop makes
the whole program very inefficient. Good news for Python: it is straightforward
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment