diff --git a/src/components/About.vue b/src/components/About.vue index aac3c4b..b11412b 100644 --- a/src/components/About.vue +++ b/src/components/About.vue @@ -43,7 +43,9 @@
Not bad huh? The things you see when everyone is asleep.
And this is my humble bike. It has taken me many places, and it's still going strong.
+And this is my humble bike. It has taken me many places, and it's still going strong. The odometer no longer works, + so I just use my FitBit Charge 5 instead. I've modeled and 3D printed the two orange bottle holders myself, on my + Original Prusa MK3S+.
\ No newline at end of file diff --git a/src/components/Fortran/Fortran_Hello_World.vue b/src/components/Fortran/Fortran_Hello_World.vue new file mode 100644 index 0000000..fb8887a --- /dev/null +++ b/src/components/Fortran/Fortran_Hello_World.vue @@ -0,0 +1,33 @@ + + + +
+program hello
+ implicit none
+ write(*,*) 'Hello world!'
+end program hello
+
+ With modern compilers, running the newest Fortran standards, write(*,*)
and print
+ will compile to the exact same assembly. So if you only need to print something to stdout, just use print
+ as it conveys the meaning of the code better. Plus we don't need the full functionality of write(*,*)
+ in this example.
+$ gfortran -o hello main.f90
+$ ./hello
+> Hello world!
+
+ Fortran is an interesting language. It's one of the older languages still in use to this very day.
+Fortran, which stands for Formula Translation, is indeed an interesting language with a rich history. As one of + the oldest programming languages still in active use today, it has played a significant role in shaping the + development of modern computing. First introduced in the 1950s by a team at IBM led by John Backus, Fortran was + designed specifically for scientific and engineering applications, where its ability to efficiently handle + complex numerical computations proved invaluable.
+ Over the years, Fortran has undergone numerous updates and revisions, with the most recent standard being Fortran + 2018. Despite the rise of newer languages like C++, Java, and Python, Fortran remains a popular choice in many + fields, including physics, chemistry, meteorology, and engineering, due to its performance. Even Nvidia and Intel + are still developing their compilers, as well as FOSS compilers such as gfortran and lfortran.
+Table of contents:
+
+
\ No newline at end of file
diff --git a/src/main.ts b/src/main.ts
index 5470033..fdf9169 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -8,6 +8,7 @@ import FortranIndex from "./components/Fortran/Fortran_Index.vue";
import PascalIndex from "./components/Pascal/Pascal_Index.vue";
import LispIndex from "./components/Lisp/Lisp_Index.vue";
import FortranReadingFiles from "./components/Fortran/Fortran_Reading_Files.vue";
+import FortranHelloWorld from "./components/Fortran/Fortran_Hello_World.vue";
const router = createRouter({
history: createWebHistory(),
@@ -16,6 +17,7 @@ const router = createRouter({
{path: '/About', name: 'About', component: About},
{path: '/Fortran', name: 'Fortran', component: FortranIndex},
+ {path: '/Fortran/HelloWorld', name: 'HelloWorld', component: FortranHelloWorld},
{path: '/Fortran/ReadingAFile', name: 'ReadingAFile', component: FortranReadingFiles},
{path: '/Pascal', name: 'Pascal', component: PascalIndex},