Viewing profile — certik
certik
HN member- Joined
- Fri, Mar 22, 2019, 9:24 PM UTC
- HN karma
- 519
- Public activity
- 140 items
- HN profile
- View on Hacker News ↗
About certik
Recent public activity
-
comment
Comment #48912436
Great work, I am glad LFortran worked well for this work. We are very close to beta quality now, many codes just work, pretty much all Fortran features are implemented now, but som…
-
comment
Comment #48912397
We can internally do both row-major and column-major arrays. For Fortran we enable the column-major flag by default, but the door is open to have both at the same time.
-
comment
Comment #48513985
Just wanted to say big thanks to the maintainers, I've been using tectonic the last couple years as my only LaTeX distribution, works everywhere (including macOS), it's available i…
-
comment
Comment #47228292
I do come from the scientific community, so didn't know until today that not every community uses the term "codes".
-
comment
Comment #47228280
I haven't used vcpkg, but looking at their tutorial at https://learn.microsoft.com/en-us/vcpkg/get_started/get-star... , it seems you still have to use cmake, and if so, it is inde…
-
comment
Comment #47228226
No, you "only" have to write a backend. Which is still a lot of work, but much less work than another compiler. There are multiple ways it can be designed, but one idea that I like…
-
comment
Comment #47225402
Yes, that's one answer. But I actually think you can absolutely have both in the same compiler. But you need to have two backends, as I described. You use the custom backend for de…
-
comment
Comment #47225322
Author of LFortran here. LFortran is written in C++, because I knew I will be able to fully deliver the project in it. So I know C++ and Fortran very well. I can say for sure that …
-
comment
Comment #47225256
Author of the blog post. It's just being a non-native speaker and writing the blog post by hand shows these little mistakes. I've been using the terms "code" and "codes", but you m…
-
comment
Comment #47225196
Author of LFortran here. The historical answer is that both LFortran and Flang started the same year, possibly the very same month (November 2017), and for a while we didn't know a…
-
comment
Comment #43321069
It was a lot of corner cases that we had to get right, it's the most advanced code that LFortran can compile. I think none of the features individually is difficult to support, but…
-
comment
Comment #40534790
Does anyone know how many transistors were on each chip? The complete system of 28 chips had 74,442 transistors. From that it follows that some chip had at least 74,442 / 28 = 2,65…
-
comment
Comment #40415476
Beautiful! I would like to see more cursive handwriting fonts. Here is my contribution from 2 years ago: https://certik.github.io/slabikar-otf/
-
comment
Comment #39949410
We are progressing. We'll tackle parallel loops very soon, and get some GPU offloading working. Our main focus is still on just compiling Fortran codes via LLVM. Once we can compil…
-
comment
Comment #39949370
The LLVM backend just does the usual floating point calculation for those.
-
comment
Comment #39947158
Yes, I also like The Theoretical Minimum. Ha, I didn't realize there is more than one book! I think I only have the classical mechanics book. Need to buy the other ones. I tried to…
-
comment
Comment #39947094
Thank you!
-
comment
Comment #39947088
Thanks. Please report all bugs that you find. I talked to my collaborators, we'll try to get some simple demo of Fortran->LLVM->WASM working soon, we need to figure out the runtime…
-
comment
Comment #39947054
Nothing, we can compile x*3. We can't compile x**3, because we do not have a runtime library setup for WASM yet (Flang above had the same issue) and WASM can do x**2, but arbitrary…
-
comment
Comment #39945300
The author of LFortran here. The demo at https://dev.lfortran.org uses our direct WASM backend that does not use LLVM. It is currently more limited, and indeed, we currently do not…
-
comment
Comment #38383093
GFortran, Flang and LFortran are all open-source compilers that support modern Fortran.
-
comment
Comment #37303114
Awesome! Report all bugs. :)
-
comment
Comment #37302474
LFortran error messages style got inspired by Rust, and the Fortran Package Manager got inspired by Cargo. And in return Rust can get inspired by LFortran to do the interactive pro…
-
comment
Comment #37301340
Yes indeed, we'll do it next (unless somebody beats me to it). First I am focusing on compiling fastGPT with LFortran, we can do it, but have a few workarounds that I want to fix. …
-
comment
Comment #37301323
It can be both. If you know the dimension at compile time, it is compile time, if you don't it will be runtime.