GPUCompiler.jl VS Fortran-code-on-GitHub

Compare GPUCompiler.jl vs Fortran-code-on-GitHub and see what are their differences.

GPUCompiler.jl

Reusable compiler infrastructure for Julia GPU backends. (by JuliaGPU)

Fortran-code-on-GitHub

Directory of Fortran codes on GitHub, arranged by topic (by Beliavsky)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
GPUCompiler.jl Fortran-code-on-GitHub
5 9
146 259
3.4% -
8.5 9.8
5 days ago 5 days ago
Julia
GNU General Public License v3.0 or later The Unlicense
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

GPUCompiler.jl

Posts with mentions or reviews of GPUCompiler.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-06.
  • Julia and GPU processing, how does it work?
    1 project | /r/Julia | 1 Jun 2022
  • GenieFramework – Web Development with Julia
    4 projects | news.ycombinator.com | 6 Apr 2022
  • We Use Julia, 10 Years Later
    10 projects | news.ycombinator.com | 14 Feb 2022
    I don't think it's frowned upon to compile, many people want this capability as well. If you had a program that could be proven to use no dynamic dispatch it would probably be feasible to compile it as a static binary. But as long as you have a tiny bit of dynamic behavior, you need the Julia runtime so currently a binary will be very large, with lots of theoretically unnecessary libraries bundled into it. There are already efforts like GPUCompiler[1] that do fixed-type compilation, there will be more in this space in the future.

    [1] https://github.com/JuliaGPU/GPUCompiler.jl

  • Why Fortran is easy to learn
    19 projects | news.ycombinator.com | 7 Jan 2022
    Julia's compiler is made to be extendable. GPUCompiler.jl which adds the .ptx compilation output for example is a package (https://github.com/JuliaGPU/GPUCompiler.jl). The package manager of Julia itself... is an external package (https://github.com/JuliaLang/Pkg.jl). The built in SuiteSparse usage? That's a package too (https://github.com/JuliaLang/SuiteSparse.jl). It's fairly arbitrary what is "external" and "internal" in a language that allows that kind of extendability. Literally the only thing that makes these packages a standard library is that they are built into and shipped with the standard system image. Do you want to make your own distribution of Julia that changes what the "internal" packages are? Here's a tutorial that shows how to add plotting to the system image (https://julialang.github.io/PackageCompiler.jl/dev/examples/...). You could setup a binary server for that and now the first time to plot is 0.4 seconds.

    Julia's arrays system is built so that most arrays that are used are not the simple Base.Array. Instead Julia has an AbstractArray interface definition (https://docs.julialang.org/en/v1/manual/interfaces/#man-inte...) which the Base.Array conforms to, and many effectively standard library packages like StaticArrays.jl, OffsetArrays.jl, etc. conform to, and thus they can be used in any other Julia package, like the differential equation solvers, solving nonlinear systems, optimization libraries, etc. There is a higher chance that packages depend on these packages then that they do not. They are only not part of the Julia distribution because the core idea is to move everything possible out to packages. There's not only a plan to make SuiteSparse and sparse matrix support be a package in 2.0, but also ideas about making the rest of linear algebra and arrays themselves into packages where Julia just defines memory buffer intrinsic (with likely the Arrays.jl package still shipped with the default image). At that point, are arrays not built into the language? I can understand using such a narrow definition for systems like Fortran or C where the standard library is essentially a fixed concept, but that just does not make sense with Julia. It's inherently fuzzy.

  • Cuda.jl v3.3: union types, debug info, graph APIs
    8 projects | news.ycombinator.com | 13 Jun 2021
    A fun fact is that the GPUCompiler, which compiles the code to run in GPU's, is the current way to generate binaries without hiding the whole ~200mb of julia runtime in the binary.

    https://github.com/JuliaGPU/GPUCompiler.jl/ https://github.com/tshort/StaticCompiler.jl/

Fortran-code-on-GitHub

Posts with mentions or reviews of Fortran-code-on-GitHub. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-22.
  • Fortran 2023 has been published
    9 projects | news.ycombinator.com | 22 Nov 2023
  • Any help or tips for Neural Networks on Computer Clusters
    5 projects | /r/fortran | 27 Feb 2023
    The hints in place ("there is more infrastructure already available outside Fortran, consider using them instead"). Beliavsky's compilation Fortran code on GitHub with its section about neural networks and machine learning still may be worth a visit e.g. how let Fortran reach out for the implementations in other languages.
  • Is Fortran good to program IA ?
    1 project | /r/fortran | 7 Nov 2022
    There is an interesting directories compiled about projects around Fortran, Fortran code on GitHub. Though artificial intelligence does not appear by name, section Neural networks and Machine Learning may provide an entry.
  • Directory of Fortran codes on GitHub, arranged by topic
    1 project | /r/fortran | 13 Aug 2022
  • how do you deal with not having common useful functions and data-structures that languages like c++ have?
    2 projects | /r/fortran | 21 Feb 2022
    My list of Fortran codes on GitHub has a section Containers and Generic Programming with some of the data structures you mention.
  • Why Fortran is easy to learn
    19 projects | news.ycombinator.com | 7 Jan 2022
    There's modern stuff being written in astro(nomy/physics) (I can attest to some of the codebases listed in https://github.com/Beliavsky/Fortran-code-on-GitHub#astrophy... being modern, at least in terms of development), but I'd say C++ likely does have the upper hand for newer codebases (unless things have changed dramatically last time I looked, algorithms that don't nicely align with nd-arrays are still painful in Fortran).

    I've also heard rumours of Julia and even Rust being used (the latter because of the ability to reuse libraries in the browser e.g. for visualisation), but the writers of these codebases (and the Fortran/C/C++/Java) are unusual—Python and R (and for some holdouts, IDL) are what are most people write in (even if those languages call something else).

  • Ask HN: What tools do people use for Computational Economics?
    1 project | news.ycombinator.com | 28 Dec 2021
    "QuantEcon:Open source code for economic modeling" https://quantecon.org/ has Python and Julia versions. The Federal Reserve uses Julia in its macroeconomic models: https://frbny-dsge.github.io/DSGE.jl/latest/ . Some economists use Fortran (which is much modernized since FORTRAN 77), and there is a 2018 book Introduction to Computational Economics using Fortran https://www.ce-fortran.com/ . Some Fortran codes in economics, statistics, and time series analysis are listed at https://github.com/Beliavsky/Fortran-code-on-GitHub .
  • Climate Change Open Source Projects on GitHub
    1 project | news.ycombinator.com | 15 Sep 2021
    At the "Fortran Code on GitHub" repo https://github.com/Beliavsky/Fortran-code-on-GitHub there are many codes listed in the "Climate and Weather" and "Earth Science" sections.
  • A simple string handling library for Microsoft Fortran-80
    2 projects | news.ycombinator.com | 26 Aug 2021
    Fortran 77 and later versions (most recently Fortran 2018) have strings. There is the limitation that the elements of an array of strings must have equal length, so that ["boy","girl"] is invalid but ["boy ","girl"] is. Libraries for manipulating strings in Fortran are listed at https://github.com/Beliavsky/Fortran-code-on-GitHub#strings .

What are some alternatives?

When comparing GPUCompiler.jl and Fortran-code-on-GitHub you can also consider the following projects:

KernelAbstractions.jl - Heterogeneous programming in Julia

stdlib - Fortran Standard Library

CUDA.jl - CUDA programming in Julia.

cmake-cookbook - CMake Cookbook recipes.

StaticCompiler.jl - Compiles Julia code to a standalone library (experimental)

dockcross - Cross compiling toolchains in Docker images

Vulkan.jl - Using Vulkan from Julia

fpm - Fortran Package Manager (fpm)

oneAPI.jl - Julia support for the oneAPI programming toolkit.

string - Microsoft FORTRAN-80 (F80) string handling library. Simple, fast, mostly FORTRAN.

LoopVectorization.jl - Macro(s) for vectorizing loops.

neural-fortran - A parallel framework for deep learning