From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Enhancing ELisp for AI Work Date: Mon, 16 Dec 2024 16:39:26 +0300 Message-ID: References: <7290780.2375960.1734348492938.ref@mail.yahoo.com> <7290780.2375960.1734348492938@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21929"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.12 (2023-09-09) Cc: "help-gnu-emacs@gnu.org" To: Andrew Goh Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 16:39:51 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNDCI-0005Xk-9K for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 16:39:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNDBp-0000Rd-6Z; Mon, 16 Dec 2024 10:39:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNDBn-0000RS-CC for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 10:39:19 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNDBl-0002ct-99 for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 10:39:19 -0500 Original-Received: from localhost ([::ffff:197.239.9.135]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001BF31.00000000676049A1.0008262E; Mon, 16 Dec 2024 08:39:12 -0700 Mail-Followup-To: Andrew Goh , "help-gnu-emacs@gnu.org" Content-Disposition: inline In-Reply-To: <7290780.2375960.1734348492938@mail.yahoo.com> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148833 Archived-At: * Andrew Goh via Users list for the GNU Emacs text editor [2024-12-16 14:30]: > As a long-time Emacs user and enthusiast, I would like to recommend > that the team consider enhancing ELisp to make it more suitable for > artificial intelligence (AI) work. That is so true. Though, if you think on LLMs, then I am in disagremeent calling Large Language Models solely AI, it is better we specify it well what we mean with it. The word AI now became a popular keyword for common people to interact with computer and get some tasks done by using Natural Language Processing. ALL COMPUTER PROGRAMS EMBODY ASPECTS OF ARTIFICIAL INTELLIGENCE! Isn't that main reason why we are programming? > Elisp has been an incredibly powerful and flexible language for > Emacs extension development, but its capabilities can be further > expanded to support AI applications. Oh, absolutely yes. > Some potential areas for enhancement include: > 1. Performance improvements through Just-In-Time (JIT) compilation > or native code generation. Hmm, I have no idea of JIT within Emacs and if that would at all speed it up, but it does have "native compilation" now, though unsure how it works. It makes it a bit faster I guess. Maybe that is what you mean. In fact before generating questions with the LLM, maybe you should cross check with your own skills if the feature you are querying already implemented in Emacs. > 2. Introduction of native numerical arrays and linear algebra > libraries Personally, no idea on that. What I know is that mathematics works well within Emacs. > 3. Development of machine learning and AI libraries, including > neural networks, decision trees, and clustering algorithms I guess now there is nothing within Emacs for that, but we can always πŸš€ call external functions and speed up the overall development cycle by working through the portal of GNU Emacs. πŸ’»πŸ” > 4. Improved interoperability with other languages through a foreign > function interface (FFI) Not sure about that, but now Emacs has modules, so anything is possible to hook into it. LLM information is there to provide guidelines, not to be smarter than you and especially can't outsmart people on the mailing list. Here is easily to find Emacs FFI module: https://github.com/tromey/emacs-ffi Looks like your LLM has been playing chess with your brain and winning every game! A second or few was the information that Emacs FFI already exists. > 5. Enhanced documentation and community resources focused on AI > development in ELisp People have been developing AI since the inception of computers, and also Emacs and GNU Operating System, and as you know, without GNU, there would be no Linux, there would be no Ruby, Python, etc., and so onβ€”it is all a big chicken and many eggs now. > By addressing these areas, ELisp can become a more comprehensive and > efficient platform for AI development, attracting a wider range of > users and developers. I think it is excellent editing platform already, and is being very much addressed. You see, it does matter how you write, as to say "by addressing these areas" while many are already addressed it may appear wronging and invalidating. As I said, the LLM response outsmarted you 😎 > Andrew Goh S MWith Help from Meta AI Next time try with your own built-in I. -- Jean Louis