Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. old hacker...low tolerance
Forum Updated to NodeBB v4.3 + New Features

old hacker...low tolerance

Scheduled Pinned Locked Moved Unsolved The Lounge
47 Posts 13 Posters 9.3k Views 6 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.
  • Chris KawaC Offline
    Chris KawaC Offline
    Chris Kawa
    Lifetime Qt Champion
    wrote on last edited by Chris Kawa
    #32

    Ok, this is factually a project that takes a cpp2 file, and "compiles" it to regular C++

    Currently. Again, it's a napkin spec right now. There's already a talk about meta-classes and other stuff that doesn't have direct translation into standard C++.

    there is no "interop" to worry about

    Try calling a syntax 2 function from C++. Yes, you need glue.

    Because both are C++

    No, they're not. Just like JavaScript and TypeScript are not the same. You are buying into the marketing. It's not C++. It's a one direction translation. Bidirectional interop needs glue.

    How about we focus on educating better and methodically improve existing C++ instead of inventing 42nd language for attention deficient people, who look for instant wins and can't be bothered to put any effort in? Because that's a rising and far larger problem than some syntax tidbits. Just look at any technical forum - next generation is perfectly well capable of f-ing up in syntax 2, just like they are in C++. It's a sociological problem to a far greater extent than a technical one.

    Besides, there were bunch of other languages starting with good intentions like this - C++ without its legacy problems. D for example. The issue is that it starts that way, but when the language grows to the size that is actually useful, it gathers its own baggage of legacy problems. You end up in the same spot, just with lost time that you could've put into improving what you already had. The world is already spinning. There is no starting over.

    JoeCFDJ 1 Reply Last reply
    3
    • Chris KawaC Chris Kawa

      Ok, this is factually a project that takes a cpp2 file, and "compiles" it to regular C++

      Currently. Again, it's a napkin spec right now. There's already a talk about meta-classes and other stuff that doesn't have direct translation into standard C++.

      there is no "interop" to worry about

      Try calling a syntax 2 function from C++. Yes, you need glue.

      Because both are C++

      No, they're not. Just like JavaScript and TypeScript are not the same. You are buying into the marketing. It's not C++. It's a one direction translation. Bidirectional interop needs glue.

      How about we focus on educating better and methodically improve existing C++ instead of inventing 42nd language for attention deficient people, who look for instant wins and can't be bothered to put any effort in? Because that's a rising and far larger problem than some syntax tidbits. Just look at any technical forum - next generation is perfectly well capable of f-ing up in syntax 2, just like they are in C++. It's a sociological problem to a far greater extent than a technical one.

      Besides, there were bunch of other languages starting with good intentions like this - C++ without its legacy problems. D for example. The issue is that it starts that way, but when the language grows to the size that is actually useful, it gathers its own baggage of legacy problems. You end up in the same spot, just with lost time that you could've put into improving what you already had. The world is already spinning. There is no starting over.

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #33

      @Chris-Kawa Oh, no, you are against the Great Reset.

      One thing I do agree with you is: it makes more sense to make C++ better than to invent more other languages.
      For example, I used to use a lot of Fortran. If C++ has efficient multi-dimensional array(will have in 23), Fortran can be dropped easily.

      Chris KawaC 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @Chris-Kawa Oh, no, you are against the Great Reset.

        One thing I do agree with you is: it makes more sense to make C++ better than to invent more other languages.
        For example, I used to use a lot of Fortran. If C++ has efficient multi-dimensional array(will have in 23), Fortran can be dropped easily.

        Chris KawaC Offline
        Chris KawaC Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by
        #34

        The sad part for me is that a bunch of those new languages popping up are made by current or former C++ standard committee members, which sounds like "oh no, it's too hard, I'll make my own". And it's not even a joint effort. Everyone wants to be the inventor of the next big thing. I mean I don't mind people wasting time. It's their time to waste. It's just those are the people who are actually in a position to do something impactful. I wish they would've spent that time more productive for the sake of all of us.

        JoeCFDJ 1 Reply Last reply
        0
        • Chris KawaC Chris Kawa

          The sad part for me is that a bunch of those new languages popping up are made by current or former C++ standard committee members, which sounds like "oh no, it's too hard, I'll make my own". And it's not even a joint effort. Everyone wants to be the inventor of the next big thing. I mean I don't mind people wasting time. It's their time to waste. It's just those are the people who are actually in a position to do something impactful. I wish they would've spent that time more productive for the sake of all of us.

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by JoeCFD
          #35

          @Chris-Kawa Actually not bad if they can come up with some good ideas.

          1 Reply Last reply
          0
          • JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #36

            Programming (languages, humans writing code) will be over in 20 (50?) years. Discuss.

            mzimmersM J.HilkJ 2 Replies Last reply
            0
            • JonBJ JonB

              Programming (languages, humans writing code) will be over in 20 (50?) years. Discuss.

              mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #37

              @JonB said in old hacker...low tolerance:

              Programming (languages, humans writing code) will be over in 20 (50?) years. Discuss.

              Right...and robots will eliminate the need for human labor in 10 years. signed, a lot of smart people c. 1960.

              JonBJ Kent-DorfmanK 2 Replies Last reply
              0
              • mzimmersM mzimmers

                @JonB said in old hacker...low tolerance:

                Programming (languages, humans writing code) will be over in 20 (50?) years. Discuss.

                Right...and robots will eliminate the need for human labor in 10 years. signed, a lot of smart people c. 1960.

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #38

                @mzimmers
                I checked up yesterday, we are due to have nuclear fusion online in early 2030s. It's very exciting, I have been waiting for it all my life.

                mzimmersM 1 Reply Last reply
                0
                • JonBJ JonB

                  @mzimmers
                  I checked up yesterday, we are due to have nuclear fusion online in early 2030s. It's very exciting, I have been waiting for it all my life.

                  mzimmersM Offline
                  mzimmersM Offline
                  mzimmers
                  wrote on last edited by
                  #39

                  @JonB said in old hacker...low tolerance:

                  @mzimmers
                  I checked up yesterday, we are due to have nuclear fusion online in early 2030s.

                  I thought the Qt Forum already experienced that, back when that crabapple AnneRanch used to post here?

                  1 Reply Last reply
                  0
                  • fcarneyF Offline
                    fcarneyF Offline
                    fcarney
                    wrote on last edited by
                    #40

                    Meanwhile Javascript is being put into everything.

                    C++ is a perfectly valid school of magic.

                    mzimmersM 1 Reply Last reply
                    2
                    • fcarneyF fcarney

                      Meanwhile Javascript is being put into everything.

                      mzimmersM Offline
                      mzimmersM Offline
                      mzimmers
                      wrote on last edited by
                      #41

                      @fcarney said in old hacker...low tolerance:

                      Meanwhile Javascript is being put into everything.

                      Now let's don't YOU start...

                      1 Reply Last reply
                      1
                      • mzimmersM mzimmers

                        @JonB said in old hacker...low tolerance:

                        Programming (languages, humans writing code) will be over in 20 (50?) years. Discuss.

                        Right...and robots will eliminate the need for human labor in 10 years. signed, a lot of smart people c. 1960.

                        Kent-DorfmanK Offline
                        Kent-DorfmanK Offline
                        Kent-Dorfman
                        wrote on last edited by
                        #42

                        @mzimmers said in old hacker...low tolerance:

                        Right...and robots will eliminate the need for human labor in 10 years. signed, a lot of smart people c. 1960.

                        Well, those idiots on the left coast (SanFransisco) just approved the use of "lethal force" robots against civilians. Yet another step closer to sky-net, but what do those of us wearing tin-foil hats know, right?

                        JoeCFDJ 1 Reply Last reply
                        1
                        • Kent-DorfmanK Kent-Dorfman

                          @mzimmers said in old hacker...low tolerance:

                          Right...and robots will eliminate the need for human labor in 10 years. signed, a lot of smart people c. 1960.

                          Well, those idiots on the left coast (SanFransisco) just approved the use of "lethal force" robots against civilians. Yet another step closer to sky-net, but what do those of us wearing tin-foil hats know, right?

                          JoeCFDJ Offline
                          JoeCFDJ Offline
                          JoeCFD
                          wrote on last edited by JoeCFD
                          #43

                          @Kent-Dorfman When were weapons not used against civilians? The latest technology has always been used for weapons if possible in the history. The first computer was made to calculate the trajectory of projectiles. The nuclear energy was first applied for a bomb against civilians. I recently watched Hiroshima in youtube and it is a good movie.

                          1 Reply Last reply
                          0
                          • mzimmersM Offline
                            mzimmersM Offline
                            mzimmers
                            wrote on last edited by
                            #44

                            Well, that settles it: I quit. Forever.

                            Let's all quit, move to Florida and go golfing. First birdie buys the beer...

                            TomZT 1 Reply Last reply
                            0
                            • JonBJ JonB

                              Programming (languages, humans writing code) will be over in 20 (50?) years. Discuss.

                              J.HilkJ Offline
                              J.HilkJ Offline
                              J.Hilk
                              Moderators
                              wrote on last edited by
                              #45

                              @JonB said in old hacker...low tolerance:

                              Programming (languages, humans writing code) will be over in 20 (50?) years. Discuss.

                              sure, same as self driving cars, just right around to corner!


                              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                              Q: What's that?
                              A: It's blue light.
                              Q: What does it do?
                              A: It turns blue.

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                SimonSchroeder
                                wrote on last edited by
                                #46

                                Looks like I'm a little late to the party about cppfront. In general, I like some of the idea. There's recently been some talks (some by Herb himself) that passing argument by const reference is not always the most performant way to do it. You would actually need 3 different version of the same function for best performance. If you have two parameters that need to be optimized this way you'd have to write every combination of those, i.e. 9 different version. His C++ syntax 2 would solve this problem. That's the part I like. Concerning interoperability his approach is way superior to Carbon. Within the same file you can mix syntax 1 and syntax 2 if you are using cppfront as a compiler. This means as long as cppfront is your compiler you can still write classic C++ code and call functions written in syntax 2. There is no extra interoperability layer you have to write or be concerned with. Someone already mentioned that experts in C++ would need to know syntax 1 & 2 which is an extra burden added. Understanding syntax 2 at will tell you about the pitfalls when using syntax 1. Only problem with cppfront: I don't particularly like the syntax. Though for some of the features I might still be persuaded to swallow the pill and switch over if this would become standard.

                                1 Reply Last reply
                                1
                                • mzimmersM mzimmers

                                  Well, that settles it: I quit. Forever.

                                  Let's all quit, move to Florida and go golfing. First birdie buys the beer...

                                  TomZT Offline
                                  TomZT Offline
                                  TomZ
                                  wrote on last edited by
                                  #47

                                  @mzimmers said in old hacker...low tolerance:

                                  Let's all quit, move to Florida and go golfing.

                                  I retired some years ago (never been busier, though), I would not move to the USA, but the Caribbean looks interesting.
                                  Especially when they are turning their backs on the dollar system (which turned its back on them years ago).
                                  https://www.stvincenttimes.com/st-kitts-nevis-to-make-bitcoin-cash-legal-tender-by-march-2023/

                                  1 Reply Last reply
                                  0

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved