Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Hare

Hare

Scheduled Pinned Locked Moved The Lounge
combusinessquestion
19 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Paul Sanders the other one

    Anyone see this: [Heresy: Hare programming language an alternative to C • The Register](https://www.theregister.com/2022/04/26/hare\_c\_software)? Looks interesting, I wonder if it will gain any 'traction'.

    Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

    J Offline
    J Offline
    jeron1
    wrote on last edited by
    #6

    I don't think so, you know what they say,

    They:

    Hare today, gone tomorrow...

    I'll get my coat.

    "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

    P 1 Reply Last reply
    0
    • Greg UtasG Greg Utas

      If I were going to write an O/S, I'd use C++. Sure, maybe much of an O/S doesn't need objects, templates, and exceptions, but it's good to have them at hand when using them is appropriate. I can see why going down those ratholes is something that the designer of a "close to the metal" language chose to avoid. But because of that, pass.

      Robust Services Core | Software Techniques for Lemmings | Articles
      The fox knows many things, but the hedgehog knows one big thing.

      K Offline
      K Offline
      k5054
      wrote on last edited by
      #7

      Greg Utas wrote:

      If I were going to write an O/S, I'd use C++

      I have a very vague and fuzzy memory that there were plans to rewrite some version of Unix in C++. This would probably have been back in the days of the old ["cfront"](https://en.wikipedia.org/wiki/Cfront), and I think the effort collapsed under the additional weight of the technology as it was then. It would be interesting if that effort had succeeded.

      Keep Calm and Carry On

      Greg UtasG CPalliniC 2 Replies Last reply
      0
      • K k5054

        Greg Utas wrote:

        If I were going to write an O/S, I'd use C++

        I have a very vague and fuzzy memory that there were plans to rewrite some version of Unix in C++. This would probably have been back in the days of the old ["cfront"](https://en.wikipedia.org/wiki/Cfront), and I think the effort collapsed under the additional weight of the technology as it was then. It would be interesting if that effort had succeeded.

        Keep Calm and Carry On

        Greg UtasG Offline
        Greg UtasG Offline
        Greg Utas
        wrote on last edited by
        #8

        Maybe that was in the day where templates, exceptions, and RTTI had enough overhead that Embedded C++ didn't support them. Their overhead is probably still too much for a toaster, but they shouldn't be a problem in most of today's systems.

        Robust Services Core | Software Techniques for Lemmings | Articles
        The fox knows many things, but the hedgehog knows one big thing.

        <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
        <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

        1 Reply Last reply
        0
        • D David ONeil

          It seems to me that organizing the code by objects, even if they were static, which is essentially the equivalent of C code, would be a great help. And namespaces too!

          Our Forgotten Astronomy | Object Oriented Programming with C++

          Greg UtasG Offline
          Greg UtasG Offline
          Greg Utas
          wrote on last edited by
          #9

          Forgot about namespaces. Yes indeed.

          Robust Services Core | Software Techniques for Lemmings | Articles
          The fox knows many things, but the hedgehog knows one big thing.

          <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
          <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

          1 Reply Last reply
          0
          • J jeron1

            I don't think so, you know what they say,

            They:

            Hare today, gone tomorrow...

            I'll get my coat.

            "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

            P Offline
            P Offline
            Paul Sanders the other one
            wrote on last edited by
            #10

            Yes, do :)

            Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

            1 Reply Last reply
            0
            • K k5054

              Greg Utas wrote:

              If I were going to write an O/S, I'd use C++

              I have a very vague and fuzzy memory that there were plans to rewrite some version of Unix in C++. This would probably have been back in the days of the old ["cfront"](https://en.wikipedia.org/wiki/Cfront), and I think the effort collapsed under the additional weight of the technology as it was then. It would be interesting if that effort had succeeded.

              Keep Calm and Carry On

              CPalliniC Offline
              CPalliniC Offline
              CPallini
              wrote on last edited by
              #11

              Did they also try to rewrite the Linux kernel? Linus Torvalds on C++[^]. :-D

              "In testa che avete, Signor di Ceprano?" -- Rigoletto

              In testa che avete, signor di Ceprano?

              T P 5 Replies Last reply
              0
              • P Paul Sanders the other one

                Anyone see this: [Heresy: Hare programming language an alternative to C • The Register](https://www.theregister.com/2022/04/26/hare\_c\_software)? Looks interesting, I wonder if it will gain any 'traction'.

                Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

                P Offline
                P Offline
                PIEBALDconsult
                wrote on last edited by
                #12

                Were I to learn a new language, it would likely be D. Unfortunately, my boss wants me to learn Python. :sigh:

                1 Reply Last reply
                0
                • CPalliniC CPallini

                  Did they also try to rewrite the Linux kernel? Linus Torvalds on C++[^]. :-D

                  "In testa che avete, Signor di Ceprano?" -- Rigoletto

                  T Offline
                  T Offline
                  trønderen
                  wrote on last edited by
                  #13

                  There were dozens of Unixes before Linux! I remember one gathering of representatives for different Unix variants (I didn't participate - I was still a student then) when it was remarked that they were missing one variant: There were 31 of them. Then someone pointed out that computer guys love to start counting from zero, so 31 is actually a rounder number than 32 :-) My memory is not able to date this, relative to the arrival of C++. Maybe C++ wasn't a viable alternative at that time. But quite a few of those 31 Unix variants lived for many years after C++ became popular - a few are alive even today. It took quite a few years for Linux to grow from a "toy

                  P 1 Reply Last reply
                  0
                  • CPalliniC CPallini

                    Did they also try to rewrite the Linux kernel? Linus Torvalds on C++[^]. :-D

                    "In testa che avete, Signor di Ceprano?" -- Rigoletto

                    T Offline
                    T Offline
                    trønderen
                    wrote on last edited by
                    #14

                    There were dozens of Unixes before Linux! I remember one gathering of representatives for different Unix variants (I didn't participate - I was still a student then) when it was remarked that they were missing one variant: There were 31 of them. Then someone pointed out that computer guys love to start counting from zero, so 31 is actually a rounder number than 32 :-) My memory is not able to date this, relative to the arrival of C++. Maybe C++ wasn't a viable alternative at that time. But quite a few of those 31 Unix variants lived for many years after C++ became popular - a few are alive even today. It took quite a few years for Linux to grow from a "toy" clone to become even a significant competitor to the non-FOSS Unix variants, and even longer to become the dominant *nix. I, too, have heard about these proposals to rewrite Unix (not Linux) in C++. It is so long ago that Linux was far away from the dominance it has today. Another thing is that although we may be entertained by Linus' rant, this style of arguing (which is not atypical for the source ...) is part of the reason why Linux was not taken to be a "serious" OS in its first years. (Note that the rants are 15-18 years old.)

                    1 Reply Last reply
                    0
                    • T trønderen

                      There were dozens of Unixes before Linux! I remember one gathering of representatives for different Unix variants (I didn't participate - I was still a student then) when it was remarked that they were missing one variant: There were 31 of them. Then someone pointed out that computer guys love to start counting from zero, so 31 is actually a rounder number than 32 :-) My memory is not able to date this, relative to the arrival of C++. Maybe C++ wasn't a viable alternative at that time. But quite a few of those 31 Unix variants lived for many years after C++ became popular - a few are alive even today. It took quite a few years for Linux to grow from a "toy

                      P Offline
                      P Offline
                      Paul Sanders the other one
                      wrote on last edited by
                      #15

                      Duplicate (truncated) post? Enjoyed the full version.

                      Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

                      T 1 Reply Last reply
                      0
                      • P Paul Sanders the other one

                        Duplicate (truncated) post? Enjoyed the full version.

                        Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

                        T Offline
                        T Offline
                        trønderen
                        wrote on last edited by
                        #16

                        I did, by accident hit some key (don't know which one) that took me away from the 'Reply' page. So I hit 'back' (aka. Alt-Left) to get back to continue editing without noticing that the unfinished entry had been posted - not until you point it out. I could delete the unfinished entry, but that would leave your reply orphaned. So I leave it in. I have made worse blunders :-)

                        1 Reply Last reply
                        0
                        • CPalliniC CPallini

                          Did they also try to rewrite the Linux kernel? Linus Torvalds on C++[^]. :-D

                          "In testa che avete, Signor di Ceprano?" -- Rigoletto

                          P Offline
                          P Offline
                          Paul Sanders the other one
                          wrote on last edited by
                          #17

                          Hope not!

                          Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

                          1 Reply Last reply
                          0
                          • CPalliniC CPallini

                            Did they also try to rewrite the Linux kernel? Linus Torvalds on C++[^]. :-D

                            "In testa che avete, Signor di Ceprano?" -- Rigoletto

                            P Offline
                            P Offline
                            Paul Sanders the other one
                            wrote on last edited by
                            #18

                            Hope not!

                            Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

                            1 Reply Last reply
                            0
                            • CPalliniC CPallini

                              Did they also try to rewrite the Linux kernel? Linus Torvalds on C++[^]. :-D

                              "In testa che avete, Signor di Ceprano?" -- Rigoletto

                              P Offline
                              P Offline
                              Paul Sanders the other one
                              wrote on last edited by
                              #19

                              CPallini wrote:

                              Did they also try to rewrite the Linux kernel [in C++]?

                              Hope not!

                              Paul Sanders. "Life is a minestrone" - which I take to mean that it's full of different bits and you should try to savour them all. I think that's pretty neat, I like that analogy. And if you don't mind, here's a quick plug for my little one-man business. Follow the link if you're interested in ripping your vinyl collection: www.alpinesoft.co.uk. Thanks.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups