![simply fortran twitter simply fortran twitter](https://pbs.twimg.com/media/EIxqKK-WoAM6SQN.png)
But other than that, it’s still a very nice solution.”īut there were even more significant differences, mostly because Hoekstra is a fan of array programming languages. With Rust, Hoekstra complained that, like C++, there’s “a lot of ceremony here” - in this case because the min and max functions require both the iter() method to actually iterate through each value in the list of numbers, and also the unwrap() method to extract just the value from Rust’s more complex enumerated Result type (which includes error handling information).Īnd, Hoekstra, noted: “there’s also a lot of noise in the num::integer:: namespace in order to get access to the gcd function. Said the host, “This is really, really nice, in my opinion.” The low-level D programming language requires that the functions be imported - but at least that language uses universal functional call syntax, which lets functions be called using the familiar “method” style of object-oriented programming. Its liftM2 function basically maps the values from minimum and maximum into the input for the gcd function - all in a single line.Īnd best of all, since Haskell used so-called Tacit or point-free style programming, which doesn’t specify arguments in its function definitions, the Haskell solution didn’t even need to mention the array of numbers… Python already has built-in functions for all the necessary operations - for finding the smallest number, the largest number, and then the “greatest common divisor” that they share.īut things really started looking different when Hoekstra got to the functional language Haskell.
![simply fortran twitter simply fortran twitter](http://simplyfortran.com/static/screenshots/3264.png)
![simply fortran twitter simply fortran twitter](https://yatra8exe7uvportalprd.blob.core.windows.net/images/products/HighStDonated/Zoom/HD_200238280_01.jpg)
The little differences quickly became apparent. Hoekstra called it “a pretty straightforward problem, but you’ll soon see, especially when we get to the array languages, that you can solve these in a drastically different way than compared to languages like Python or Ruby.” Jeff Hammond asuu nyt Suomessa ?? August 25, 2021 By the laws of the internet, you must include Fortran. I can’t help but notice that this reply has the most likes. “I tweeted this out and asked my followers,” Hoekstra said, and Fortran received “a whopping 27 ‘hearts’ on a single tweet!”) (The video explained that the last two languages were last-minute additions chosen by Hoekstra’s audience online. To explore 16 programming languages, Hoekstra chose a relatively simple problem from a LeetCode coding competition: Given a list of numbers, identify the smallest and largest number - and then find the largest number that can be divided into both of them (without a remainder). Open 1 Problem, 16 Programming Languages (C++ vs Rust vs Haskell vs Python vs APL…) on YouTube.
![simply fortran twitter simply fortran twitter](https://dashboard.snapcraft.io/site_media/appmedia/2018/03/aplot-linux.png)
Hoekstra also co-hosts a podcast about array-oriented programming languages and another one about programming-related topics like algorithms and data structures.īut for this YouTube channel, he reviews the solutions from coding contests like LeetCode, HackerRank, Topcoder and Codeforces - and also creates videos about related programming topics like data structures, algorithms and complexity (which were likely to prove useful in those competitions).
SIMPLY FORTRAN TWITTER SOFTWARE
It’s the work of Conor Hoekstra, a senior library software engineer at NVIDIA (working on its RAPIDS suite for data science and analytics pipelines) who’s also held roles at Amazon and Moody’s Analytics. The big event happened on code_report, a YouTube channel “dedicated to competitive programming”. But for at least one of the languages, it also turned into a demonstration of the power of a community. It was a fun demonstration of just how many choices there are in the complex world of programming languages today. A video blogger recently tackled the same programming problem using 16 different languages, giving viewers a chance to see a wide variety of results, share their own suggestions, and learn about programming languages along the way.