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. First language

First language

Scheduled Pinned Locked Moved The Lounge
question
146 Posts 88 Posters 34 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.
  • T Tim Carmichael

    Without starting a flame war or bashing session... What is the first language you learned: verbal and coding Do you still use either on a regular basis? Why or why not? Canadian English and Commodore BASIC Living in the Southern U.S., I still speak English, but, admittedly, it has been... adjusted to use local terms (Y'all, All y'all, you'n's). I still use BASIC variants (VBA mostly in Excel or third party applications), but haven't used any Commodore products since about the late '90s.

    D Offline
    D Offline
    DanielSheets
    wrote on last edited by
    #38

    English and Tandy Color Computer III BASIC. BASIC -> C -> Assembler -> Pascal -> C++ -> Prolog -> Java -> C# (Not necessarily in this order) With National Instruments' LabVIEW thrown in there too.

    1 Reply Last reply
    0
    • L Lost User

      An OO design? What do the classes do? I made a JIT assembler for C#, but the design was basically a 2k LOC "Switch of Doom" with some support functions for ModR/M encoding and such.

      M Offline
      M Offline
      Matthew Faithfull
      wrote on last edited by
      #39

      :laugh: You'll have to wait for the article to find out. As with all good OO code the classes do all of it. There's a low level and a high level assembler, full FPU and MMX support up to SSE4.2. ~24 KLOC. It's all based on AsmJit with the coolest part I've added being JIT functors. I just love calling a function that doesn't exist when I call it and have it work :-D

      "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

      L 1 Reply Last reply
      0
      • E Erudite_Eric

        Is there any point to this question? (given 90% responding with English and BASIC)

        T Offline
        T Offline
        thrakazog
        wrote on last edited by
        #40

        Alright fine. Klingon and LOLCODE[^]

        Play my game Gravity: Android[^], Windows Phone 7[^]

        1 Reply Last reply
        0
        • M MacSpudster

          1A) I speak Greek. Problem is, all languages, 'cept American, are "greek" to me. 2A) BASIC 1B) I still speak Greek, with the same caveat as previous noted. 2B) C# :cool:

          A Offline
          A Offline
          Andrew Rissing
          wrote on last edited by
          #41

          Έτσι, αυτό είναι ελληνικά σε σας; [So, is this Greek to you?]

          M 1 Reply Last reply
          0
          • M Matthew Faithfull

            There's not too many MIPS assembly programmers out there. I wonder how much do you know and how much time do you have? I wonder these things because I have a JIT assembler about to go live as a Code Project article. It's a reasonable OO design divided between generic base classes and x86 sub classes. Any one really familiar with MIPS assembly and reasonable with C++ could follow the pattern used for x86 and add MIPS support for the low level assembler at least. Let me know if you're interested.

            "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

            C Offline
            C Offline
            Colin Mullikin
            wrote on last edited by
            #42

            Matthew Faithfull wrote:

            There's not too many MIPS assembly programmers out there.

            I learned it in college and while they were teaching it to us they told us, "You will never use this ever again." :doh:

            The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

            M 1 Reply Last reply
            0
            • T Tim Carmichael

              Without starting a flame war or bashing session... What is the first language you learned: verbal and coding Do you still use either on a regular basis? Why or why not? Canadian English and Commodore BASIC Living in the Southern U.S., I still speak English, but, admittedly, it has been... adjusted to use local terms (Y'all, All y'all, you'n's). I still use BASIC variants (VBA mostly in Excel or third party applications), but haven't used any Commodore products since about the late '90s.

              C Offline
              C Offline
              Colin Mullikin
              wrote on last edited by
              #43

              English and Java. Obviously I still use English, but I don't really use Java a whole lot anymore. I use Delphi for work.

              The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

              1 Reply Last reply
              0
              • T Tim Carmichael

                Without starting a flame war or bashing session... What is the first language you learned: verbal and coding Do you still use either on a regular basis? Why or why not? Canadian English and Commodore BASIC Living in the Southern U.S., I still speak English, but, admittedly, it has been... adjusted to use local terms (Y'all, All y'all, you'n's). I still use BASIC variants (VBA mostly in Excel or third party applications), but haven't used any Commodore products since about the late '90s.

                R Offline
                R Offline
                Ron Anders
                wrote on last edited by
                #44

                English and Assembly Language. I still speak only English and code in C/C++ which is close enough to the hardware for me so far. Although "beating the system" by saving an instruction or two while achieving the same results in assembly was always rewarding.

                1 Reply Last reply
                0
                • C Colin Mullikin

                  Matthew Faithfull wrote:

                  There's not too many MIPS assembly programmers out there.

                  I learned it in college and while they were teaching it to us they told us, "You will never use this ever again." :doh:

                  The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                  M Offline
                  M Offline
                  Matthew Faithfull
                  wrote on last edited by
                  #45

                  At least they were honest, my M68000 assembly lecturer swore that we weren't wasting our time :rolleyes:

                  "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                  1 Reply Last reply
                  0
                  • M Matthew Faithfull

                    :laugh: You'll have to wait for the article to find out. As with all good OO code the classes do all of it. There's a low level and a high level assembler, full FPU and MMX support up to SSE4.2. ~24 KLOC. It's all based on AsmJit with the coolest part I've added being JIT functors. I just love calling a function that doesn't exist when I call it and have it work :-D

                    "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #46

                    Are you planning to add AVX2 at some point?

                    M 2 Replies Last reply
                    0
                    • L Lost User

                      Are you planning to add AVX2 at some point?

                      M Offline
                      M Offline
                      Matthew Faithfull
                      wrote on last edited by
                      #47

                      Clearly that would be after adding AVX but yes it can be added easily enough if I can get hold of the necessary information, register details, opcodes, instructions and any usage rules. It should be a few days work if it doesn't introduce a new register type, quite a few days if it does. The only problem I can forsee might be the lack of a 128bit numeric type in C++ if as I assume AVX has gone to 128bit SIMD or larger. However that can be worked around. ... Looking a bit deeper the new wider 256 bit registers won't be an issue because were already handling 128 bits for XMM although the YMM type will take a few days to work through all the cases but the new VEX coding scheme might require some non trivial code changes. Hmm more to add to the TODO: section of the article and it isn't even submitted yet.

                      "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                      L 1 Reply Last reply
                      0
                      • M Matthew Faithfull

                        Clearly that would be after adding AVX but yes it can be added easily enough if I can get hold of the necessary information, register details, opcodes, instructions and any usage rules. It should be a few days work if it doesn't introduce a new register type, quite a few days if it does. The only problem I can forsee might be the lack of a 128bit numeric type in C++ if as I assume AVX has gone to 128bit SIMD or larger. However that can be worked around. ... Looking a bit deeper the new wider 256 bit registers won't be an issue because were already handling 128 bits for XMM although the YMM type will take a few days to work through all the cases but the new VEX coding scheme might require some non trivial code changes. Hmm more to add to the TODO: section of the article and it isn't even submitted yet.

                        "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #48

                        AVX adds 256bit YMM registers (their lower halves are aliased to the XMM registers), but the same data types as before. It's a lot as though you're working with two XMM registers at once (and the instructions that "cross" the boundary between the two halves are all a little slow so far). They also use the new VEX prefix[^] (which are LES and LDS with carefully selected operand bits to invert so that they're invalid LES and LDS in 32bit mode) instead of the usual prefixes and you get an extra operand, so the encoding is pretty different and it's probably not trivial to add.

                        1 Reply Last reply
                        0
                        • L Lost User

                          Are you planning to add AVX2 at some point?

                          M Offline
                          M Offline
                          Matthew Faithfull
                          wrote on last edited by
                          #49

                          Was replying and your latest disappeared so I lost permission to post :wtf: Anyway: Was just looking into the same and modified my previous post. I think the VEX prefix business will cause the most problems. I'm not really the man for the job either as I am no assembly expert and I don't have a Haswell to test it on. If I get a chance I'll suggest AVX support to Petr and see what he reckons or you could sign up to the AsmJit Google group [^] and suggest it yourself. Are you making use of Haswell/AVX2 for anything or just interested in the bleeding edge?

                          "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                          L 1 Reply Last reply
                          0
                          • T Tim Carmichael

                            Without starting a flame war or bashing session... What is the first language you learned: verbal and coding Do you still use either on a regular basis? Why or why not? Canadian English and Commodore BASIC Living in the Southern U.S., I still speak English, but, admittedly, it has been... adjusted to use local terms (Y'all, All y'all, you'n's). I still use BASIC variants (VBA mostly in Excel or third party applications), but haven't used any Commodore products since about the late '90s.

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #50

                            English and Commodore BASIC. First language professionally was Progress.

                            “I believe that there is an equality to all humanity. We all suck.” Bill Hicks

                            1 Reply Last reply
                            0
                            • D Dr Walt Fair PE

                              I learned German (my mother was German) and English pretty much at the same time as a tyke. My first computer program was written in IBM 1620 assembly language. Now I speak mostly English and Spanish (my wife is Bolivian) and haven't seen an IBM 1620 in a long, long time!

                              CQ de W5ALT

                              Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                              V Offline
                              V Offline
                              Vivi Chellappa
                              wrote on last edited by
                              #51

                              Tamil and Fortran II on an IBM 1620!

                              1 Reply Last reply
                              0
                              • L Lost User

                                English and Hindi in equal measure. LEO III assembler and Intercode (some years later).

                                Use the best guess

                                V Offline
                                V Offline
                                Vivi Chellappa
                                wrote on last edited by
                                #52

                                Hindi? You must have been born in India or in Bradford! :laugh:

                                L 1 Reply Last reply
                                0
                                • M Marc Clifton

                                  thatraja wrote:

                                  English & HTML

                                  HTML isn't a language. It's an abomination. ;) Marc

                                  Unit Testing Succinctly

                                  H Offline
                                  H Offline
                                  H Brydon
                                  wrote on last edited by
                                  #53

                                  Marc Clifton wrote:

                                  HTML isn't a language.

                                  "HTML" is an acronym. The "L" in "HTML" stands for "Language", as in "HyperText Markup Language"...

                                  -- Harvey

                                  M 1 Reply Last reply
                                  0
                                  • M Matthew Faithfull

                                    Was replying and your latest disappeared so I lost permission to post :wtf: Anyway: Was just looking into the same and modified my previous post. I think the VEX prefix business will cause the most problems. I'm not really the man for the job either as I am no assembly expert and I don't have a Haswell to test it on. If I get a chance I'll suggest AVX support to Petr and see what he reckons or you could sign up to the AsmJit Google group [^] and suggest it yourself. Are you making use of Haswell/AVX2 for anything or just interested in the bleeding edge?

                                    "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #54

                                    You modified your post so mine became pointless.. Well, I have a Haswell and I'm an assembly expert(I guess?), so maybe I could do something there :) I'm using AVX2 in VLC (working on sound format converters), that's just regular pre-assembled assembly though.

                                    M 2 Replies Last reply
                                    0
                                    • D Dr Walt Fair PE

                                      I learned German (my mother was German) and English pretty much at the same time as a tyke. My first computer program was written in IBM 1620 assembly language. Now I speak mostly English and Spanish (my wife is Bolivian) and haven't seen an IBM 1620 in a long, long time!

                                      CQ de W5ALT

                                      Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                                      H Offline
                                      H Offline
                                      H Brydon
                                      wrote on last edited by
                                      #55

                                      Walt Fair, Jr. wrote:

                                      IBM 1620 assembly language

                                      Its real name was "SPS", later "SPS-II" and "SPS-IID". Long form of the name was "Symbolic Programming System". ... and a 4900796 to you too.

                                      -- Harvey

                                      1 Reply Last reply
                                      0
                                      • V Vivi Chellappa

                                        Hindi? You must have been born in India or in Bradford! :laugh:

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #56

                                        A small hill station[^], at least it was back then.

                                        Use the best guess

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          You modified your post so mine became pointless.. Well, I have a Haswell and I'm an assembly expert(I guess?), so maybe I could do something there :) I'm using AVX2 in VLC (working on sound format converters), that's just regular pre-assembled assembly though.

                                          M Offline
                                          M Offline
                                          Matthew Faithfull
                                          wrote on last edited by
                                          #57

                                          You sound like the right man with the right tools. I'll let you know as soon as the article goes up and hopefully the source will be up on SourceForge by then as well. You're more than welcome to chip in, branch, rewrite in Haskell etc. :)

                                          "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                          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