Announcement

Collapse
No announcement yet.

What's a good C++ book?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Jon Miller View Post
    What do you think of CUDA versus OpenCL?

    JM
    CUDA is worthless because it's vendor specific.

    We use DirectCompute on Windows and OpenCL on Mac & Linux. DirectCompute is much faster than OpenCL...
    "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
    Ben Kenobi: "That means I'm doing something right. "

    Comment


    • #17
      That was my feel on CUDA, I haven't heard of DirectCompute.

      JM
      Jon Miller-
      I AM.CANADIAN
      GENERATION 35: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

      Comment


      • #18
        Originally posted by Hauldren Collider View Post
        How much development is still done in C++? Many platforms seem to have shifted entirely to web languages.
        Tons of development is still in C++. Microsoft has actually started increasing its C++ investments and efforts in Win7 and later. They originally wanted to move everything to .NET but now they are pushing C++ hard for native development and HTML5 for portable development and UIs.

        C++ isn't really comparable with web languages. They go after different markets.

        The app I write is mostly C++ at its core...C# front-end on Windows, ObjC front-end on Mac, Ruby scripting for some legacy features, Javascript/ECMAScript scripting for our new SDK, and HTML5 support (via Webkit) for some new features. No one language is better.
        "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
        Ben Kenobi: "That means I'm doing something right. "

        Comment


        • #19
          I don't know anything about HTML5--is it actually a programming language?
          If there is no sound in space, how come you can hear the lasers?
          ){ :|:& };:

          Comment


          • #20
            Originally posted by Jon Miller View Post
            That was my feel on CUDA, I haven't heard of DirectCompute.

            JM
            Civ5 uses DirectCompute for compression/decompression.

            DirectCompute is the DirectX counterpart to OpenCL.

            OpenCL/OpenGL go together, DirectCompute/Direct3D go together.

            If you're on Windows, DirectCompute/Direct3D is much faster.
            "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
            Ben Kenobi: "That means I'm doing something right. "

            Comment


            • #21
              Originally posted by Hauldren Collider View Post
              I don't know anything about HTML5--is it actually a programming language?
              No, it's a Markup Language.

              "HTML5" is just layout XML. But it's commonly used to refer to HTML (layout) + CSS (style) + Javascript (programming). This is how web apps are built on the client side. We use this for some new stuff that's really cool. It interfaces with our C++ back-end which makes it exceptionally powerful.

              You can manipulate 3D scenes (rendered natively) with JS now...
              "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
              Ben Kenobi: "That means I'm doing something right. "

              Comment


              • #22
                Originally posted by Asher View Post
                No, it's a Markup Language.

                "HTML5" is just layout XML. But it's commonly used to refer to HTML (layout) + CSS (style) + Javascript (programming). This is how web apps are built on the client side. We use this for some new stuff that's really cool. It interfaces with our C++ back-end which makes it exceptionally powerful.

                You can manipulate 3D scenes (rendered natively) with JS now...
                Yes, I've done javascript and html before

                I wasn't sure if HTML5 somehow added something...XSLT is an XML programming language, I wouldn't put it past those w3c folks to do something similar with HTML. Thanks for clarifying.

                Do you actually program javascript or do you use jquery or some other library? I don't think many people actually use vanilla javascript anymore.
                If there is no sound in space, how come you can hear the lasers?
                ){ :|:& };:

                Comment


                • #23
                  Originally posted by Hauldren Collider View Post
                  Yes, I've done javascript and html before

                  I wasn't sure if HTML5 somehow added something...XSLT is an XML programming language, I wouldn't put it past those w3c folks to do something similar with HTML. Thanks for clarifying.

                  Do you actually program javascript or do you use jquery or some other library? I don't think many people actually use vanilla javascript anymore.
                  I don't program Javascript myself. I just set up the interface so others can. It's our SDK so external publishers and content providers (and some teachers) use it.

                  jQuery is just a Javascript library. We do support it.
                  "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                  Ben Kenobi: "That means I'm doing something right. "

                  Comment


                  • #24
                    Originally posted by Hauldren Collider View Post
                    I have never really done much programming in C++, and while Kuci informs me that it is a terrible hideous language, it seems like it would be a good idea for me to learn it at some point.
                    I really need to comment on this. Everything Asher says about C++ is correct, but by virtue of being an innovator it has some big blemishes that it's kind of stuck with.

                    Comment


                    • #25
                      That's certainly a fair comment.
                      "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                      Ben Kenobi: "That means I'm doing something right. "

                      Comment


                      • #26
                        I usually have to talk my students out of using C++. They're just writing little Arduino projects, maybe 1000 lines or so. Some of them really like objects and mallocking and stuff though.

                        SP
                        I got the Jete from C.C. Sabathia. : Jon Miller

                        Comment


                        • #27
                          I thought Arduino used a dialect of C.
                          If there is no sound in space, how come you can hear the lasers?
                          ){ :|:& };:

                          Comment


                          • #28
                            The Arduino "language" is, but we don't use that. They link against the Arduino library, which is partly written in C++ and partly in C.

                            SP
                            I got the Jete from C.C. Sabathia. : Jon Miller

                            Comment

                            Working...
                            X