Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
User Journal

Journal grub's Journal: Python, Ruby or ??? 4


I've got some larger projects around work, mainly networkish things (SNMP trapping, {Squid|PIX|routers|switches|WLAN|VPN} log parsing, nmap, etc.) and I'm at a crossroads between what language to use. I'm most comfortable with plain ol' C but that would be overkill for these jobs

I've done a fair amount of Python and am happy with it but have read great things about Ruby.

Basically I'm wanting something that works well with SNMP, has a good networking library and plays very nicely with Apache & PostgreSQL. The ability to script telnet and ssh stuff (ala Expect) would be a definite plus.

Simply put: I want to settle on a language for these types of projects. Input from anyone would be appreciated!

EDIT: Perl need not apply, I'd rather use awk.
This discussion has been archived. No new comments can be posted.

Python, Ruby or ???

Comments Filter:
  • by Tet ( 2721 )
    If you want to use something like Expect, then why not just use Expect itself? Tcl's quite a reasonable language anyway, and the performance problems of yesteryear are mostly gone now. That said, I do confess to becoming rather attached to Python of late.
  • Well, if you won't consider that dead sexy roadkill of a language, Perl, then I'd definitely say Python.

    If nothing else, it plays so nice with C...I just can't use Ruby, the syntax drives me up the wall.
    • i concur. fuck the bandwagon. python rocks
    • by grub ( 11606 )
      Yeah, that's what I'm leaning to as well. I really do like Python a heck of a lot but wanted more input in case I was committing to something that could turn out to be a bad thing in the long run.

      thanks! g

Arithmetic is being able to count up to twenty without taking off your shoes. -- Mickey Mouse

Working...