Date: Wed, 11 Apr 2001 11:30:51 -0700 From: "Charles Burns" <burnscharlesn@hotmail.com> To: bsdnewbie@hotmail.com, freebsd-questions@freebsd.org Subject: Re: _Can I use C++ to write device drivers? Message-ID: <F974XFKpRcTCi90gP8y000050c1@hotmail.com>
next in thread | raw e-mail | index | archive | help
(Pre-note. I am not a driver expert by any means) You can write a driver for FreeBSD in any language that can compile, i.e., any non-interpreted language. C++ may not be the best choice for a driver because it has slightly higher overhead in some cases than C, and many of its advantages probably wouldn't be very useful in writing drivers. Plain old C is the most popular language for writing drivers in the Unix world, and most drivers are written in either C or a mixture of C and assembly. >From: "bsdnewbie bsdnewbie" <bsdnewbie@hotmail.com> >To: freebsd-questions@freebsd.org >Subject: _Can I use C++ to write device drivers? >Date: Thu, 12 Apr 2001 02:14:30 +0800 > >hi, > I want to write my new driver by using C++. However, I do not know >that >if device drivers of FreeBSD can be written in C++. And, if can, how about >the performance, a little slower or can not accept at all? > >thanks in advance > >bsdnewbie > >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F974XFKpRcTCi90gP8y000050c1>