Thread: Native Winxp code

  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    3

    Native Winxp code

    Hello

    I'm interested in hiring a programmer a personal project, however I need to know some basic holes in my current knowledge.

    If I want the program to:
    - Be easy to install
    - Can be installed without the need for additional software (e.g. Java/.NET)
    - Works fast and natively with windows

    Then what code is then supported? Obviously c/c++, but what about python? Visual basic? Perl?

    My idea revolves around a bluetooth idea, but I'd like to know which is the best code to do it in so that it is a) easy to install b) small executable installer c) runs fast and natively within windows xp (sp1/2/3). Thank you.


    Regards,

    Mike.
    Last edited by m_patrick; 06-11-2009 at 09:34 AM.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Would be better in the project section of the forums.

    Since you mentioned python twice, I'm assuming you really want python badly. This isn't quite the place to ask about, as you'll probably find a demeaning attitude towards python here.

    If it's Windows specific, I would personally imagine that you're best off using C, C++, or VB. I would probably recommend .NET but for your objection to that. Since VB has basically been converted to the .NET area, that would probably leave you back to C and C++.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Moved
    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.

  4. #4
    Registered User
    Join Date
    Jun 2009
    Posts
    3
    Quote Originally Posted by MacGyver View Post
    Would be better in the project section of the forums.

    Since you mentioned python twice, I'm assuming you really want python badly. This isn't quite the place to ask about, as you'll probably find a demeaning attitude towards python here.

    If it's Windows specific, I would personally imagine that you're best off using C, C++, or VB. I would probably recommend .NET but for your objection to that. Since VB has basically been converted to the .NET area, that would probably leave you back to C and C++.
    I want my application to work off-the-bat with a windows XP sp1/2/3 install. The user may not have internet.

  5. #5
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Then C or C++ is probably your best bet... but we're biased.

  6. #6
    Registered User
    Join Date
    Jun 2009
    Posts
    3
    I've been told bluetooth connection requires a lot of hardware communication and that C is superior for that over say, python where you would have to go through a lot of layers.

  7. #7
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by MacGyver View Post
    Since you mentioned python twice, I'm assuming you really want python badly. This isn't quite the place to ask about, as you'll probably find a demeaning attitude towards python here.
    Not from me! I don't know that I'd choose it for work with Bluetooth. At the very least, you'd need some native modules.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  8. #8
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Bluetooth has a transfer rate of abour 1-3Mbit/s (125-375KB/s). For a modern PC type product, that is fairly slow.

    I'm pretty sure that packets are a few dozen to hundreds of bytes per packet, which means that the rate at which the data actually get sent from the processor to the hardware happens in small bursts, and the rest of the time, the processor is just waiting.

    A processor for a mobile phone runs about 10-50x slower than the PC processor. It STILL is capable of transmitting audio-data over blue-tooth. Audio data is very sensitive to latency issues, as timing is critical to avoid clicks and gaps in the sound. Ok, so there's probably a bit more effort put into making that work on a mobile phone than you can expect on a PC running Windows.

    But I don't really think there is going to be a problem with performance, whatever language you use. After all, the driver level code HAS to be written in C (not C++), since that's the language that kernel level drivers MUST be written in, as specified by MS.

    --
    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.

  9. #9
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Well I don't think a native install of Windows comes with a python interpreter, so regardless of performance reasons, it doesn't seem to meet your qualifications.

    I think your best choices are:
    C
    C++
    VB
    Delphi
    A .NET language.
    Maybe Java (Does a fresh Windows install come with a JVM?)

  10. #10
    Registered User
    Join Date
    Jun 2009
    Posts
    1
    Quote Originally Posted by m_patrick View Post
    Hello

    I'm interested in hiring a programmer a personal project, however I need to know some basic holes in my current knowledge.

    If I want the program to:
    - Be easy to install
    - Can be installed without the need for additional software (e.g. Java/.NET)
    - Works fast and natively with windows

    Then what code is then supported? Obviously c/c++, but what about python? Visual basic? Perl?

    My idea revolves around a bluetooth idea, but I'd like to know which is the best code to do it in so that it is a) easy to install b) small executable installer c) runs fast and natively within windows xp (sp1/2/3). Thank you.


    Regards,

    Mike.
    Do you mean Greensoftware?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  2. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

Tags for this Thread