News for hackers. Stuff that matters.
Re:DiscoBSD: 2.11BSD-Based OS for STM32 and PIC32 Microcontr... by unwind on Friday January 20, 2023 @03:44AM (#34450497)
Wow this is really cool! Seems to use flash and some ram for the kernel, and run userspace code from ram.

But iiih it's K&R C:

    long
    strtol(nptr, endptr, base)
      const char *nptr;
      char **endptr;
      register int base;
    {
Is this expected given the heritage? I know nothing about BSDs basically.

Edit: code formatting.

Re:DiscoBSD: 2.11BSD-Based OS for STM32 and PIC32 Microcontr... by nix23 on Friday January 20, 2023 @04:44AM (#34450839)
It's based on BSD 2.11, released in 1991 ;)

https://en.wikipedia.org/wiki/Berkeley_Software_Distribution...

Re:DiscoBSD: 2.11BSD-Based OS for STM32 and PIC32 Microcontr... by pjmlp on Friday January 20, 2023 @05:52AM (#34451305)
To make it even more explictly how much it took for UNIX world to catch up with ANSI/ISO C89, while coding on HP-UX 11 back in 1999 - 2001, I still had to write K&R C as the aC compiler installed on the system wasn't fully compliant.