Thread: My Language Is Better Than Yours

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 My Language Is Better Than Yours 


    Major's Avatar
    Join Date
    Jan 2011
    Posts
    2,997
    Thanks given
    1,293
    Thanks received
    3,556
    Rep Power
    5000
    Let's hear about your favourite language(s) and why. Alternatively, tell everyone else why their language sucks. Give proper reasons, and post a link if it's some obscure indie language.

    I'll start with Rust:


    The Rust Programming Language
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Android/Java/Meteor/Node
    Orbyt's Avatar
    Join Date
    Oct 2013
    Posts
    335
    Thanks given
    25
    Thanks received
    21
    Rep Power
    11
    Quote Originally Posted by Major View Post
    Let's hear about your favourite language(s) and why. Alternatively, tell everyone else why their language sucks. Give proper reasons, and post a link if it's some obscure indie language.

    I'll start with Rust:


    The Rust Programming Language
    Rust is cool and all, but, sorry...you just can't beat LOLCODE.

    • Its awesome.
    • 6 easy to remember types: YARN (string), NUMBR (integer), NUMBAR (float), TROOF (boolean), BUKKIT (array) and NOOB.
    • Only a few ways to compile so you can spend your time coding LOLCODE.
    • Its lol cats.
    • Its awesome.


    Working example:

    Code:
    I HAS A COLOR ITZ "GREEN"
    COLOR, WTF?
      OMG "RED"
      OMG "YELLOW"
        VISIBLE COLOR " FISH", GTFO
      OMG "GREEN"
        VISIBLE "FISH HAS A FLAVOR", GTFO
      OMGWTF
        VISIBLE "FISH IS TRANSPARENT"
    OIC
    LOLCODE



    What do I win?
    Reply With Quote  
     

  4. Thankful users:


  5. #3  
    Banned
    Join Date
    Feb 2015
    Posts
    8
    Thanks given
    0
    Thanks received
    26
    Rep Power
    0
    Brainfuck is even better then Rust, LOLCODE, and any other programming language.

    • Fucks you in the head.
    • Makes your knowledge in mathematics better.
    • Okay maybe LOLCODE is better.



    Working Example:
    Code:
    ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
    Reply With Quote  
     

  6. Thankful users:


  7. #4  


    Major's Avatar
    Join Date
    Jan 2011
    Posts
    2,997
    Thanks given
    1,293
    Thanks received
    3,556
    Rep Power
    5000
    Quote Originally Posted by Orbyt View Post
    What do I win?
    You win a lolcode compiler written in Rust!! (Only half complete by the look of it)

    Quote Originally Posted by Braeden View Post
    Brainfuck is even better then Rust, LOLCODE, and any other programming language.

    • Fucks you in the head.
    • Makes your knowledge in mathematics better.
    • Okay maybe LOLCODE is better.



    Working Example:
    Code:
    ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
    Proof that Rust has a turing-complete type system (uses Brainfuck)

    I'm pretty sure this wasn't intentional; interesting how you can accidentally end up with a turing-complete language.

    Also a Brainfuck interpreter is a very simple but fun project, give it a try if you haven't before.
    Reply With Quote  
     

  8. Thankful user:


  9. #5  
    The internet's reject
    Andy's Avatar
    Join Date
    Jun 2007
    Age
    33
    Posts
    4,371
    Thanks given
    148
    Thanks received
    1,522
    Rep Power
    3133
    Kids, its obviously ASMJS



    Code:
     function strlen(ptr) { // calculate length of C string
        ptr = ptr|0;
        var curr = 0;
        curr = ptr;
        while (MEM8[curr]|0 != 0) {
          curr = (curr + 1)|0;
        }
        return (curr - ptr)|0;
      }
    • Ensure that ptr is always an integer
    • Read an integer from address curr
    • Additions and subtractions are all 32-bit
    • no variables with mixed types,
    • low-level assembly-like computation



    Nothing better
    What am I watching now?

    Reply With Quote  
     


  10. #6  
    Bossman

    ISAI's Avatar
    Join Date
    Sep 2012
    Posts
    1,916
    Thanks given
    655
    Thanks received
    1,366
    Rep Power
    5000
    My language is the grand-daddy of all your silly little programming languages, without it none of yours would even exist!
    Ladies and gentlemen, to thee, I present...

    Assembly

    • It's mainly what your high-level languages use to talk to the computer
    • It's just high enough of a low-level programming language to actually still be readable
    • There are almost ZERO limits with it.
    • I don't understand it, very well.


    Code Example (x86 Windows):
    Code:
             .486p
             .model  flat,STDCALL
    include  win32.inc
     
    extrn            MessageBoxA:PROC
    extrn            ExitProcess:PROC
     
    .data
     
    HelloWorld db "Hello, world!",0
    msgTitle db "Hello world program",0
     
    .code
    Start:
             push    MB_ICONQUESTION + MB_APPLMODAL + MB_OK
             push    offset msgTitle
             push    offset HelloWorld
             push    0
             call    MessageBoxA
     
             push 0
             call ExitProcess
    ends
    end Start
    Reply With Quote  
     

  11. #7  
    The internet's reject
    Andy's Avatar
    Join Date
    Jun 2007
    Age
    33
    Posts
    4,371
    Thanks given
    148
    Thanks received
    1,522
    Rep Power
    3133
    Quote Originally Posted by ISAI View Post
    My language is the grand-daddy of all your silly little programming languages, without it none of yours would even exist!
    Ladies and gentlemen, to thee, I present...

    Assembly

    • It's mainly what your high-level languages use to talk to the computer
    • It's just high enough of a low-level programming language to actually still be readable
    • There are almost ZERO limits with it.
    • I don't understand it, very well.


    Code Example (x86 Windows):
    Code:
             .486p
             .model  flat,STDCALL
    include  win32.inc
     
    extrn            MessageBoxA:PROC
    extrn            ExitProcess:PROC
     
    .data
     
    HelloWorld db "Hello, world!",0
    msgTitle db "Hello world program",0
     
    .code
    Start:
             push    MB_ICONQUESTION + MB_APPLMODAL + MB_OK
             push    offset msgTitle
             push    offset HelloWorld
             push    0
             call    MessageBoxA
     
             push 0
             call ExitProcess
    ends
    end Start
    keep asm simple

    Code:
    .MODEL  TINY
    	.CODE
    CODE    SEGMENT BYTE PUBLIC 'CODE'
    	ASSUME  CS:CODE,DS:CODE
    	ORG     0100H
    	MOV    AH,9
    	INT    21H
    	RET
    	DB    'HELLO WORLD$'
    CODE    ENDS
    What am I watching now?

    Reply With Quote  
     

  12. #8  


    Major's Avatar
    Join Date
    Jan 2011
    Posts
    2,997
    Thanks given
    1,293
    Thanks received
    3,556
    Rep Power
    5000
    Quote Originally Posted by Andy View Post
    keep asm simple

    Code:
    .MODEL  TINY
    	.CODE
    CODE    SEGMENT BYTE PUBLIC 'CODE'
    	ASSUME  CS:CODE,DS:CODE
    	ORG     0100H
    	MOV    AH,9
    	INT    21H
    	RET
    	DB    'HELLO WORLD$'
    CODE    ENDS
    Write games in ASM for performance.
    Reply With Quote  
     

  13. #9  
    The internet's reject
    Andy's Avatar
    Join Date
    Jun 2007
    Age
    33
    Posts
    4,371
    Thanks given
    148
    Thanks received
    1,522
    Rep Power
    3133
    Quote Originally Posted by Major View Post
    That man is a god
    What am I watching now?

    Reply With Quote  
     

  14. Thankful users:


  15. #10  
    Donator


    Join Date
    Sep 2007
    Age
    27
    Posts
    2,426
    Thanks given
    125
    Thanks received
    505
    Rep Power
    386
    All great suggestions (Mostly LOLCODE), but obviously there's one better than all... BeamScript(2)!

    Advantages:
    - It's a private language, made by me, so you'll never know for certain if and what any disadvantages are.
    - It allows me to be a lazy bastard when it comes to web development.
    - It beats JSP, PHP and ASP in performance in equivalent test cases (main benefit is database integration)
    - Application, Session and Page level variable support.
    - Libraries handled differently to pages, Support for both BeamScript(1 legacy mode/2) libraries and Java (classes).

    Disadvantages:
    - You'll never know...

    Example Code:
    Code:
    <script server>
    	loadLib("db");
    	loadLib("gauth");
    	loadLib("template");
    	loadLib("server");
    	loadLib("widget");
    	renderPage("portal", {
    		breadcrumbs: ["RuneBeam"],
    		renderRight : function(open, close) {
    			renderWidget("topservers", open, close);
    			renderWidget("categories", open, close);
    
    		},
    		header: function() {
    
    		},
    		navigation : MENU_LINKS,
    		rightNavigation: RIGHT_MENU_LINKS,
    		featured: GetFeaturedServers(5),
    		banner : GetSponsoredServers(),
    		newServers : GetNewServers(5),
    		top : GetTopServers(5),
    	});
    </script>
    The above code is used to produce the following page:


    Syntax-wise, it's based off JavaScript, however it's compiled. It's also inlined with HTML, making it easy to make webpages in it (it takes <script> tags with the "server" parameter as server-sided code).
    Reply With Quote  
     

  16. Thankful users:


Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. my cat is better looking than kevin's
    By White boy in forum Spam
    Replies: 22
    Last Post: 05-05-2014, 02:29 AM
  2. This is better than Tupac
    By Tiggy in forum Spam
    Replies: 6
    Last Post: 05-06-2012, 05:43 PM
  3. My Spec Bar (Better then yours)
    By 35518 in forum Show-off
    Replies: 32
    Last Post: 11-25-2009, 12:09 AM
  4. Best Dialogue System{3x better than yours}
    By wizzyt21 in forum Tutorials
    Replies: 14
    Last Post: 11-28-2008, 12:41 AM
  5. Which is better in your oppinion?
    By Liam in forum General
    Replies: 20
    Last Post: 06-13-2008, 06:12 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •