Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Perl for hardware driver
Hello,

My boss asked me to learn some Java but I said Perl can do anything
that Java can do.So he asked me to write a driver for his wireless
network card on Linux with Perl.I'm faint but,is there a way to do
this?

Thanks helps.

Report this thread to moderator Post Follow-up to this message
Old Post
Solidzh
08-22-07 11:59 PM


Re: Perl for hardware driver
>>>>> "S" == Solidzh  <solidzh@gmail.com> writes:

S> My boss asked me to learn some Java but I said Perl can do anything
S> that Java can do.So he asked me to write a driver for his wireless
S> network card on Linux with Perl.I'm faint but,is there a way to do
S> this?

ask him if he can do that in java.

and get a better boss.

uri

--
Uri Guttman  ------  uri@stemsystems.com  -------- [url]http://www.stemsystems.com[/url
]
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding
-
Search or Offer Perl Jobs  ----------------------------  [url]http://jobs.perl.org[/url
]

Report this thread to moderator Post Follow-up to this message
Old Post
Uri Guttman
08-22-07 11:59 PM


Re: Perl for hardware driver
On 8/22/07, Solidzh <solidzh@gmail.com> wrote:
> Hello,
>
> My boss asked me to learn some Java but I said Perl can do anything
> that Java can do.So he asked me to write a driver for his wireless
> network card on Linux with Perl.I'm faint but,is there a way to do
> this?
>
> Thanks helps.

I may be completely wrong, but I don't think Perl can do such low
level jobs. And even if it could, a driver probably would be better
with the speed and memory management that C provides. However, I don't
think Java can be used either.

But then again, I believe in knowing many languages. Learning a new
language (especially one as wide spread as Java) is a great
opportunity. And if you get paid to learn, well, you're lucky!

Report this thread to moderator Post Follow-up to this message
Old Post
Yitzle
08-22-07 11:59 PM


Re: Perl for hardware driver
On 8/22/07, Solidzh <solidzh@gmail.com> wrote:
> Hello,
>
> My boss asked me to learn some Java but I said Perl can do anything
> that Java can do.So he asked me to write a driver for his wireless
> network card on Linux with Perl.I'm faint but,is there a way to do
> this?
>
> Thanks helps.

Yes, and it is as easy or easier than it in Java: that is to say it
isn't easy at all in either language.  Please remind him that that is
a job for C not Java or Perl (I am pretty sure you can't write a
kernel module in either Java or Perl, this is not a limitation of
either language, but of the kernel itself).

All of that said you should learn many languages.  It will make you
more marketable and you never know when you will have to deal with
someone else's code.  Except Cobol, that language just stinks.

Report this thread to moderator Post Follow-up to this message
Old Post
Chas Owens
08-22-07 11:59 PM


Re: Perl for hardware driver
On 8/22/07, yitzle <yitzle@users.sourceforge.net> wrote:
> On 8/22/07, Solidzh <solidzh@gmail.com> wrote: 
>
> I may be completely wrong, but I don't think Perl can do such low
> level jobs. And even if it could, a driver probably would be better
> with the speed and memory management that C provides. However, I don't
> think Java can be used either.
>
> But then again, I believe in knowing many languages. Learning a new
> language (especially one as wide spread as Java) is a great
> opportunity. And if you get paid to learn, well, you're lucky!

To clarify*, any Turing Equivalent** language*** can replace any other
Turing Equivalent language****, but sometimes implementation details
get in the way (in this case the Linux Kernel expects a certain
interface that neither Java not Perl can provide without giving up
their essential nature).

* or confuse, I can't decide which I am doing
** http://en.wikipedia.org/wiki/Turing_complete
*** This even includes Conway's***** Game of Life:
http://www.cs.ualberta.ca/~bulitko/...rs/tm_words.pdf
**** but is not guaranteed to be as efficient in terms of time and space
***** John not Damian

Report this thread to moderator Post Follow-up to this message
Old Post
Chas Owens
08-22-07 11:59 PM


Re: Perl for hardware driver
From:           	Solidzh <solidzh@gmail.com>
> Hello,
>
> My boss asked me to learn some Java but I said Perl can do anything
> that Java can do.So he asked me to write a driver for his wireless
> network card on Linux with Perl.I'm faint but,is there a way to do
> this?

Ahhh, those pointy haired bosses that read the business magazines,
would not know code if you printed it out and banged it over their
head, yet decide what tool you should use to do your job. I wonder
whether the managers of construction companies annoy their hardhats
with trying to tell them what tool to use when. Based on something
they just overheard.

I'd really love to see a device driver written in that marketing
campaign that by accident contains as its minor and almost completely
irrelevant ingredience a programming language.

Find a better boss.

Jenda
== Jenda@Krynicky.cz == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think?  :-)
-- Larry Wall in <199808071736.KAA12738@wall.org>


Report this thread to moderator Post Follow-up to this message
Old Post
Jenda Krynicky
08-28-07 12:23 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:45 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.