Go Back   EQEmulator Home > EQEmulator Forums > Misc > Misc::Off Topic

Misc::Off Topic Want to talk about something that has nothing to do with EverQuest or the emulator? Post here.

Reply
 
Thread Tools Display Modes
  #16  
Old 01-23-2009, 02:20 AM
Deimos
Hill Giant
 
Join Date: Jun 2004
Posts: 135
Default

Please disregard my last post.

After doing some research, it appears that using a high level language would be the best way to write an AI Engine (more specifically PERL or Lisp).

I'm researching their speeds now... heh... yes, we're already using PERL (feels kind of.. er..) heh
__________________
//The Path of Chaos Server-
//Fate Industries
//Lots of stuff O-o
Reply With Quote
  #17  
Old 01-23-2009, 05:02 PM
Kobaz
Hill Giant
 
Join Date: Nov 2008
Location: Gold Coast, Oz
Posts: 119
Default

LISP, Perl and Smalltalk are all reflective languages that do what you need. I have to admit that I like Smalltalk, but the learning curve is weird, as it's not like anything else. Check out Squeak at squeak.org, and don't worry about being totally confused by it at first.

A lot of language based AI research was done in LISP. I think it was invented for it. Massive learning curve, as it's also totally unlike anything else.

The catch with using Perl is that large perl programs can easily become unreadable unless you really work at keeping them maintainable. Perl has had some performance issues with it's psuedo OO features - this may be less of an issue with perl 6 onwards, as I haven't kept up to date with it.

In my work (a long time ago) I used a special purpose language called CELLANG to generate the cellular automata core (in C), then added sockets to that (reading generated code is not fun as variable names are not people friendly and there are massive tables of pointers to things that you have to touch), and had that talking to perl programs that managed the genetic algorithm code that modified the weights and rules of the automata, the perl in turn called small C programs that handled changes to rules for the mobile agents.

As long as you stay in the core of perl performance can be quite good. I believe that lisp can be very fast.

Runtime speed is not great with smalltalk. This is offset by the quite incredible efficiency with which you can program in it - quite sophisticated programs can be done in very few lines, and because everything is live code the debug cycle is very efficient.
Reply With Quote
  #18  
Old 01-23-2009, 05:28 PM
Kobaz
Hill Giant
 
Join Date: Nov 2008
Location: Gold Coast, Oz
Posts: 119
Default

And your thoughts of designing a language are probably a good idea, even if you don't implement it. The exercise of designing a "script language" that can be proven to do what you want will reveal exactly what you need. You might find there are slabs of code out there already that do a lot of the lower level stuff. For Debian there is cl-aima for example.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:38 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3