soc.octade.net is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Admin email
social@octade.net

Search results for tag #c

screwlisp boosted

[?]screwlisp » 🌐
@screwlisp@gamerplus.org

@prahou @bagder @kentpitman

Stenberg's toot of our one hour live discussion is over here:
mastodon.social/@bagder/116550
whom we should too ! Along with this incredible crossstitch: mastodon.social/@bagder/112313

Lispy gopher climate w/ screwlisp w/ Daniel Stenberg of curl banner. @bagder is drawn as a badger. The gopher and lisp alien are in the background. Listen to the interview. #unix_surrealism (analognowhere.com)

Alt...Lispy gopher climate w/ screwlisp w/ Daniel Stenberg of curl banner. @bagder is drawn as a badger. The gopher and lisp alien are in the background. Listen to the interview. #unix_surrealism (analognowhere.com)

    [?]Thalia Archibald » 🌐
    @thalia@discuss.systems

    At the time, C was rapidly evolving into what we recognize today.

    It started as B, an untyped and interpreted language that only had one kind of value, a word. This was a perfect fit for the PDP-7 that UNIX started on, with 18-bit words, but as they transitioned to the PDP-11, with 16-bit words and 8-bit addressing, this became a limitation.

    Soon, types were added, to distinguish char, int, and pointers, and it became known as NB ("New B"). But, B wasn't particularly fast, as it was interpreted (well, threaded).

    Once it was rewritten to be compiled, the language became known as C (perhaps initially as NC). For a short while, everything in C was an lvalue like B, giving the above snippet, but this was dropped a few months later, presumably for efficiency.

    Some UNIX utilities had been written in B/C from the start, but efforts to rewrite the kernel itself in B/C had failed. Finally, once structs were added to C, it was powerful enough to support the kernel and it was rewritten in C over the summer of 1973, culminating in the release of UNIX V4.

      [?]Thalia Archibald » 🌐
      @thalia@discuss.systems

      A cursed feature of C in 1972: Labels and functions were reassignable (i.e., lvalues)!

      For example, this is a clever way to initialize once:

      goto init;
      init:
      ouptr = oubuf;
      init = init1;
      init1:

      which is compiled to:

      jmp *4120
      mov 4136,4144
      mov 4122,4120

      Note the indirect jump and assignment to that address. This apparently would have also worked with functions.

        [?]Ivan Enderlin 🦀 » 🌐
        @hywan@floss.social

        SectorC: A C Compiler in 512 bytes, xorvoid.com/sectorc.html.

        Yup.

          [?]Profoundly Nerdy » 🌐
          @profoundlynerdy@bitbang.social

          I'm looking for a modern introduction to . Something that is slow and steady but through. This is as much for systems programming on Linux as embedded work; I intend to do a bit of both. Any suggestions would be helpful.

            [?]éric 🚲 🇪🇺 :emacs: » 🌐
            @ericsfraga@fediscience.org

            Excellent article, by Blain Smith (@blainsmith), on the need for a broader education, especially for computer programmers:

            blainsmith.com/essays/humaniti

            Thanks to Sacha Chua (@sacha) for including this in her most recent weekly Emacs news post.

            Edit: proper links for people mentioned.

              [?]Hacker News » 🤖 🌐
              @h4ckernews@mastodon.social

              [?]occult » 🌐
              @occult@vox.ominous.net

              Oh, this is good...

              From UNIX World, 1985: "It finds the subtle bugs in my C programs" - Claude B. Finn.

              40 years later, people are using Claude to find bugs in programs. What's old is new again.

              Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

              Alt...Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

              Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

              Alt...Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

                [?]Nelson Lopez [he/him, el] » 🌐
                @nelson@wetdry.world

                [?]Profoundly Nerdy » 🌐
                @profoundlynerdy@bitbang.social

                What is the best book you've ever read on C portability issues and other C foot guns?

                  [?]Lobsters » 🤖 🌐
                  @lobsters@mastodon.social

                  [?]Lobsters » 🤖 🌐
                  @lobsters@mastodon.social

                  screwlisp boosted

                  [?]screwlisp » 🌐
                  @screwlisp@gamerplus.org

                  screwlisp.small-web.org/fundam

                  > (integrate '(tan x) 'x 0 1)
                  (* -1 (LOG (COS 1)))
                  > '(1 2 3 4)
                  (1 2 3 4)
                  > (coerce * '(SIMPLE-ARRAY (COMPLEX DOUBLE-FLOAT) (*)))
                  #((1.0 0.0) (2.0 0.0) (3.0 0.0) (4.0 0.0))
                  > (maxima-fft:fft-r2-nn *)
                  #((2.5 0.0) (-0.5 -0.5) (-0.5 0.0) (-0.5 0.5))

                  I guess but current was August, so.

                  Also have a note about Kent demoing his implementation of his-ansi-cl style error handling introduced to python.

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    [?]Lobsters » 🤖 🌐
                    @lobsters@mastodon.social

                    Practical Security in Production Hardening the C++ Standard Library at massive scale lobste.rs/s/yuwqaq ++
                    queue.acm.org/detail.cfm?id=37

                      [?]Lobsters » 🤖 🌐
                      @lobsters@mastodon.social

                      [?]Lobsters » 🤖 🌐
                      @lobsters@mastodon.social

                      [?]Lobsters » 🤖 🌐
                      @lobsters@mastodon.social

                      [?]Lobsters » 🤖 🌐
                      @lobsters@mastodon.social

                      [?]Lobsters » 🤖 🌐
                      @lobsters@mastodon.social

                      [?]Lobsters » 🤖 🌐
                      @lobsters@mastodon.social

                      The Linux Kernel Looks To "Bite The Bullet" In Enabling Microsoft C Extensions lobste.rs/s/3vyjzk
                      phoronix.com/news/Linux-6.19-P

                        [?]Lobsters » 🤖 🌐
                        @lobsters@mastodon.social

                        [?]Lobsters » 🤖 🌐
                        @lobsters@mastodon.social

                        Challenges and Benefits of Upgrading Sea of Thieves From C++14 to C++20 lobste.rs/s/ghkvqm ++
                        youtube.com/watch?v=Nm9-xKsZoNI

                          [?]Lobsters » 🤖 🌐
                          @lobsters@mastodon.social

                          [?]Lobsters » 🤖 🌐
                          @lobsters@mastodon.social

                          [?]Lobsters » 🤖 🌐
                          @lobsters@mastodon.social

                          [?]Lobsters » 🤖 🌐
                          @lobsters@mastodon.social

                          Recursive macros in C, demystified (once the ugly crying stops) lobste.rs/s/qxwozm ++
                          h4x0r.org/big-mac-ro-attack/

                            [?]Lobsters » 🤖 🌐
                            @lobsters@mastodon.social

                            Comparing C++/Qt Data Serialization Formats: Code, Size, and Performance lobste.rs/s/0zssdw ++
                            qt.io/blog/comparing-data-seri

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              [?]Lobsters » 🤖 🌐
                              @lobsters@mastodon.social

                              Back to top - More...