From: "J.J. Sestrich" <jsestri2@uiuc.edu>
To: emacs-devel@gnu.org
Subject: Re: Platform Dependent Code
Date: Sat, 21 Jun 2008 14:10:00 -0500 [thread overview]
Message-ID: <485D5208.4030602@uiuc.edu> (raw)
In-Reply-To: <e3f230850806202047o1b043dadhec29bbf8fe9b944f@mail.gmail.com>
dhruva wrote:
> Hello,
>
> On Sat, Jun 21, 2008 at 4:56 AM, Chong Yidong <cyd@stupidchicken.com> wrote:
>
>> <jsestri2@uiuc.edu> writes:
>>
>>
>>> How much of emacs is platform dependent code? I am wondering how much
>>> code has to be replaced if you wanted to port emacs to a new platform
>>> essentially: How much of emacs is native c code / libraries and how
>>> much is done through lisp code?
>>>
>> Almost all the platform-dependent code is in C and concerns
>> terminal/window system communications. See the w32* and mac* files in
>> the source tree for an example. The rest of the work is a matter of
>> juggling compilation switches, identifying system call names, etc.
>>
>> (If you provide some information about what platform you are interested
>> in, maybe someone could be more helpful.)
>>
>
> I feel the most complicated would be the generating the emacs
> executable by dumping a process with elisp code loaded
> (bootstrapping). I remember when working in the OpenVMS labs, on
> Itanium platform, that was the only missing piece in getting a full
> blown working emacs.
>
> -dhruva
>
>
I was thinking about making a javascript implementation that could be
used in a browser. It would use some cgi scripts to do file I/O and
window stuff would probably be easy enough to do with html/javascript.
At this point, I'm just trying to gauge the level of work that would
need to be done to make it happen. I would imagine that in addition to
the windowing and file I/O I'd have to re-write the lisp interpreter,
but this might be easier to do in javascript than C. I don't really know
enough about this to judge anything though. Does anyone have any insight
on these ideas: Size of code to be re-written? Difficulty of code that
has to be re-done?
J.J.
next prev parent reply other threads:[~2008-06-21 19:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 15:17 Platform Dependent Code jsestri2
2008-06-20 23:26 ` Chong Yidong
2008-06-21 3:47 ` dhruva
2008-06-21 19:10 ` J.J. Sestrich [this message]
2008-06-21 19:56 ` Stefan Monnier
2008-06-22 8:23 ` Thien-Thi Nguyen
2008-06-22 17:18 ` J.J. Sestrich
2008-06-22 21:52 ` Juri Linkov
2008-06-22 22:54 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=485D5208.4030602@uiuc.edu \
--to=jsestri2@uiuc.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.