Thread: Native Winxp code

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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++.

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

  3. #3
    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);
    //}

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

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