fypp

Python powered Fortran preprocessor (by aradi)

Fypp Alternatives

Similar projects and alternatives to fypp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better fypp alternative or higher similarity.

fypp reviews and mentions

Posts with mentions or reviews of fypp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-24.
  • Faer-rs: Linear algebra foundation for the Rust programming language
    8 projects | news.ycombinator.com | 24 Apr 2024
    most of it's just general programming niceness. If you have to spend a few hours to wrestle with make/bazel/etc every time you need to reach for a dependency, you don't depend on things and have to rewrite them yourself. If your programming language doesn't have good ways of writing generic code, you either have to write the code once per precision (and do all your bugfixes/perf improvements in triplicate) or do very hacky metaprogramming where you use Python to generate your low level code (yes the Fortran people actually do this https://github.com/aradi/fypp), or use the C preprocesser which is even worse.
  • what are some painful issues you face while coding in fortran?
    3 projects | /r/fortran | 14 Feb 2022
    Please don't use #define in Fortran. It is not standard compliant. There is no guarantee that anything will ever be done about a # symbol in your code. There is no Fortran preprocessor (though there are a few open projects example). Also, if you're working with Fortran developers they'd expect to see integer. Also, we don't have the same guarantees of variable sizes like in C soF64andI32may be misleading unless you're usingISO_C_BINDING` or similar.
  • How do I reduce my code size when creating my own type?
    1 project | /r/fortran | 22 Jun 2021
    If you really really need to reduce code size for future projects, you might want to use preprocessors like FYPP. It basically insert code snippets at specified points in your code. It's also very helpful for automating the copy-pasting of redundant codes.
  • Tips for generic programming
    1 project | /r/fortran | 14 Jun 2021
    If you are fine with using a preprocessor, you could use Fypp for example instead of include files.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 5 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic fypp repo stats
4
178
4.9
24 days ago

aradi/fypp is an open source project licensed under BSD 2-clause "Simplified" License which is an OSI approved license.

The primary programming language of fypp is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com