Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: The best challenge (please read!)

  1. #21
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That may be, but I'd bet C or C++ would be fine for this. Even Java (not javascript) would be a great improvement over javascript or PHP. Do you code in MATLAB or C, C++, Java? Any higher level language?

    I should probably learn one of them. It would come in handy for this and other things. I recently had an interesting paid job. It has a NDA so I can't go into the details. But I wrote the javascript, another fellow wrote and compiled the Java, a boss who didn't understand either language but who had the best grasp of the three of us of the overall project goals, advised and asked questions. I got to see some of the uncompiled Java code. It looked pretty easy. Once compiled it executes lightning fast compared to runtime code like PHP and javascript. But it needed javascript in order to interact with the page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. #22
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by jscheuer1 View Post
    That may be, but I'd bet C or C++ would be fine for this. Even Java (not javascript) would be a great improvement over javascript or PHP. Do you code in MATLAB or C, C++, Java? Any higher level language?

    I should probably learn one of them. It would come in handy for this and other things. I recently had an interesting paid job. It has a NDA so I can't go into the details. But I wrote the javascript, another fellow wrote and compiled the Java, a boss who didn't understand either language but who had the best grasp of the three of us of the overall project goals, advised and asked questions. I got to see some of the uncompiled Java code. It looked pretty easy. Once compiled it executes lightning fast compared to runtime code like PHP and javascript. But it needed javascript in order to interact with the page.
    At the moment, I do a bit of coding, particularly with visual BASIC, and a bit of C++, both of which are very suitable, but I have a friend who works in a heavy mathematics job and uses MATLAB.

    Those kind of languages are very useful for fast or large calculations as well as many other things.

    That seems like a very efficient way to do it.
    Bernie
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  3. #23
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You don't need MATLAB for this. It's not all that intense.

    Quote Originally Posted by John
    I've never heard of a function written in javascript to replace native code that was faster than the native code, do you have any examples?
    Sorry. My post was written badly. I wanted to state that I can imagine that you are CORRECT for JS, not that I think JS has cases of being faster than default functions. I think it's not designed the same way as PHP, etc. We don't disagree. I just wasn't clear.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #24
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by djr33 View Post
    You don't need MATLAB for this. It's not all that intense.

    Sorry. My post was written badly. I wanted to state that I can imagine that you are CORRECT for JS, not that I think JS has cases of being faster than default functions. I think it's not designed the same way as PHP, etc. We don't disagree. I just wasn't clear.
    That's OK, it's (native faster vs. substitute functions slower in javascript) just something I've pretty much always assumed, have seen in some cases borne out in testing and frequently see stated.

    Like any rule, I suppose there could be one or more exceptions.

    But am I to infer that in PHP you mean that you can rewrite its native functions and gain a speed advantage? If so, do you mean rewrite in PHP or farm out to another language? If the former, I would think that would mean PHP isn't written all that well, the latter, well that's perfectly understandable.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #25
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by djr33 View Post
    You don't need MATLAB for this. It's not all that intense.

    .
    I wasnt saying that you need it, I was saying that it would be faster and if you wanted to Do this to a higher number
    Bernie
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

Bookmarks

Posting Permissions

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