Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
certik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
certik
6y ago
LFortran author here. There is a Python prototype version that you can see in the notebook and it has very limited support for arrays. I stopped spending more time on it once I got further enough to validate that the idea works. And I am no
122.
▲
by
certik
6y ago
LFortran author here. As kergonath said below, both "new" Flang that you linked above, and LFortran started at about the same time. I know the Flang developers well and I am hoping we'll be able to collaborate in the future m
123.
▲
by
certik
6y ago
One of the authors of stdlib here. I agree with many of your points. Fortran needs a good compiler, that is why I started LFortran some time ago: https://lfortran.org/blog/2019/04/why-we-created-lfortran/
124.
▲
by
certik
6y ago
I am one of the authors. We will pre-generate the files into a tarball, so that end users do not have to worry about generating it or have Python installed. Also we'll probably rewrite the preprocessing tool to C++ for robustness and s
125.
▲
by
certik
6y ago
We are building a curated list of all open source Fortran libraries here: https://fortran-lang.org/packages/
126.
▲
by
certik
7y ago
I submitted this PR long time ago: https://github.com/dagwieers/dstat/pull/50 that fixed an important installation issue, and it took the author 5 months to look at it and simply close it without providing an
127.
▲
by
certik
7y ago
The main advantage of this approach is that you can use any C++ compiler and the library (in this case Eigen) will work. The disadvantage of this approach is that the code is incomprehensible to average scientists, you must spend a lot of e
128.
▲
by
certik
7y ago
One of LFortran authors here. Yes, we already have an open issue for exactly this: https://gitlab.com/lfortran/lfortran/issues/42 . As you can read there, it's actually not that easy as I first thought. B
129.
▲
by
certik
7y ago
The best open source implementation is GFortran. Just make sure you use a recent version, as others mentioned. Regarding commercial implementations, I only have experience with Intel and NAG, both of which are very good.
130.
▲
by
certik
7y ago
No worries. Yes, ultimately down the road in couple years, if there is some agreed upon way of extending Fortran to handle GPU well, the best way is to get it into the Fortran standard itself, that way all compilers will eventually support
131.
▲
by
certik
7y ago
Yes, I was planning to start with what NumBa ( http://numba.pydata.org/ ) is doing, they also use the LLVM PTX backend. There is a really promising new project by Chris Lattner (the original author of LLVM) called MLIR: http
132.
▲
by
certik
7y ago
One of LFortran authors here. You raised a good point. I would say for numerical computing, if performance is an issue, the best candidates are C++, Julia, Chapel and Fortran. Each has pros and cons, I am going to post a blog post about tha
133.
▲
by
certik
7y ago
One of LFortran authors here. You have a very good point. We are going to publish a new blog post answering this exact question. In the meantime, others in this thread pretty much hit all the main points already why Fortran as a language is
134.
▲
by
certik
7y ago
I am one of LFortran authors. We just open sourced it recently. Do you have any recommendations if we should create a mailinglist, or rather use something like Discourse? Or both. Right now if you have any questions, you can open an issue a
135.
▲
by
certik
7y ago
I am one of the LFortran authors. Can you please point me to some documentation or examples where Intel Fortran is used to offload to, say, NVIDIA GPUs? I don't think it supports it yet. PGI and IBM support CUDA Fortran, other compiler
136.
▲
by
certik
7y ago
Regarding the fixed-form parser, I think that's a good idea. I just created an issue for it: https://gitlab.com/lfortran/lfortran/issues/82 . I see what you mean --- that's just a for loop. I created
137.
▲
by
certik
7y ago
> Does it support "intersection format"? It doesn't yet. Are you interested in this for parsing or for code generation? If for code generation (i.e., LFortran parses your Fortran code, and then generates a Fortran code bac
138.
▲
by
certik
7y ago
I am one of the authors, I am happy to answer any questions.
139.
▲
by
certik
8y ago
I just opensourced LFortran that provides a REPL for Fortran, among other things: https://gitlab.com/lfortran/lfortran , only a subset of Fortran is supported for now, but it's a start. Here is a demo in a Jupyter