Thread: Language for text.

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    1

    Lightbulb Language for text.

    I have already learned XHTML, CSS, and Javascript . I am in the process to master them.
    I skip on phyton and ruby; I am also getting into C . I really like all the C family. I wanted to learn Ruby but decided to dropped .
    Instead , I started learning Perl and I do not regret it .
    Because, I have a son with Autism. I want to build a interactive encyclopedia
    with learning tool , as language development, database, dictionary, for parents
    and child to use .
    This is why I am learning Perl for the text Javascript for graphical interaction.

    Since C compilation will make the application fast . can C help me to accomplish my goal?

    Do I need to learn MySQL or Postgree. perhaps XML?

    or I need to look into another language .
    Rebol look good but there is not sufficent available information to learn or
    get a compiler.

    Thanks!
    Abel

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > Since C compilation will make the application fast . can C help me to accomplish my goal?
    What's the difference between 10mS, 50mS and 100mS?
    None at all if you're dealing with human perception.

    Sure 'C' is fast, but it takes a hell of a long time to learn, and a hell of a long time to manually code every last detail.

    99%+ of the code you're going to use will be in someone elses library, so you've only got direct control over a small part of the code anyway.
    Open a database, read a record might be 10 lines of your C code, and 10000 lines of code in the database library. Writing those same lines in Perl might only be a couple of lines and be immeasureably slower as a result (the same 10K lines in the database library happen anyway).

    Focus on getting something to work (at all) before worrying about how fast it is. Everyone else only worries about "fast enough" rather than "as fast as possible".

    For what it's worth, I think PHP is worth a look.
    http://www.php.net/
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    If you want web, then I guess ASP is faster than PHP because it isn't interpreted, but I don't know much about it and if you can get it free and run it and all that.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Elysia View Post
    If you want web, then I guess ASP is faster than PHP because it isn't interpreted, but I don't know much about it and if you can get it free and run it and all that.
    Again, in comparison with the time it takes to access the database (whether we only concern ourselves with the 10000 lines of code it has, or physical memory/disk access times [which are possibly going to have even more influence than the 10000 lines of code]) is going to be a much more significant factor.

    Further, PHP is portable and easy to use.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 06:48 AM