From owner-freebsd-questions@FreeBSD.ORG Tue Sep 13 22:17:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1F661065673 for ; Tue, 13 Sep 2011 22:17:30 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A8F3C8FC15 for ; Tue, 13 Sep 2011 22:17:30 +0000 (UTC) Received: by gyf2 with SMTP id 2so1083267gyf.13 for ; Tue, 13 Sep 2011 15:17:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.155.137 with SMTP id u9mr317105icw.31.1315952249603; Tue, 13 Sep 2011 15:17:29 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.33.10 with HTTP; Tue, 13 Sep 2011 15:17:29 -0700 (PDT) In-Reply-To: References: <20110913193442.GA11369@thought.org> Date: Tue, 13 Sep 2011 18:17:29 -0400 X-Google-Sender-Auth: x2PgNPGhnKjcgMOzRDCk3SMlMQA Message-ID: From: Alejandro Imass To: "C. P. Ghost" Content-Type: text/plain; charset=ISO-8859-1 Cc: Gary Kline , FreeBSD Mailing List Subject: Re: *caution* severely OT!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 22:17:31 -0000 On Tue, Sep 13, 2011 at 4:42 PM, C. P. Ghost wrote: > On Tue, Sep 13, 2011 at 9:34 PM, Gary Kline wrote: >> guys, >> [...] > But if you really must, I suggest to port the program to > C++ instead of C, because there, you can make use of > the excellent STL data types and containers, that match > Python's somewhat. You may also consider using boost > libraries, if the STL isn't enough. I disagree. I wouldn't touch C++ or it's ugly cousin Java with a ten foot pole and, if the matter is a higher-level C-flavor I'd recommend Objective-C instead. Anyway, the OP's issue seems to be a low-level keyboard hack and C is definitively the better choice there, and probably with some required in-line assembly ;-) -- Alejandro Imass > > Good luck. > -- Alejandro Imass