Always private
DuckDuckGo never tracks your searches.
Learn More
You can hide this reminder in Search Settings
All regions
Argentina
Australia
Austria
Belgium (fr)
Belgium (nl)
Brazil
Bulgaria
Canada (en)
Canada (fr)
Catalonia
Chile
China
Colombia
Croatia
Czech Republic
Denmark
Estonia
Finland
France
Germany
Greece
Hong Kong
Hungary
Iceland
India (en)
Indonesia (en)
Ireland
Israel (en)
Italy
Japan
Korea
Latvia
Lithuania
Malaysia (en)
Mexico
Netherlands
New Zealand
Norway
Pakistan (en)
Peru
Philippines (en)
Poland
Portugal
Romania
Russia
Saudi Arabia
Singapore
Slovakia
Slovenia
South Africa
Spain (ca)
Spain (es)
Sweden
Switzerland (de)
Switzerland (fr)
Taiwan
Thailand (en)
Turkey
Ukraine
United Kingdom
US (English)
US (Spanish)
Vietnam (en)
Safe search: moderate
Strict
Moderate
Off
Any time
Any time
Past day
Past week
Past month
Past year
  1. Only showing results from swift.org

    Clear filter to show all search results

  2. For these reasons complex numbers are an important building block that most languages or standard libraries provide. C has _Complex, C++ has std::complex, Fortran and Python have complex numbers built right into the language core.I expect that once the Swift Numerics module has some use and we do a few iterations of building out its features, we'll propose part of it for inclusion in the ...
  3. forums.swift.org

    Context: I'm trying to call a complicated C function from Swift. The function is part of the unit testing of a C library (hence the motley crew of parameters). The library is only available as a dylib so I can't touch the C source and, to make matters interesting, the dylib was generated by a FORTRAN compiler and is a military product subject to export restrictions. This is the C signature of ...
  4. forums.swift.org

    Feb 12, 2023There are a lot of functions being called from the (Fortran) dynamic libraries and they are all made available to Swift by being 'wrapped' in code like I showed. The few hundred 'wrappers' are generated by a program so they are all almost exactly the same and as simple/small as possible, differing only in the function signatures being cast. ...
  5. forums.swift.org

    Fortran as my first PL. PL/I is a bit like riding a gigantic powerful motor cycle without much instruction from the start and without training wheels back then of course. Took some time to master PL/I (no screens let alone IDEs back then), however, with the great reward to be in control of one of the most powerful PLs on the planet.
  6. forums.swift.org

    Sep 21, 2024The vDSP API are as old as much of LAPACK (and have a similar Fortran legacy). They are very, very low-level operations that do not generally take advantage of any higher-level language features (and most vDSP operations do not have data-dependent failure modes that would merit throwing--e.g. summing two vectors only admits structural errors like a length mismatch, which are best enforced via ...
  7. forums.swift.org

    Right. Fortran (and languages that derive from it) give prefix -the same precedence as the binary -operator. Matlab and Octave and Julia give them different precedence, but give ^ greater precedence than prefix -. Languages that derive from C give all prefix operators higher precedence than all binary operators.
  8. Mar 20, 2024In the world of software development, the old adage "make it work, make it right, make it fast" serves as a guiding principle for creating robust, efficient applications. This journey starts with ensuring that our code functions as intended, a task where unit and integration testing have proven indispensable. However, ensuring functionality is only part of the equation. The true measure of ...
  9. forums.swift.org

    Dec 15, 2023HPC applications in atmospheric and climate research are usually written in Fortran (f90) or C/C++ and optimised for maximum efficiency with the support of the respective compiler developer. In recent years, Python and R have found their way into HPC models due to their ease of use - some HPC centres even host a Jupiter notebook node (caution, wet floor due to memory leaks ;)). This got me ...
  10. forums.swift.org

    They are external functions that can be accessed via Swift, C#, C, C++, Fortran, and all the other languages Windows supports. mohamedSulaiman (Mohamed Sulaiman Almarzooqi) December 18, 2021, 5:48am 5. Ok, Fixed by doing the following steps. Create a systemLibrary module, Should look like this Sources/ Cwindows_bind/ ...

    Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX