Fortran.io – a Fortran Web Framework
231–240 of 255 posts
Re: Fortran.io – a Fortran Web Framework
#232Earlier quoted context omitted.
IIRC, most people who use Fortran use it because there are extremely specialized physics libraries (or astronomy, or chemistry, and so on) that were probably written three to four decades ago by an extremely intelligent PhD student who lacks a proper programming background. Which suggests that the biggest source of horror would be that most code you'll come across was written by a non-programmer who is intelligent en…
I like it when some of my colleagues use Fortran, because their code in other languages is even more horrible. BTW, the 'non-programmer' you seem to not think much of probably used an RPN calculator. Food for thought.
If what I wrote lead to that as your main take-away, then I apologize for expressing myself badly, because nothing could be further from the truth! I studied physics myself at one point, and base this on conversations with friends who (unlike me) didn't drop out. Specifically, those who were asked by their professor to update old libraries during their PhD thesis.
Re: Fortran.io – a Fortran Web Framework
#233Earlier quoted context omitted.
Yes this brand new Fortran web framework may not be suitable for production use yet.
It doesn't say that anywhere on the site or their github page.
Re: Fortran.io – a Fortran Web Framework
#234Just because? Why not spend all these coding months to help humanity somehow
Re: Fortran.io – a Fortran Web Framework
#235Also see COBOL on Cogs, http://www.coboloncogs.org/INDEX.HTM
Pascal web framework?
http://www.fastplaz.com/ https://github.com/risoflora/brookframework
Re: Fortran.io – a Fortran Web Framework
#236Earlier quoted context omitted.
It doesn't say that anywhere on the site or their github page.
This just in: Most open source is provided as-is and it's up to you to assess it's quality and production readiness.
This is quite frankly nonsense. You have released the software to the wider world it is your responsibility to make sure it is decent. Just because you have released it for free doesn't suddenly mean you can avoid criticism.
SQL injection is such a basic thing to check there is really no excuse.
Re: Fortran.io – a Fortran Web Framework
#237Earlier quoted context omitted.
Well, things like... you have 2, 2 dimensional arrays of the same size, A and B. You want to make a new array, where each cell in A is added to the same cell in B. So you are going to do a loop over 2 variables, right? in FORTRAN the code is... C = A + B in Julia the code is C = A .+ B
That's what I do in C++ with Eigen or boost::ublas or any other library. Operator overloading is not a feature limited to Fortran. Fortran gets its performance from prohibition of aliasing, which is something that C++ admits as per the standard. One could enable the same performance boosts with a non standard compiler flag, but this breaks a lot of codebases, including the Linux kernel AFAIK. Aliasing is a pox upon t…
But more generic array slicing with strides seems to get nasty in Eigen. For example if
v2 = v(1:2:20)
is Map > v2(v.data(), v.size()/2);
in Eigen, I don't want to read the docs for how to do the same for 2- or 3-dimensional arrays.https://eigen.tuxfamily.org/dox/group__TutorialReshapeSlicin...
Re: Fortran.io – a Fortran Web Framework
#238Earlier quoted context omitted.
Speakers of French, Spanish, Italian, Portuguese, Romanian, Catalan, and various other lesser-known languages and dialects. All of these are directly descended from Latin in exactly the same way that today's English is descended from 1900s English, just over a longer period.
I studied (classical, not ecclesiastical) Latin for about 8 years, and I don't think it's accurate to claim that the Romance languages are in any meaningful sense "Latin". The weaker (and more reasonable) claim is that learning Latin improves your ability to recognize words and (very basic) structures in its descendants.
http://ancientgraffiti.org/about/ is an excellent resource specifically for Herculaneum and Pompeii, but it also links to broader collections to which the project has contributed.
There are interesting aspects of graffiti throughout the Roman Empire. Children (or exceptionally short adults) practised writing on walls; some taller people's graffiti showed not just literacy but familiarity with Virgil and even decent command of Greek and other second languages. Conversely, numerous graffiti are supporting evidence for partial Latin literacy among speakers of other languages, even among celtic-language informal epigraphers in the west and northwest in the first decades CE. It seems likely that these influences "accented" day-to-day Latin, perhaps comparably to https://en.wikipedia.org/wiki/Singlish .
A couple of centuries later and one could see a clear split between the classical register and early Vulgar Latin. Appendix Probi is interesting, and some examples are listed at https://en.wikipedia.org/wiki/Vulgar_Latin#Evidence_of_chang... which also draws some comparisons with Romance languages. (cf. https://en.wikipedia.org/wiki/Appendix_Probi )
Re: Fortran.io – a Fortran Web Framework
#239I honestly am not too sure why there is so much derision regarding Fortran (ageism?). A lot of people don't seem to realize the importance this language still has in scientific computing.
Seems that many CS folks don't think much of Fortran because their programming languages survey course professor made fun of Fortran 77. Fortran has moved on, even if you professor hasn't.
I know of 4 major languages created in the 1950's: Lisp, Algol, Fortran, and Cobol. Lisp and Algol were brilliantly designed, years ahead of their time, and have inspired nearly every programming language since then. Fortran and Cobol not only look like evolutionary dead ends in hindsight, but they weren't pleasant to use even when they were popular.
There's a reason we still see Lisp posts on HN almost every day, and very rarely Fortran posts.
Re: Fortran.io – a Fortran Web Framework
#240Earlier quoted context omitted.
Latin and the Romance languages are indeed very different, but their similarities are much stronger than just vocabulary. The Romance languages have lost noun cases and gained prepositions, fixed word order, and definite articles, but they retain noun genders (though without neuter), remnants of the case system in pronouns ("je", "me", "moi"), many of the same verb tenses, and the subjunctive/indicative moods, to giv…
The difference between Beowulf English vs modern English and say Italian vs Latin is not the same at all