From 6b3711ca457057fb2045228a05ceca2c8efbcfb8 Mon Sep 17 00:00:00 2001 From: Miloslav Ciz Date: Sun, 27 Mar 2022 16:53:58 +0200 Subject: [PATCH] Update a bit --- c.md | 7 +++++++ floss.md | 2 +- forth.md | 4 ++-- free.md | 3 +++ libre.md | 3 +++ modern.md | 3 ++- pd.md | 3 +++ 7 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 free.md create mode 100644 libre.md create mode 100644 pd.md diff --git a/c.md b/c.md index 9aec910..0614617 100644 --- a/c.md +++ b/c.md @@ -41,6 +41,13 @@ So the standard library (libc) is a subject of live debate because while its int - [uclibc](uclibc.md) - [not using](dependency.md) the standard library :) +## Bad Things about C + +C isn't perfect, it was one of the first relatively higher level languages and even though it has showed to have been designed extremely well, some things didn't age great, or were simply bad from the start. We still prefer this language as usually the best choice, but it's good to be aware of its downsides or smaller issues, if only for the sake of one day designing a better version of C. + +TODO + + ## Basics A simple program in C looks like e.g. like this: diff --git a/floss.md b/floss.md index 281c305..f9191b7 100644 --- a/floss.md +++ b/floss.md @@ -1,3 +1,3 @@ # FLOSS -FLOSS is basically [FOSS](foss.md). \ No newline at end of file +FLOSS ([free](free_software.md) [libre](libre.md) and [open source](open_source.md)) is basically [FOSS](foss.md). \ No newline at end of file diff --git a/forth.md b/forth.md index 54d0de5..9889b5f 100644 --- a/forth.md +++ b/forth.md @@ -4,7 +4,7 @@ Forth is a based [minimalist](minimalism.md) stack-based untyped programming lan { It's kinda like usable [brainfuck](brainfuck.md). ~drummyfish } -It is usually presented as [interpreted](interpreter.md) language but may as well be [compiled](compiler.md), in fact it maps pretty nicely to [assembly](assembly.md). It can nicely be made [multithreaded](multithreading.md). +It is usually presented as [interpreted](interpreter.md) language but may as well be [compiled](compiler.md), in fact it maps pretty nicely to [assembly](assembly.md). There are several Forth standard, most notably ANSI Forth from 1994. @@ -36,7 +36,7 @@ Built-in words include: GENERAL: + add a b -> (a + b) -- substract a b -> (b . a) +- substract a b -> (b - a) * multiply a b -> (a * b) / divide a b -> (b / a) = equals a b -> (-1 if a = b else 0) diff --git a/free.md b/free.md new file mode 100644 index 0000000..c5b99b1 --- /dev/null +++ b/free.md @@ -0,0 +1,3 @@ +# Free + +In our community, as well as in the wider tech and some non-tech communities, the word free is normally used in the sense of [free as in freedom](free_software.md), i.e. implying freedom, not price. The word for "free of cost" is [gratis](gratis.md) (also *free as in beer*). To prevent this confusion the word *[libre](libre.md)* is sometimes used in place of *free*, or we say *free as in freedom*, *free as in speech* etc. \ No newline at end of file diff --git a/libre.md b/libre.md new file mode 100644 index 0000000..389815e --- /dev/null +++ b/libre.md @@ -0,0 +1,3 @@ +# Libre + +Libre is an alternative term for [free](free_software.md) (as in freedom). It is used to prevent confusion of *free* with *[gratis](gratis.md)*. \ No newline at end of file diff --git a/modern.md b/modern.md index 22600e5..d789752 100644 --- a/modern.md +++ b/modern.md @@ -16,4 +16,5 @@ And before you say "it was faster and longer on battery etc. because it was simp - **Old tech was much easier to modify and customize**, thanks to not being so overcomplicated and not containing so many anti-repair "features". - **Old tech was much more independent**, did not require Internet connectivity, subscription etc. - There was **minimum [bullshit](bullshit.md)**. True usefulness was more important than killer features to help marketing. -- Old tech was **simpler and more [fun](fun.md) to program**, allowing direct access to hardware, not complicating things with [OOP](oop.md) and similar [shit](shit.md), and so **old programmers were more [productive](productivity_cult.md)**. \ No newline at end of file +- Old tech was **simpler and more [fun](fun.md) to program**, allowing direct access to hardware, not complicating things with [OOP](oop.md) and similar [shit](shit.md), and so **old programmers were more [productive](productivity_cult.md)**. +- **Old "look n feel" of software was objectively better**. Just compare the graphics of [Doom](doom.md) and any shitty soulless "modern" game. \ No newline at end of file diff --git a/pd.md b/pd.md new file mode 100644 index 0000000..3df1057 --- /dev/null +++ b/pd.md @@ -0,0 +1,3 @@ +# PD + +PD stands for [public domain](public_domain.md). \ No newline at end of file