What language should I choose?

Discuss how to write good code, break bad code, your current pet projects, or the best way to approach novel problems

What language should I choose?

Post by boyhell11 on Fri Sep 30, 2011 6:57 am
([msg=61977]see What language should I choose?[/msg])

Can anyone here tell me what language would be best for this purpose?

1) To make an auto run program.
2) That would look after all my open connections with their ports .
3) Also generate a log file or keep a record of all the happenings (like the date and time when a connection is created and when it expired.)

I am a programmer in php. And understands the concepts of C, C++ and Java on basic levels.

I searched all over the net but mainly found some tweaks and softwares you need to buy. So I was looking one to create my self.

Any advice???
boyhell11
New User
New User
 
Posts: 5
Joined: Sat Sep 17, 2011 6:09 am
Blog: View Blog (0)


Re: What language should I choose?

Post by dulago on Fri Sep 30, 2011 7:38 am
([msg=61978]see Re: What language should I choose?[/msg])

If you are using a linux/unix machine, a .sh script can probably do what you want to do.
dulago
New User
New User
 
Posts: 1
Joined: Fri Sep 30, 2011 7:35 am
Blog: View Blog (0)


Re: What language should I choose?

Post by boyhell11 on Fri Sep 30, 2011 7:57 am
([msg=61979]see Re: What language should I choose?[/msg])

i m on windows........

-- Sat Oct 01, 2011 12:08 pm --

Can this be achieved through a batch script??????
Or should I go with java........... because I understand it better than c or c++.

Also, is there a way if I code it in php. And convert it into other language using something like facebook>hiphop....????
But, I want something that works in windows...
boyhell11
New User
New User
 
Posts: 5
Joined: Sat Sep 17, 2011 6:09 am
Blog: View Blog (0)


Re: What language should I choose?

Post by mShred on Wed Oct 05, 2011 11:20 pm
([msg=62109]see Re: What language should I choose?[/msg])

Honestly, I would recommend you picking up a Linux distro and messing around with bash. But if you're dead set on using Windows, I'd say something like Perl. But that's just a personal preference. You could use Python or C or whatever you want really. If you want to progress in C, then go ahead and do it with C. If you wanna learn something new, try looking into Perl.
Image

For those about to rock.
User avatar
mShred
Administrator
Administrator
 
Posts: 1680
Joined: Tue Jun 22, 2010 4:22 pm
Blog: View Blog (2)


Re: What language should I choose?

Post by PinkFloyd22 on Thu Oct 06, 2011 3:17 pm
([msg=62122]see Re: What language should I choose?[/msg])

I don't think this is possible to do in php,I also code in PHP and as far as I know this is not possible to do,but I'm gonna search more about this and come back to you if I find out something.
Also if I was to chose to do this in a different language I would do it in Perl like mshred recomended.Perl has a similar syntax like PHP and it looks good to me :D . good luck
^_^
User avatar
PinkFloyd22
Experienced User
Experienced User
 
Posts: 70
Joined: Sat Sep 26, 2009 4:35 am
Blog: View Blog (0)


Re: What language should I choose?

Post by boyhell11 on Fri Oct 07, 2011 1:50 pm
([msg=62149]see Re: What language should I choose?[/msg])

Ok. So I guess it has to be Perl then.
I have never tried doing anything in Perl b4. But I guess its the right time to begin with that. Thanks guys.
boyhell11
New User
New User
 
Posts: 5
Joined: Sat Sep 17, 2011 6:09 am
Blog: View Blog (0)


Re: What language should I choose?

Post by fashizzlepop on Tue Oct 18, 2011 7:44 pm
([msg=62418]see Re: What language should I choose?[/msg])

Eh, Perl's really useful but for this it might be trickier to implement on windows then a C or C++ program. Granted, C or C++ has a higher learning curve but it would possibly work better.

I'd suggest learning Perl but don't immediately expect to make this program. I'd start with obtaining some sort of copy of "Learning Perl" by Randal Schwartz
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Developer
Developer
 
Posts: 2303
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: What language should I choose?

Post by VPR3 on Wed Oct 19, 2011 7:00 pm
([msg=62452]see Re: What language should I choose?[/msg])

Try Powershell
VPR3
Poster
Poster
 
Posts: 161
Joined: Fri Apr 22, 2011 11:35 am
Blog: View Blog (0)



Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests