What's new

Welcome to Japan Reference (JREF) - the community for all Things Japanese.

Join Today! It is fast, simple, and FREE!

So what is the best scripting language?

Which Free Scripting Language is best?

  • C

    Votes: 0 0.0%
  • C++

    Votes: 2 18.2%
  • Python

    Votes: 1 9.1%
  • Perl

    Votes: 1 9.1%
  • Ruby

    Votes: 2 18.2%
  • Tcl

    Votes: 0 0.0%
  • Lisp

    Votes: 0 0.0%
  • Lua

    Votes: 0 0.0%
  • Pascal

    Votes: 1 9.1%
  • Expe

    Votes: 1 9.1%
  • Other

    Votes: 3 27.3%

  • Total voters
    11

arpgme

後輩
Joined
6 Sep 2005
Messages
156
Reaction score
2
what is the best free scripting language ?
This is what I look for in a scripting language :
* Free
* Reliable
* Extensible
* Adequate-to-good in performance
* Easy to install
* Very,Very,Powerful
 
Last edited by a moderator:

sl0815

☆彡
Joined
31 Aug 2004
Messages
131
Reaction score
0
Hi,

C, C++ and Pascal are not scripting languages but "real" programming languages.

But to answer your question: It depends on what you want to do. For client-side actions there is not much choice but JavaScript. If you wnat to do some server-side stuff, you don't have much choice either. It depends on what your provider allows.

If that is no question (maybe you have your own server) then just use Perl. It's powerful, comparable easy to learn and well documented. If Perl isn't powerful enough for you then take Lisp (very hard to learn).

If your only concern is speed, use C.


Cheers, Jan
 

osistlk

A #1, Duke o' Oakton
Joined
28 May 2006
Messages
50
Reaction score
2
My personal favorite is PHP, but it is limited in its application...
 

osistlk

A #1, Duke o' Oakton
Joined
28 May 2006
Messages
50
Reaction score
2
AJAX is a mix of using JavaScript, XML, and something like PHP to create instant and flashy web apps, I beleive its more or less like that. What are you trying to make/program?
 

arpgme

後輩
Joined
6 Sep 2005
Messages
156
Reaction score
2
I am trying to make a chating robot like J-Bot.I want the chating robot to be downloadable and I want it to be very conversational.
 

sl0815

☆彡
Joined
31 Aug 2004
Messages
131
Reaction score
0
Such programs already exist and it's not easy to write such a thing. Have a look at "eggdrop". It is an IRC Bot and it can talk very much.
 

osistlk

A #1, Duke o' Oakton
Joined
28 May 2006
Messages
50
Reaction score
2
Ya, chat programs involve some time (like all projects)... :eek:
 

arpgme

後輩
Joined
6 Sep 2005
Messages
156
Reaction score
2
i`ve heard python is the best scripting language, is it true, I scripted in it for a year only.
 

nice gaijin

Resident Realist
Moderator
Donor
Joined
8 Aug 2005
Messages
6,012
Reaction score
1,232
If you used it for that long, shouldn't you have formed an opinion of it by now?
 

arpgme

後輩
Joined
6 Sep 2005
Messages
156
Reaction score
2
That would make sence, but I am still a newbie.I used it for a year and not know a thing about python.
 

osistlk

A #1, Duke o' Oakton
Joined
28 May 2006
Messages
50
Reaction score
2
Do you want to make a smart or dumb chat-bot? A dumb chat-bot, a program that responds only to basic text input, should be easy with your 1 year of knowledge. You might have alot of If-Then statements though...
 

osistlk

A #1, Duke o' Oakton
Joined
28 May 2006
Messages
50
Reaction score
2
See, thats alot harder. It would have to have a dumb base, like if I type "I like cheese." it runs through a condition and responds, "Cheese is stinky."
But then it would have to be able to understand parts of a sentence, so if you say "I like cheese" the program would go "I" so the're saying something concerning themselves, "like" positive with some sort of definition that was understandable by the program, and "cheese" the subject matter, the point of the sentence. With all this a smart bot then has to generate a unique answer bases on its programming, so...
osistlk: I like cheese.
smartofartobot: Cheese smells so I don't like it.
This is explained as it were somewhat easy but my advice would be to build your way up from dumb bots to smart bots.
 

nice gaijin

Resident Realist
Moderator
Donor
Joined
8 Aug 2005
Messages
6,012
Reaction score
1,232
the easiest way to create a bot with unique responses would be to have arrays of sentence structures and bits of phrases and words selected either using random functions or determined by words that the user inputs.

If you still consider yourself a novice, I would say that a smart bot is a bit too ambitious. you should try to think of different ways to create unique responses to user input, as well as what kinds of variables you'd like to store (user names, age, whatever) to make the bot seem "smarter." Worry more about how you want to do something, and don't tie yourself down to any one language first.
 

arpgme

後輩
Joined
6 Sep 2005
Messages
156
Reaction score
2
Python doesn`t allow using bits of words. It must be the whole word.
 

osistlk

A #1, Duke o' Oakton
Joined
28 May 2006
Messages
50
Reaction score
2
Then use an array of bytes, Python should have that feature...
Find the function that puts each letter as a byte in an array of bytes so the program can string them into words.
 

arpgme

後輩
Joined
6 Sep 2005
Messages
156
Reaction score
2
Python-array of bytes, I will search for that later in a tutorial.
 

osistlk

A #1, Duke o' Oakton
Joined
28 May 2006
Messages
50
Reaction score
2
Well you won't find it like that, learn about arrays and how to use them and then you should know how to put bytes in it...
 

Zaff

先輩
Joined
3 Apr 2007
Messages
165
Reaction score
10
Well it depends on the job your doing now doesn't it?
If I were throwing together a website PhP is what I would use. If I were making a game C++(Direct X). If I was feeling old school and wanted to have some fun in a nostalgic sense Pascal :). If I was developing a web application Ruby On Rails is the weapon of choice. Finally if I am feeling really lazy and want to throw together an application for a nagging friend or random person then Visual Basic.

Oh and last point if I am feeling a little suicidal has to be assembly :LOL:
 
Top Bottom