Search
Items tagged with: Fortran
One of the reasons I keep dropping hints about #perlffi , #pdl and #openmp is that one can literally have five multithreading frameworks in the same #perl application of a master process: 1) PDL, and FFI intefacing with 2) #Fortran coarrays, 3) Fortran openmp, 4) #c openmp and 5) #cplusplus #openmp. All these frameworks can share memory addresses for array and vector objects, and #perl aided by #PerlAlien makes the authoring of the high-level code a pleasure ! https://hgpu.org/?p=29403
submitted by /u/ReplacementSlight413
[link] [comments]
Optimizing the Weather Research and Forecasting Model with OpenMP Offload and Codee
Currently, the Weather Research and Forecasting model (WRF) utilizes shared memory (OpenMP) and distributed memory (MPI) parallelisms. To take advantage of GPU resources on the Perlmutter supercomp…hgpu.org
https://github.com/chrisarg/task-memmanager
GitHub - chrisarg/task-memmanager
Contribute to chrisarg/task-memmanager development by creating an account on GitHub.GitHub
I think I am 50% done finding a quadrafecta : a simultaneous hit piece against #Perl #clang #fortran & #rstats.
This one only manages to trash talk #perl and #rstats, so it has some ways to go.
https://stefanoborini.com/why-r-is-the-new-perl/
PS 1Gotta admit that the point about the object systems in R is somewhat spot on
PS 2 #php gets a dishonorable mention
PS3 I will continue to find ways to continue using all 4 of the aforementioned languages, as they are all performant and deliver in complementary ways.
Why R is the new Perl
I have the unfortunate experience of having to use R. I say this after more than a year of fighting against its deeply flawed design, tools, and documentation.Fly, Crash, Raise Exception
@Qbitzerre @mjgardner in an unrelated note, I wonder if one can use #perl to put some metaprogramming magic into C sources because the C preprocessor, is quite limited as far as generation tools are concerned https://mailund.dk/posts/macro-metaprogramming/
http://jhnet.co.uk/articles/cpp_magic
https://github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms
even with custom #pragma
https://sentido-labs.com/en/library/cedro/202106171400/
or non #perl implementations
https://github.com/eudoxia0/magma
#Assembly & #fortran would also be candidates for something like this ib #HPC and #datascience applications.
C Preprocessor tricks, tips, and idioms
A mini-preprocessor library to demostrate the recursive capabilites of the preprocessor - pfultz2/CloakGitHub
#Fortran feels no hurry: it was in the TIOBE Index Top 20 for 9 months in 2021 (the year it went back), 5 months in 2022, and already 7 months in 2023. A total of 21 months on the last 33 months (start from January 2021):
https://www.tiobe.com/tiobe-index/
The #Fortran-lang community is giving a new impulse:
https://fortran-lang.org/
And the Fortran 2023 standard should be published around October/November.
Well, Fortran is playing chess with Death for several decades now.
TIOBE Index - TIOBE
TIOBE index programming languages describes the monthly ranking of programming languages on popularity. Top 3 is Python, C, JavaTIOBE
@ChristosArgyrop Bad news, according to this “Make Use Of” #clickbait both #Rlang and #Perl are “heading for extinction” along with #VisualBasic (and #VBA), #Haskell, #Fortran, #COBOL, #ActionScript (the language in discontinued #AdobeFlash), and #Pascal: https://apple.news/A9sb4_KhEQoeIdeulO_zfgw
The text hedges the headline’s assertion for every entry above. And of course, it cites #TIOBE.
It’s also syndicated on #MSN, which has had, um, quality control problems lately: https://futurism.com/msn-ai-brandon-hunter-useless
Microsoft Publishes Garbled AI Article Calling Tragically Deceased NBA Player "Useless"
Microsoft's MSN news portal published a garbled, seemingly AI-generated article that derided Hunter as "useless" in its headline.Victor Tangermann (Futurism)
Has its limitations, but a couple of points worth noting :
1. #COBOL and #FORTRAN are holding rather well
2. languages that are involved in some sort of data analysis and processing (#sql, #clang /c++) are doing very well. Not sure what to make of #Python; are ppl in #AI seeing through the reality is a scripting over extremely performant c/c++ and that there are other lang that can glue as well?
#golang & #Julia are ⬆️
• https://blogs.perl.org/users/graham_ollis/2015/01/practical-ffi-with-platypus.html
• https://blogs.perl.org/users/graham_ollis/2017/06/the-many-ways-to-use-alien.html•
• https://blogs.perl.org/users/graham_ollis/2019/11/platypus-next-generation.html
• https://blogs.perl.org/users/graham_ollis/2019/11/bundling-with-platypus.html
• https://blogs.perl.org/users/graham_ollis/2019/12/constant-platypus.html
#Perl #FFI #libffi #PerlXS #C #Cpp #Go #GoLang #Rust #RustLang #Pascal #Fortran
Lead #developer @plicease has spoken about it at various #conferences, so I thought I’d collect those in a playlist: https://youtube.com/playlist?list=PLiVJP3JFs2nC6GJwCYJRpo8LacwQ18m89
More info: https://pl.atypus.org or follow @PerlFFI
#libffi #PerlXS #C #Cpp #Go #GoLang #Rust #RustLang #Pascal #Fortran
Graham Ollis on Perl and FFI
A collection of presentations on using the Foreign Function Interface with the programming language Perl by the developer of the FFI::Platypus library For mo...YouTube
With @PerlFFI's ability to build Perl extensions in C, C++, #Rust, #GoLang, #Pascal (!), #Fortran (!!), and even #assembly (!!!), you can plug just about any high-performance code into Perl.
#programming #coding #SoftwareDevelopment