unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Should wide-int be registered in features?
@ 2018-04-05 22:12 Rocky Bernstein
  2018-04-05 22:21 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Rocky Bernstein @ 2018-04-05 22:12 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

.. or in system-configuration. And/or shown in emacs-version?

Recently I was reading the thread "Floating-point constant folding in Emacs
byte compiler", and it looks like, as of now, most (or all) of the issues
raised have been resolved in the byte-code optimizer.

Although I'm happy that things are fixed now, there a part of me that asks:
what might have help detection and prevention of such a problem?

I think there should be a simple program to do some sanity checking of
bytecode *before* it gets run to warn of potential problems or worse does
partial execution work and then crashes.

I've mentioned this in the past, but I now realize that I can write such a
lint checker in Elisp Lisp as a side package.

But there are a couple additional features that might be helpful, both in
such a bytecode lint program and independent of that: whether emacs was
built with --with-wide-int.

My understanding of the floating-point-constant bug is that the behavior is
different between optimizaition on builds that differ using this option.

Other things like x-toolkit, gtk, multi-tty, are listed in features. Should
wide-int be something like this?

[-- Attachment #2: Type: text/html, Size: 2501 bytes --]

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

end of thread, other threads:[~2018-04-06  6:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-05 22:12 Should wide-int be registered in features? Rocky Bernstein
2018-04-05 22:21 ` Stefan Monnier
2018-04-05 22:34   ` rocky
2018-04-05 22:41     ` Noam Postavsky
2018-04-05 22:46       ` rocky
2018-04-06  0:56     ` Stefan Monnier
2018-04-06  6:28 ` Andreas Schwab
2018-04-06  6:30 ` Ulrich Mueller

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).