Results 1 to 23 of 23

Thread: What programming languages do YOU know?

  1. #1
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default What programming languages do YOU know?

    ^^ Title says it all. Feel free to do hello world in each language you know or have worked with a little bit (as in knowing the basic structure)


    Simba Code:
    begin
      writeln('hello world');
    end.
    Java Code:
    public class HelloWorld {

        public static void main(String[] args) {
            System.out.println("hello world!");
        }

    }

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Code:
    print("Hello, world!")
    Python is the most convenient language that i know of...no annoying ';' needed, no need to declare types, no curly braces or begin end for statement blocks--just simple indentation, etc

  3. #3
    Join Date
    Dec 2011
    Location
    -bash
    Posts
    515
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    Very much understand c/c++ (c++11 new version not so much)
    python and little java (java up to making gui)

  4. #4
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    PascalScript, Java, bit of C++, HTML, bit of PHP, bit of LUA.

  5. #5
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    Pascal/Delphi/lazarus/Simba:
    These are my favourite IDE's/Language
    Simba Code:
    Writeln('hello Villavu');

    JAVA:
    I only know very little java
    Code:
    class Hello Villavu
    {  
            public static void main(String args[])
            {
               System.out.println("Hello Villavu");
            }
    }
    PHP:
    This was actually what started me off with computer programming.
    PHP Code:
     <?php 
     
    Echo "Hello Villavu!";
     
    ?>
    HTML:
    learnt this during learning php
    HTML Code:
    <html>
    <header><title>This is title</title></header>
    <body>
    Hello Villavu
    </body>
    </html>
    I am looking to learn the C language just never had the time/Reason but who knows i might take it up tomorrow.

  6. #6
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by CRU1Z1N View Post
    Pascal/Delphi/lazarus/Simba:
    These are my favourite IDE's/Language
    Simba Code:
    Writeln('hello Villavu');

    JAVA:
    I only know very little java
    Code:
    class Hello Villavu
    {  
            public static void main(String args[])
            {
               System.out.println("Hello Villavu");
            }
    }
    PHP:
    This was actually what started me off with computer programming.
    PHP Code:
     <?php 
     
    Echo "Hello Villavu!";
     
    ?>
    HTML:
    learnt this during learning php
    HTML Code:
    <html>
    <header><title>This is title</title></header>
    <body>
    Hello Villavu
    </body>
    </html>
    I am looking to learn the C language just never had the time/Reason but who knows i might take it up tomorrow.
    The Java code won't compile :P

  7. #7
    Join Date
    Feb 2007
    Location
    Switzerland
    Posts
    583
    Mentioned
    1 Post(s)
    Quoted
    50 Post(s)

    Default

    Why do you guys come up with HTML when the title says programming language?

    Saw this somewhere on the forums and saved it:

  8. #8
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Gala View Post
    Why do you guys come up with HTML when the title says programming language?

    Saw this somewhere on the forums and saved it:
    @xtrapsp
    SEE THAT??? HTML isnt a language u nub!!

  9. #9
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Gala View Post
    Why do you guys come up with HTML when the title says programming language?

    Saw this somewhere on the forums and saved it: ...
    Neither is TeX
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  10. #10
    Join Date
    Feb 2012
    Location
    DON'T PM ME ASKING FOR STUFF
    Posts
    2,170
    Mentioned
    38 Post(s)
    Quoted
    423 Post(s)

    Default

    Quote Originally Posted by Sin View Post
    @xtrapsp
    SEE THAT??? HTML isnt a language u nub!!
    HTML Isn't a Programming language.

    You're just being stupid again. I never said it was a Programming language. I said it was a language.
    Last edited by xtrapsp; 08-22-2013 at 09:28 AM.

  11. #11
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

    Default

    Quote Originally Posted by Sin View Post
    @xtrapsp
    SEE THAT??? HTML isnt a language u nub!!
    O god, don't start this. It's a markup language.

  12. #12
    Join Date
    Feb 2007
    Location
    Switzerland
    Posts
    583
    Mentioned
    1 Post(s)
    Quoted
    50 Post(s)

    Default

    Quote Originally Posted by Daniel View Post
    Neither is TeX
    Yeah, that is the joke about the last two images

  13. #13
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    All of them.. Lol k not all languages but quite a lot..

    Meh:

    Every kind of assembly language (ASM x86, Mips-ASM, ASM-ARM (for iPhone cracking stuff)).. and their assemblers (IE: MASM, FASM, NASM, MIPSA, etc)
    Every C language (C#, Obj-C, C, C++, VC++) including the C++11, C-99 and C++-1y/14 apis..
    Java/Byte-code
    F#
    Pascal/Delphi
    Haskel
    Fortran
    GLSL (and all other OpenGL shading languages)

    Aren't really languages or just really easy and everyone else knows them too:

    Lua (perhaps my fave scripting language)
    Visual Basic (yes I don't consider this piece of crap a language)
    PHP, HTML, JS, ASP/ASP.Net (I hate each and every one of these except PHP)
    A lot of Server Query Language (P-SQL, PL/SQL (Oracle), T-SQL, Postgre-SQL(Oracle based))


    Languages I want to know but I just find weird or boring/useless to learn:
    Google Go! (Not sure why I should learn this since the other languages I know can do the same things..)
    Python (Heard it is like C so.. not sure why either)
    MatLab
    Ruby
    Pearl
    Cobol (just so I can say I know something old :l..)


    For the hello worlds.. Iunno what to write.. Pretty sure everyone saw my Java, C, C++ code.. So I'll just post the hardest one which I wrote a while back here: http://villavu.com/forum/showthread.php?t=95541

    All the following does is get user input and store it in registers, push the stack, store another, and then print it.. Has a couple functions too which just prints the parameter passed..

    ASM x86:
    ASM Code:
    format PE console                                               ;Format PE OUT GUI 4.0
    entry main

    include 'macro/import32.inc'

    section '.idata' import data readable                           ;Import Section.
    library msvcrt,'msvcrt.dll'
    import msvcrt, printf, 'printf',\
    exit,'exit', getchar, 'getchar', scanf, 'scanf'

    section '.data' data readable writeable                         ;Constants/Static Section.  This section can store variables.
    Size dd 0                                                       ;Array Size. A Dword Initialized to 0
    PromptValue db "Enter A Number: ", 13, 10, 0                    ;Prompt User For A Number.
    FuncPrint db 13, 10, 13, 10, "Calling Function: %s", 13, 10, 0  ;Statement For Function.
    Response db 13, 10, 13, 10, "You Entered: %d", 13, 10, 0        ;Statement For Number.
    InputFormat db "%d", 0                                          ;Format Data
    IntArray dd 0                                                   ;Declare Dword Initialized to 0
    Index dd 0


    section '.code' code readable executable
    main:
       push ebp
       mov ebp,esp

       push PromptValue                   ;Ask the user to Enter a number.
       call [printf]
       add esp, 4

       push Size
       push InputFormat
       call [scanf]                       ;Call scanf with the "%d" and the variable to hold the integer.
       add esp, 8

       push [Size]
       push Response
       call [printf]                      ;Print the value the user entered with "%d".
       add esp, 8

       mov ecx, [Size]                    ;Store the Array Size/Number in the count register.
       mov [Index], 0                     ;Set the Index variable to 0.

       ASSIGN:                            ;The beginning of a loop.
          push ecx                        ;Backup our count because printf discards it.
          mov ecx, [Index]                ;Move our index to the new count register.
          inc [Index]                     ;Increment the index.
          mov [IntArray + 4 * ecx], ecx   ;Change the value at the array's index to the current count.
          pop ecx                         ;Restore our old count.
       loop ASSIGN                        ;Loop if Count is > 0.. else break.


                                          ;TODO: Add Loop to print array..


       mov [Index], 65                    ;Store the character A in variable called Index.
       push Index                         ;Pass Index to the function as a parameter by pushing it onto the stack.
       call Function                      ;Call the function.
       add esp, 4                         ;Restore the stack pointer..


       mov esp, ebp
       pop ebx

       call [getchar]                     ;Wait until the user presses a key before we exit.
       call [getchar]

       mov eax, 0                         ;Return 0.
    ret


    Function:
       push ebp
       mov ebp, esp
       mov eax, [ebp + 8]                 ;Function Parameter

       push eax
       push FuncPrint
       call [printf]                      ;Print the Parameter Passed..
       add esp, 8

       mov esp, ebp
       pop ebp
    ret


    Mips ASM:
    ASM Code:
    .data                       #Data Section.

    Input:      .word 0
    Prompt:         .asciiz "\nEnter An Array Length:\n"
    Prompt_Two: .asciiz "\nEnter Another Number:\n"
    Notice:     .asciiz " Is >= 80 AND < 100"
    Space:      .asciiz " "
    NewLine:    .asciiz "\n"




    .text

    main:
    li $v0, 4       #4 means to print string.
    la $a0, Prompt      #Pass the value to print on screen.
    syscall         #Perform the system call for printing string.

    li $v0, 5       #5 means to read input. This reads the length from the user.
    syscall         #Get the user input via the system call to read string.
    move $s3, $v0   #Store the length of the array.. Similar to ECX register in x86.


    GetNumbers:     #Beginning of the loop.

    subi $s3, $s3, 1        #Decrease the count.. This determines whether we break out of the loop or not.
    beqz $s3, EndNumbers    #if our count = 0, break out of the loop.

    li $v0, 4               #Ask the user to enter another number.
    la $a0, Prompt_Two
    syscall

    li $v0, 5               #wait for user input.
    syscall
    move $a0, $v0           #store their number in the $a0 register. Similar to eax

    blt $v0, 80, GetNumbers    #if the number is less than 80, don't bother printing it.
    bge $v0, 100, GetNumbers   #or.. if it is greater than 100, don'
    t print it either..

    li $v0, 1               #print integer.. this will print the number..
    syscall
    li $v0, 4               #print string.. this will print the Notice.. thus, it prints:  SOmeNumber: Is >= 80 && < 100.
    la $a0, Notice
    syscall

    b GetNumbers             #continue the loop.. The loop only breaks when count reaches 0.

    EndNumbers:



    li $v0, 10      #Exit the program.
    syscall         #Invoke exiting via System call.


    P.S. I still hate programming.. Just do it to kill time :l
    Last edited by Brandon; 08-22-2013 at 01:44 AM.
    I am Ggzz..
    Hackintosher

  14. #14
    Join Date
    Oct 2011
    Location
    Chicago
    Posts
    3,352
    Mentioned
    21 Post(s)
    Quoted
    437 Post(s)

    Default

    What is your profession? Please tell me you are a programmer




    Anti-Leech Movement Prevent Leeching Spread the word
    Insanity 60 Days (Killer workout)
    XoL Blog (Workouts/RS/Misc)

  15. #15
    Join Date
    Nov 2012
    Location
    USA
    Posts
    153
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Basically this:

    Comfortable:
    C/C++, lua, CSS, HTML, BASIC

    Getting there:
    python, javascript, pascal, bash shell, SQL

    Although once you learn a couple languages that have diametrically different ideologies, you basically know every language to novice level, simply based on the limited amount of syntaactical creativity/ideology.

  16. #16
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    php, javascript, pascal, VB, html(5), css(3), perl, python, LUA, ruby, SQL (mongodb, postgresql, mysql, mssql), ASP, & does bash scripting count?

    I can do a bit of
    C, C++, java, go, C#,
    not that great though


    PHP, HTML, JS, ASP/ASP.Net (I hate each and every one of these except PHP)
    lol vouch brandon there
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  17. #17
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by [XoL] View Post
    What is your profession? Please tell me you are a programmer
    I'm not.. Not yet at least? I took mechanical engineering and dropped in my last year because it got boring and now I take some programmer analyst course which is boring as hell and we do almost no coding.. All web stuff and basic Java -_-

    I tutor programming though..
    I am Ggzz..
    Hackintosher

  18. #18
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    I'm not.. Not yet at least? I took mechanical engineering and dropped in my last year because it got boring and now I take some programmer analyst course which is boring as hell and we do almost no coding.. All web stuff and basic Java -_-

    I tutor programming though..
    sounds to me like software engineer has your name all over it

  19. #19
    Join Date
    Oct 2011
    Location
    Chicago
    Posts
    3,352
    Mentioned
    21 Post(s)
    Quoted
    437 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    I'm not.. Not yet at least? I took mechanical engineering and dropped in my last year because it got boring and now I take some programmer analyst course which is boring as hell and we do almost no coding.. All web stuff and basic Java -_-

    I tutor programming though..
    Lol just wondering what are your rates? I am comp sci/software engineering while I am doing fine (With my lack of knowledge in any language lol) I figure one day soon that will bite me in the butt.




    Anti-Leech Movement Prevent Leeching Spread the word
    Insanity 60 Days (Killer workout)
    XoL Blog (Workouts/RS/Misc)

  20. #20
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by xtrapsp View Post
    HTML Isn't a Programming language.

    You're just being stupid again. I never said it was a Programming language. I said it was a language.
    Lol I remember this stupid argument from a while ago

    Quote Originally Posted by Sin View Post
    @xtrapsp
    SEE THAT??? HTML isnt a language u nub!!
    yes it is, it is a language, not a programming language.. but it is a language, hyper text markup language

    Quote Originally Posted by Brandon View Post
    I'm not.. Not yet at least? I took mechanical engineering and dropped in my last year because it got boring and now I take some programmer analyst course which is boring as hell and we do almost no coding.. All web stuff and basic Java -_-

    I tutor programming though..
    from someone who's been going through college courses for about 8 years now, trust me when I say all classes are boring and someone at your level probably won't learn anything from them... I tend to take classes I'm interested in and learn/have already learned majority of it before the class even starts.


    get your degree you want and gtfo!
    Last edited by grats; 08-22-2013 at 11:10 PM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  21. #21
    Join Date
    Dec 2011
    Location
    U.S.A.
    Posts
    635
    Mentioned
    5 Post(s)
    Quoted
    249 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    All of them.. Lol k not all languages but quite a lot..

    Meh:

    Every kind of assembly language (ASM x86, Mips-ASM, ASM-ARM (for iPhone cracking stuff)).. and their assemblers (IE: MASM, FASM, NASM, MIPSA, etc)
    Every C language (C#, Obj-C, C, C++, VC++) including the C++11, C-99 and C++-1y/14 apis..
    Java/Byte-code
    F#
    Pascal/Delphi
    Haskel
    Fortran
    GLSL (and all other OpenGL shading languages)

    Aren't really languages or just really easy and everyone else knows them too:

    Lua (perhaps my fave scripting language)
    Visual Basic (yes I don't consider this piece of crap a language)
    PHP, HTML, JS, ASP/ASP.Net (I hate each and every one of these except PHP)
    A lot of Server Query Language (P-SQL, PL/SQL (Oracle), T-SQL, Postgre-SQL(Oracle based))


    Languages I want to know but I just find weird or boring/useless to learn:
    Google Go! (Not sure why I should learn this since the other languages I know can do the same things..)
    Python (Heard it is like C so.. not sure why either)
    MatLab
    Ruby
    Pearl
    Cobol (just so I can say I know something old :l..)


    For the hello worlds.. Iunno what to write.. Pretty sure everyone saw my Java, C, C++ code.. So I'll just post the hardest one which I wrote a while back here: http://villavu.com/forum/showthread.php?t=95541

    All the following does is get user input and store it in registers, push the stack, store another, and then print it.. Has a couple functions too which just prints the parameter passed..

    ASM x86:
    ASM Code:
    format PE console                                               ;Format PE OUT GUI 4.0
    entry main

    include 'macro/import32.inc'

    section '.idata' import data readable                           ;Import Section.
    library msvcrt,'msvcrt.dll'
    import msvcrt, printf, 'printf',\
    exit,'exit', getchar, 'getchar', scanf, 'scanf'

    section '.data' data readable writeable                         ;Constants/Static Section.  This section can store variables.
    Size dd 0                                                       ;Array Size. A Dword Initialized to 0
    PromptValue db "Enter A Number: ", 13, 10, 0                    ;Prompt User For A Number.
    FuncPrint db 13, 10, 13, 10, "Calling Function: %s", 13, 10, 0  ;Statement For Function.
    Response db 13, 10, 13, 10, "You Entered: %d", 13, 10, 0        ;Statement For Number.
    InputFormat db "%d", 0                                          ;Format Data
    IntArray dd 0                                                   ;Declare Dword Initialized to 0
    Index dd 0


    section '.code' code readable executable
    main:
       push ebp
       mov ebp,esp

       push PromptValue                   ;Ask the user to Enter a number.
       call [printf]
       add esp, 4

       push Size
       push InputFormat
       call [scanf]                       ;Call scanf with the "%d" and the variable to hold the integer.
       add esp, 8

       push [Size]
       push Response
       call [printf]                      ;Print the value the user entered with "%d".
       add esp, 8

       mov ecx, [Size]                    ;Store the Array Size/Number in the count register.
       mov [Index], 0                     ;Set the Index variable to 0.

       ASSIGN:                            ;The beginning of a loop.
          push ecx                        ;Backup our count because printf discards it.
          mov ecx, [Index]                ;Move our index to the new count register.
          inc [Index]                     ;Increment the index.
          mov [IntArray + 4 * ecx], ecx   ;Change the value at the array's index to the current count.
          pop ecx                         ;Restore our old count.
       loop ASSIGN                        ;Loop if Count is > 0.. else break.


                                          ;TODO: Add Loop to print array..


       mov [Index], 65                    ;Store the character A in variable called Index.
       push Index                         ;Pass Index to the function as a parameter by pushing it onto the stack.
       call Function                      ;Call the function.
       add esp, 4                         ;Restore the stack pointer..


       mov esp, ebp
       pop ebx

       call [getchar]                     ;Wait until the user presses a key before we exit.
       call [getchar]

       mov eax, 0                         ;Return 0.
    ret


    Function:
       push ebp
       mov ebp, esp
       mov eax, [ebp + 8]                 ;Function Parameter

       push eax
       push FuncPrint
       call [printf]                      ;Print the Parameter Passed..
       add esp, 8

       mov esp, ebp
       pop ebp
    ret


    Mips ASM:
    ASM Code:
    .data                       #Data Section.

    Input:      .word 0
    Prompt:         .asciiz "\nEnter An Array Length:\n"
    Prompt_Two: .asciiz "\nEnter Another Number:\n"
    Notice:     .asciiz " Is >= 80 AND < 100"
    Space:      .asciiz " "
    NewLine:    .asciiz "\n"




    .text

    main:
    li $v0, 4       #4 means to print string.
    la $a0, Prompt      #Pass the value to print on screen.
    syscall         #Perform the system call for printing string.

    li $v0, 5       #5 means to read input. This reads the length from the user.
    syscall         #Get the user input via the system call to read string.
    move $s3, $v0   #Store the length of the array.. Similar to ECX register in x86.


    GetNumbers:     #Beginning of the loop.

    subi $s3, $s3, 1        #Decrease the count.. This determines whether we break out of the loop or not.
    beqz $s3, EndNumbers    #if our count = 0, break out of the loop.

    li $v0, 4               #Ask the user to enter another number.
    la $a0, Prompt_Two
    syscall

    li $v0, 5               #wait for user input.
    syscall
    move $a0, $v0           #store their number in the $a0 register. Similar to eax

    blt $v0, 80, GetNumbers    #if the number is less than 80, don't bother printing it.
    bge $v0, 100, GetNumbers   #or.. if it is greater than 100, don'
    t print it either..

    li $v0, 1               #print integer.. this will print the number..
    syscall
    li $v0, 4               #print string.. this will print the Notice.. thus, it prints:  SOmeNumber: Is >= 80 && < 100.
    la $a0, Notice
    syscall

    b GetNumbers             #continue the loop.. The loop only breaks when count reaches 0.

    EndNumbers:



    li $v0, 10      #Exit the program.
    syscall         #Invoke exiting via System call.


    P.S. I still hate programming.. Just do it to kill time :l
    0.0 ... Wow.

  22. #22
    Join Date
    Mar 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    vb.net, and a bit of java. I dont know where to really start with java.

  23. #23
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    455
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    I know pascal and starting to pick up java now
    07Scripter
    I mostly write private scripts

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •