Basic Comparison of Various Computing Languages Python, Julia, Matlab, IDL, R, Java, Scala, C, Fortran
We write codes to test the performance of the several computer languages. The codes solve simple tasks to test how the different languages handle loops, vectorization, multiprocessing, array manipulation, reading collections of files, etc. The goal is not to determine which language is better than the other but instead to highlight the strengths and weaknesses of each language. We also want stress the importance of having languages that can inter-operate with others to solve complex applications. The results (updated at least once a year) from this study are presented (including source codes) through a NASA website accessible to practitioners who need such information to determine which language is appropriate to accomplish a specific task.
I just cloned the repo and tried to further optimise the laplace_jacobi benchmark. Much of the speed of C in this benchmark comes from the optimisation flag -Ofast. In fact, executing the julia script with julia -O3 --math-mode=fast give pretty much the same times, if not slightly better.
Just because US government employees do work doesn’t automatically put something in the public domain - e.g. the designs of nuclear weapons, launch-codes, spy-planes, and encryption software are not public domain!
They most certainly are, which supports my point. Works by US government employees are not necessarily public domain. From the Wikipedia page:
Publication of an otherwise protected work by the U.S. government does not put that work in the public domain. For example, government publications may include works copyrighted by a contractor or grantee; copyrighted material assigned to the U.S. Government; or copyrighted information from other sources.
If you publish to github, people are automatically allowed to fork it, even without a license, I believe, as part of minimum terms of service.
However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work.
Note: If you publish your source code in a public repository on GitHub, according to the Terms of Service, other GitHub users have the right to view and fork your repository within the GitHub site. If you have already created a public repository and no longer want users to have access to it, you can make your repository private. When you convert a public repository to a private repository, existing forks or local copies created by other users will still exist. For more information, see “Making a public repository private.”
Those are protected by plain old secrecy—as in not telling people things you don’t want them to know—not copyright. If a government employee creates a work and posts it on the internet, then it is neither secret nor protected by copyright, therefore public domain.
As a US government employee a few months ago, we were encouraged to put our work in the public domain as much as possible. Obviously we have secret and proprietary stuff that can’t be shared, but if we put for public consumption, it’s in the public domain.