- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For what it is worth, I have created a Fortran based static library that can provide interprocess communication access via the JSON RPC 2.0 protocol. This of course was created using Intel's IFX compiler. The source code can be found here on GitHub:
https://github.com/7LConsultingLLC/Fortran-JSON-RPC-2.0-static-library---proof-of-concept
In addition to implementing the JSON RPC 2.0 standard for Fortran, the project also uses Windows named pipes for interprocess communication between a running Fortran server program and a Visual Basic.NET client program. I created this just as an alternative way to transfer both data and communications (messages and notifications) bi-directionally between a running Fortran program (not a library) and a running .NET language program. Check it out, it may not be eloquent, but hey, it works! The demo program has examples of various methods of communication, and allows the running Fortran program to send status messages to the VB.NET client program. The VB.NET client program can also either STOP or PAUSE/RESUME the running Fortran server program.
Perhaps someone can use the basic concepts in a current or future project. At the time of development (2nd Q 2026), my research indicated that there was no support for implementing the JSON RPC 2.0 standard for Fortran, let me know if this is incorrect. Also have not seen examples of Fortran programs using Windows named pipes for interprocess communication, so this is an interesting alternative to a main program in C or other language calling a Fortran library.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please consider posting about your work, which looks very useful on Windows OS, also at the Fortran Discourse site:
https://fortran-lang.discourse.group/
Also, please look into making your code work with other Fortran processors beside Intel IFX e.g., gfortran and LFortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page