chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#1666: Separate library into safe and unsafe parts


From: Chicken Trac
Subject: #1666: Separate library into safe and unsafe parts
Date: Fri, 24 Jan 2020 20:27:38 -0000

#1666: Separate library into safe and unsafe parts
-----------------------------------------+----------------------------
            Reporter:  felix winkelmann  |       Type:  enhancement
              Status:  new               |   Priority:  minor
           Milestone:  someday           |  Component:  core libraries
             Version:  5.1.0             |   Keywords:
Estimated difficulty:                    |
-----------------------------------------+----------------------------
 Many internal primitives in library.scm are compiled in safe mode, but are
 not strictly required to be safe. For normal primitives we want argument-
 count checking, etc., but since safeness declarations can only be scoped
 globally, all low-level interal procedures are compiled in safe mode as
 well, preventing possible optimizations by the compiler.

 I suggest having two files, library.scm and library-u.scm (for example),
 one compiled safe, the other unsafe. It should be possible to easily move
 definitions from one to the other, so that it can be done on a case-by-
 case basis.

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1666>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]