[ASK]How to create a new programming language? What is the requirements?

Discussion in 'Programming' started by komrad, Nov 18, 2010.

  1. #1
    Hello all,

    I'm planning (maybe dreaming ;)) about creating a new private programming language for website. Similar or better to PHP. Preferably it would be built on C or java programming.

    Do anyone know how to do that? What are the preparation? What knowledge should i mastering first?

    I'm planning to keep this programming language in private so it would be more secure. Because im planning to build it for internet banking purposes and all of my clients sites.

    I need pointers on how do i do to start building it.

    Thanks.
     
    komrad, Nov 18, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    drhowarddrfine, Nov 18, 2010 IP
  3. komrad

    komrad Notable Member

    Messages:
    2,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #3
    You ask me to buy it. :D do you have any free resources?
     
    komrad, Nov 18, 2010 IP
  4. badhim

    badhim Member

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #4
    Take a look at the FastCGI technology (fastcgi.com). With it you can write you web applications directly on C or Java. It will be much more easily and faster than writing a new language.
     
    badhim, Nov 18, 2010 IP
  5. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #5
    @badhim, how on this green earth does that answer the question?
     
    drhowarddrfine, Nov 18, 2010 IP
  6. badhim

    badhim Member

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #6
    Well, as I understood, the main goal of the topicstarter is to create a private closed-architecture solution to increase the security. For the serious purpose, not just for self-education or something. I proposed some alternative point of view. Why expend time in doing another C-like language, if it's possible to write on C right now.
     
    badhim, Nov 18, 2010 IP
  7. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I think the OP would be better off first of all looking into hacking more before he decides on the best way to fix it.

    First of all I would imagine that the majority of banks have bespoke coded sites and so there is no issues with others being able to get source code to look for vunerabilities.

    Without that your methods of attacking the site for access are SQL injections or packet sniffers. Is a brand new programming language going to be a reasonable way to protect against SQL injections? It cannot prevent packet sniffing.

    Outside of this what are hackers options? Generally your left with brut force, again not programming language specific, or attacking the server itself so unless the OP intends to use their new language to also write a webserver, data server, firewalls etc then the usual vunerabilities of IIS & MS SQL (or whatever the chosen architecture is) remain.

    The one element that I have left out is vunerabilities in the framework or language itself (ie in PHP or .Net). Now, lets be realistic, the OPs own programming language will most likely have more issues than either of the other two or .Net simply because its newer and evidently from the nature of this question they are less experienced in creating programming languages than those working on the PHP project or for Microsoft or Sun.

    You are therefore trying to get protection by obscurity rather than actually by being any more secure. Like most Mac users who don't use anti-virus, not because Macs can't catch viruses but simply there are so few of them because there are so few Macs compared to Windows machines.

    The problem with this approach is that firstly its a false sense of security and secondly your considering combining it with a bank. As soon as you launch a banks website you may as well stick a great big sign outside it saying "come here, try and hack me". You will lose your obscurity and you will not have either the large number of testers trying to find security holes for you nor the army of people to close the hole quickly if a hacker finds one.

    If you think learning about assembly language, the real inner workings of Windows/ Linux, memmory allocation etc would be interesting then do it but don't fool yourself into believing there is a commercial application in what you're suggesting.
     
    AstarothSolutions, Nov 19, 2010 IP
  8. komrad

    komrad Notable Member

    Messages:
    2,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #8
    AstarothSolutions, Mostly i agreed with your opinion. However, own exclusively brand new programming language at least would make website more secure, correct? It won't be open source nor for sale. Im sorry for my english, but i think you know what i mean.

    And i would give the rest security matters to the in-house internet security professionals.
     
    komrad, Nov 19, 2010 IP
  9. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #9
    No, a brand new programming language does not make it more secure, it makes its insecurities unknown - but that it is to both you and "them".

    Look at the number of security vulnerabilities that both PHP & .Net have discovered over the last 3 years alone. Thats with an army of people working on it to make it, test it and fix it, realistically are you going to be able either afford the number of people and expertise to do anything similar? To be blunt, based on your question, I'm thinking you don't as you wouldnt be asking how to do it but where to employ people to do it.

    For a small site may be you could get away with it but a bank is a prime target for hackers and vulnerabilities will be quickly and easily found. Plus who say's it wont be for sale? Do you really think that these experts you employ are going to work for you til the day they retire? Do you know how nepotistic the banking industry is? I've worked in financial services for too many years and each new company I go to there are at least a dozen of my previous colleagues there. Everyone wants to know what their competitors are doing etc etc
     
    AstarothSolutions, Nov 19, 2010 IP
  10. matessim

    matessim Active Member

    Messages:
    514
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    70
    #10
    the fact you need to ask "how" means you won't be capable of accomplishing anything serious, sorry, but thats the truth, programming languages are designed by huge teams, with professionals in specific areas, etc.
     
    matessim, Nov 20, 2010 IP
  11. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #11
    Not true at all and most languages are created by individuals. C, Python and Lisp for example.
     
    drhowarddrfine, Nov 20, 2010 IP
  12. komrad

    komrad Notable Member

    Messages:
    2,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #12
    Yeah i agree with you. I have read their history too.
     
    komrad, Nov 20, 2010 IP
  13. Gediminas

    Gediminas Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Sooo? Authors of these languages didnt ask how to create a language on internet, they are genial. Sorry, but you are dreaming too much, your dreams are not realistic. I failed my driving exam on Tuesday, so its the same like I would ask how to be F1 pilot by the on end of this year :D
     
    Gediminas, Nov 21, 2010 IP
  14. komrad

    komrad Notable Member

    Messages:
    2,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #14
    Gediminas, I absolutely don't agree with your statement. I believe that if i follow the right path and have dedication to the goal enought, i would be there.

    You said that they are genials. Please ask them if they feel that they are genials? I bet they would answer no. People that called them genials not theirself. They are too busy with their mind and goal than want to be called genials. See, they have good mind, dedication and supported coleagues. Just my two cent.

    Soon or later i would invent the new one. :) Btw, a new invention won't come from pessimistic person.
     
    Last edited: Nov 21, 2010
    komrad, Nov 21, 2010 IP
  15. ruworth

    ruworth Active Member

    Messages:
    521
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    Digital Goods:
    3
    #15
    you prob need a PHD or something
     
    ruworth, Nov 21, 2010 IP
  16. komrad

    komrad Notable Member

    Messages:
    2,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #16
    PHD? Really?

    I dont have time to go back to university, thats why im asking here. In addition, my master degree are far from computer science. lol So, i believe that i have to learn about it myself.
     
    komrad, Nov 21, 2010 IP
  17. Gediminas

    Gediminas Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I agree with you, I dont say that its not for you, but see, because your question is so abstract it means that you dont have enough knowledge ATM. But keep working, become very very good at C, C++ or something similar, become Apache expert (you will need to make an Apache module) and then you wont have such abstract questions, you will know what exactly you need to do.
     
    Gediminas, Nov 21, 2010 IP
  18. matessim

    matessim Active Member

    Messages:
    514
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    70
    #18
    please bear in mind that I'm not talking about the bare bones of the language, but the libraries.
    still, unrelated to that, My point still stands that if you need to ask, you're probably not capable(fine, everyone can scrape a lisp dialect etc) but a fully blown serious language, isn't at the scope of one person, + making it private idea is complete non sense, it doesn't make it secure in any way, just that nobody will ever use it.

    you can claim what ever you want, but the bottom line is, alone, you'll probably get no where.

    if you devote yourself to studying how languages work, study concepts, and learn a LOT, its not impossible(but unlikely) that you'll have the knowledge to know how to go about designing/implementing, but still, its not close to actually writing a serious language, the sheer size of the code you'll need to write is more than you will probably write in your life, the arrogance of "probably better than PHP" amuses me, you know how many professionals built PHP for how many years and how large the community is?.
    and python, do you know how many years it took it to reach to the point it is today, Do you know how many people made it what it is? development started by 1 man, picked

    Perhaps before you'll "Build a OS like Windows, but Better", you'll learn the basics and how to even start, and lose the cockiness because it will get you no where

    Also, wtf is the fact that C was developed by "some people"? Bell labs developed it, and if you aren't aware, bell Labs at the time C was invented(arround 1976-80 if im not mistaken) it was like the IBM of Research in this field, Bell Created Unix, Background radiation was discovered in Bell labs

    Python was the brain child of a person who had a vision for a language, he did not by any means program it himself, he had a large number of supporters before he converted the concept, the practice of which wasn't immidiete either, plus, unlike you, he had a reason to create a language, he wanted things to work differently, he had worked on a design, and had many supporters, and then the development on python happened.
     
    Last edited: Nov 22, 2010
    matessim, Nov 22, 2010 IP
  19. hassanjawed

    hassanjawed Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    learn python.
     
    hassanjawed, Nov 26, 2010 IP
  20. ActiveFrost

    ActiveFrost Notable Member

    Messages:
    2,072
    Likes Received:
    63
    Best Answers:
    3
    Trophy Points:
    245
    #20
    WTF ? :confused:
     
    ActiveFrost, Nov 26, 2010 IP