unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Preview: portable dumper
@ 2016-11-30 21:58 Tobias Gerdin
  2016-11-30 22:22 ` Spending time on Guile Emacs? (was: Preview: portable dumper) John Wiegley
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Gerdin @ 2016-11-30 21:58 UTC (permalink / raw)
  To: emacs-devel; +Cc: dancol

Since some years there has been the intention of switching to Guile for Emacs' Lisp needs. As I understand it one of the major issues to be resolved is the lack of Guile unexec support, so would it not be prudent to consider the implications for a (possible) future Guile Emacs? Something along the lines of what Eli proposed (the ”one big .elc”approach) is a requested feature by one of the Guile maintainers[1].

During the last few years there has been a fair amount of work put in to modernise Emacs Lisp (lexical binding probably being the most notable accomplishment). Still, Emacs Lisp has a long way to go to match a high-quality Scheme implementation.
So I am wondering if the time used to play catch-up with modern Lisps would not be better spent by integrating Guile? There seems to have been a lot of focus on performance in Guile the last few years and it also comes with good concurrency support (which has been another area of focus in Emacs). Recently another concurrency mechanism which may be a better fit than threads has also appeared in Guile [2]. There has also been discussion of making it easier for recruit new Emacs developers. I believe that adopting Guile and Scheme would be the single most important step towards this aim. 

Given the number of talented hackers in the Emacs and Guile community I would say that making Guile-Emacs a reality is a definitely possible. However, it would probably require to work together actively towards this goal, as opposed to fragmented hacking by single developers.

-Tobias

[1]: https://wingolog.org/archives/2016/02/04/guile-compiler-tasks
[2]: https://github.com/wingo/fibers




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Spending time on Guile Emacs? (was: Preview: portable dumper)
  2016-11-30 21:58 Preview: portable dumper Tobias Gerdin
@ 2016-11-30 22:22 ` John Wiegley
  2016-11-30 22:24   ` Spending time on Guile Emacs? Daniel Colascione
  2016-12-01 16:10   ` Spending time on Guile Emacs? (was: Preview: portable dumper) Christopher Allan Webber
  0 siblings, 2 replies; 5+ messages in thread
From: John Wiegley @ 2016-11-30 22:22 UTC (permalink / raw)
  To: Tobias Gerdin; +Cc: dancol, emacs-devel

>>>>> "TG" == Tobias Gerdin <tgerdin@gmail.com> writes:

TG> So I am wondering if the time used to play catch-up with modern Lisps
TG> would not be better spent by integrating Guile?

I really think this just comes to down to who is willing to do that work?
Guilemacs has made a lot of progress in the last few years, but it still
hasn't garnered much attention yet.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Spending time on Guile Emacs?
  2016-11-30 22:22 ` Spending time on Guile Emacs? (was: Preview: portable dumper) John Wiegley
@ 2016-11-30 22:24   ` Daniel Colascione
  2016-11-30 22:38     ` Stefan Monnier
  2016-12-01 16:10   ` Spending time on Guile Emacs? (was: Preview: portable dumper) Christopher Allan Webber
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Colascione @ 2016-11-30 22:24 UTC (permalink / raw)
  To: Tobias Gerdin; +Cc: emacs-devel

On Wed, Nov 30 2016, John Wiegley wrote:
>>>>>> "TG" == Tobias Gerdin <tgerdin@gmail.com> writes:
>
> TG> So I am wondering if the time used to play catch-up with modern Lisps
> TG> would not be better spent by integrating Guile?
>
> I really think this just comes to down to who is willing to do that work?
> Guilemacs has made a lot of progress in the last few years, but it still
> hasn't garnered much attention yet.

Did we ever address the mismatch between Guile strings and Emacs ones?
We can't depend on everything being valid UTF-8.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Spending time on Guile Emacs?
  2016-11-30 22:24   ` Spending time on Guile Emacs? Daniel Colascione
@ 2016-11-30 22:38     ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2016-11-30 22:38 UTC (permalink / raw)
  To: emacs-devel

> Did we ever address the mismatch between Guile strings and Emacs ones?
> We can't depend on everything being valid UTF-8.

Guile-Emacs has an "easy" solution for this: there are 2 kinds of strings,
the Scheme strings and the Emacs strings.


        Stefan




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Spending time on Guile Emacs? (was: Preview: portable dumper)
  2016-11-30 22:22 ` Spending time on Guile Emacs? (was: Preview: portable dumper) John Wiegley
  2016-11-30 22:24   ` Spending time on Guile Emacs? Daniel Colascione
@ 2016-12-01 16:10   ` Christopher Allan Webber
  1 sibling, 0 replies; 5+ messages in thread
From: Christopher Allan Webber @ 2016-12-01 16:10 UTC (permalink / raw)
  To: John Wiegley; +Cc: Tobias Gerdin, dancol, emacs-devel

John Wiegley writes:

>>>>>> "TG" == Tobias Gerdin <tgerdin@gmail.com> writes:
>
> TG> So I am wondering if the time used to play catch-up with modern Lisps
> TG> would not be better spent by integrating Guile?
>
> I really think this just comes to down to who is willing to do that work?
> Guilemacs has made a lot of progress in the last few years, but it still
> hasn't garnered much attention yet.

John is right.  The work is there, I even rebased the Guile repo not too
long ago (it's wip-elisp in Guile's repo), but it needs someone to step
up and do the work.

Notably this would bring a lot of the things people have been asking for
(an FFI, efficiently compiled code and when Guile gets it (it's on the
Guile agenda), JIT compilation) along the way.

I think it's worth persuing.  Someone needs to do the work though... it
definitely needs to be incubated to stability further to prove itself. :)

Tobias, are you interested in working on it?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-01 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-30 21:58 Preview: portable dumper Tobias Gerdin
2016-11-30 22:22 ` Spending time on Guile Emacs? (was: Preview: portable dumper) John Wiegley
2016-11-30 22:24   ` Spending time on Guile Emacs? Daniel Colascione
2016-11-30 22:38     ` Stefan Monnier
2016-12-01 16:10   ` Spending time on Guile Emacs? (was: Preview: portable dumper) Christopher Allan Webber

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).