I did try dropping back to 5.2.0 as I have a custom 5.3.0 that is
patched for chicken-install, but it gave the same results under
windows.
On Wed, 8 Sept 2021 at 17:48, Mario Domenech Goulart
wrote:
>
> On Mon, 6 Sep 2021 21:25:48 +0100 Mark Fisher wrote:
>
> > The co
-windows library being used.
libchicken.dll => /c/chicken/bin/libchicken.dll (0x7ff8094d)
On Wed, 8 Sept 2021 at 08:10, Mark Fisher wrote:
>
> > But to what libraries is Chicken linked in each case? That could be the
> > source of the discrepancy (does Chicken link to Win
> But to what libraries is Chicken linked in each case? That could be the
> source of the discrepancy (does Chicken link to Windows-specific libs
> when compiled for Windows? Or different versions of libraries?)
$ ldd /c/Users/markj/dev/lisp/chicken/aoc-chicken/build/advent2015.exe
>
>
> The compilation options enable instrumentation-based profiling. There's
> statistical profiling available when running executables with -:p which
> might give you more useful data (see
> https://www.more-magic.net/posts/statistical-profiling.html for more
> infomation). Could you please try
>
> That performance discrepancy is kinda surprising, specially considering
> that Linux is running as a guest on a VM on Windows.
>
> Maybe profiling can help spot what is causing the performance
> difference?
>
You'll have to bear with me here, as I haven't tried adding profiling
before.
I
I've got a windows and linux environment for Chicken on the same machine.
linux is running in VMWare Workstation, the host is Windows 10.
I'm seeing quite a difference in performance between the two; windows host
is running about ~4-6x slower than a VM that's running on the same machine.
The
> Many thanks for this thorough analysis. Could you do me a favour?
> Could you send me the installation instructions and the
> generated chicken-config.h files for each build option you used?
> Perhaps that way we can figure out where our various Windows
> build configurations are inconsistent.
No such file or directory:
"C:\\Users\\markj\\AppData\\Local\\chicken-install\\test\\test.egg"
- - -
So it seems with chocolatey on my path its build seemed to make
everything fully "windows", whereas with MSYS2/MinGW64 on the path it
was slightly unixy (cp instead of xcopy, but still referring to
C:\\Users\\markj\\AppData etc).
Option (2) did mostly work though as a solution without chocolatey,
but only because unix style binaries were on the path.
mark
I have traced where my copy is crashing, but I don't know why.
After compiling with DEBUGBUILD, and using gdb, I've step debug the
application until it crashes.
This is the last function it enters in chicken-install.c:
/* main#destination-repository in k8330 in k8326 in k8322 in k8318 in
k8314
Firstly,
> Hope this helps!
This is all incredibly helpful thanks!
> > This is exactly what I was expecting too, although the "mingw-msys"
> > build I would expect to be from a "MSYS2 MinGW 64bit" shell to be
> > specific (as opposed to "MSYS2 MSYS" shell) when running make.
>
> I don't
>
> Those assumptions are all correct. Looking at your other mail, I think I
> understand what might be going wrong here.
>
> My guess is that you either tried to use PLATFORM=mingw from an msys
> shell (i.e., msys2 bash), which would explain the error about XCOPY,
> or you used PLATFORM=... with
>
> I just can't get this working.
>
I've finally been able to get chicken installed and working, but I had to
pretend to be cygwin.
I think there's errors in the mingw-msys Makefile, or my assumptions about
it are wrong.
I would expect:
- "Makefile.mingw" to produce files for MingW64 in a
\Users\\redacted\\AppData\\Local\\chicken-install\\uri-common\\uri-common.egg"
I just can't get this working.
Mark
tallations of everything). I suspect gcc versions, but it doesn't feel
like anyone owns this, so there's no regular build on windows with latest
mingw64/msys2 to check.
And in no way am I trying to start any implementation wars, but after hours
of this, in exasperation, I ran racket, and it just worked.
Mark
I've made some partial progress.
I installed mingw64-gcc and make into windows with chocolatey in a
powershell instead of with MSYS2, which I think may be closer to what
you have setup George?
I was then able to compile and install chicken. I couldn't work out how to
set a PREFIX value that
It's not just chicken-install, the same crash loop is happening in
chicken-profile, chicken-status so far that I've tried.
csc and csi work ok though, but without any eggs I'm not going very far.
On Sat, 21 Aug 2021 at 17:55, Mark Fisher wrote:
> > IIRC, I compiled in cmd.exe -- my mi
> IIRC, I compiled in cmd.exe -- my mingw-64 was installed in normal
> Windows userspace.
I don't know mingw64 well enough to be able to do that, I just followed the
chicken's compilation guide, which uses the
"MSYS2 MinGW 64-bit" window.
I've tried compiling the latest 5.3.0rc-1 source, and am
t;
> Today's Topics:
>
>1. Installing Chicken 5.2.0 on Windows - chicken-install
> -update-db hanging (Mark Fisher)
>2. Re: Installing Chicken 5.2.0 on Windows - chicken-install
> -update-db hanging (George Oliver)
>
>
> -
ow to work out why it's
hanging?
Thanks,
Mark
with
some C code to push data to the "in" and reads it on the "out" from
scheme.
I think maybe pipes used to be bidirectional.
Looking at the FDs on the file-system, the permissions are "r" on IN
fd and "w" on OUT fd.
I vaguely wonder if changing them both to be r/w would also fix the issue.
However, I'm happy to have it working, so thanks for your response!
Mark
Hi Chicken Users,
I'm a new user of chicken, and am using it to learn scheme.
I've got an issue with using pipes.
>From various sources I've created the following example, but when run
I get an exception.
;; example.scm
(import (chicken process))
(import (chicken file posix))
(import srfi-18)
On Wed, Jul 24, 2019, at 17:54, Lassi Kortela wrote:
> We're exploring making a GraphQL API for the Schemedoc project
>
>
> In case anyone wants to advise or to test this early for your own
> project, let me know.
>
I am currently working on a GraphQL PoC at work. The chicken deployment
OK, I think I've figured it out.
In the calling code (calc.scm), I have to do something like:
(cond-expand
(compiling (declare (uses calc-yy)))
(else (load "calc-yy.scm")))
In compiling, I have to do:
csc -unit calc-yy -c calc-yy.scm
csc calc.scm calc-yy.o
That seem to work.
I have code where I 'include' other files. Suppose I compile that file.
As part of execution, it will try to load those other files, which isn't
what I want.
Is there a way of telling chicken that during the interpretation or
compilation, the file should be loaded, but during execution, don't
On 15/08/18 16:25, Christian Kellermann wrote:
Does this help?
Thanks, it helps.
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
On 10/08/18 23:08, David Ireland wrote:
Can you show us the code you wrote?
I'm thinking the problem has something to do with low-level-macros.
I was really just looking for 'define-syntax-rule'. I managed to write
my own version:
(define-syntax define-syntax-rule
(syntax-rules ()
I'm new to Scheme. I wrote a little program: cacc.scm.
When I type
csi cacc.scm
the program runs successfully. However, when I try to compile it:
csc cacc.scm
it prints out the following errors:
Error: during expansion of (dbind322 ...) - unbound variable:
On Jan 9, 2015, at 10:20 AM, Alex Charlton alex.n.charl...@gmail.com wrote:
Yeah, those warning’s you’re seeing aren’t important. Chicken is just
confused about what extensions it has available.
I’m pushing bugfixes to Hypergiant and Hyperscene presently. So, you’ll want
to reinstall
...@gmail.com wrote:
Hi Mark,
If you already have GLFW (version 3+) installed,
Gil Mizrahi writes:
try using `chicken-install -r glfw3` to get the source for the glfw3 egg.
then open `glfw3.setup` and change `-lglfw` on line 12 to `-glfw3` and try
to install using `chicken-install
install’ on either
one results in ‘no available formula’ errors.
Thanks to all of you for your help with all of this, I really appreciate it.
:-)
On Jan 9, 2015, at 9:42 AM, Gil Mizrahi gmizrah...@gmail.com wrote:
Hi Mark,
This might be a stupid question, but did you also install GLEW
AM, Gil Mizrahi gmizrah...@gmail.com wrote:
Hi Mark,
No problem, had the same problems myself a couple of days ago and got help
from Alex and others at #chicken on freenode.
regarding glfw3-bindings and glls-render, I think those might be from eggs so
you might want to try and install
Hi-
I installed chicken on my mac (Yosemite) tonight, and the make … check returned
no errors.
I’m trying to install the hypergiant egg though, and when I run
sudo chicken-install hypergiant
I eventually get some errors:
installing glfw3:0.6.1 ...
changing current directory to
Is this a bug in chicken?
(rational? 6/10) = #f
Also
(* 1.0 5/2)
produces
Error: (*) bad argument type: 5/2
Call history:
syntax (* 1.0 5/2)
eval(* 1.0 5/2)
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version
If I want to reproduce this, do I need to type in anything else?
It doesn't happen here.
After some experimenting, the statistics eggs seems to introduce some
peculiarity. Here's a session:
--
#;1 (* 1.0 5/2)
Warning: cannot
Here's one for your mystery file:
foo.scm:
(use bindings)
(bind (a b c) '(1 2 3)
(print a))
(write-line Finished)
$ csj -bq foo.scm
1
Finished
BUT:
$ csc foo.scm
Error: [internal compiler error] type of literal not supported: #procedure
Call
Is there a way I can use a file in the current directory?
Here's what I'm trying to achieve: I want to be able to use some functionality
interactively in the interpreter, but also create an executable. In the
executable, I will probably do some command-line argument parsing, and
automatically
Christian Kellermann ck...@pestilenz.org
http://api.call-cc.org/doc/chicken/special-forms/cond-expand
Check for the 'csi feature to see whether you are running in the
interpreter.
Does this help then?
Very much so! Thanks for your help.
___
Christian Kellermann ck...@pestilenz.org
* Mark Carter mcar...@markcarter.me.uk [120316 14:45]:
chicken-install combinators
An attempt to use the egg fails:
Error: (import) during expansion of (import ...) - cannot import from
The egg is named combinators, but there is no such module
Doing
chicken-install combinators
causes a number of complaints:
Warning: obsolete compiler option: -lambda-lift
Note: type-definition `left-section' for toplevel binding `deprecated'
conflicts with previously loaded type `(procedure ((procedure (#!rest) *)
#!rest) (procedure (#!rest) *))'
I'm getting a segfault with srfi-34:
$ csi
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0.5-st
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2012-03-07 on miro (Linux)
#;1 (use srfi-34)
; loading
chicken-doc looks like a useful feature, but how should I document my
eggs to use it? The eggdoc egg says not to document eggs using
eggdoc anymore, but to use the chicken wiki. My egg (well actually, it's
just a module made into an extension) just resides in a directory,
however. Does that
I'm trying to put some functions into a module, but I'm having
difficulties. Everything seems to work when I use csi - putting it into a
module causes errors. Here's the specific errors I am encountering:
Warning: reference to possibly unbound identifier `read-lines' in:
Warning:
Christian Kellermann ck...@pestilenz.org
Thanks for noticing this!
I'm not sure if I in some way corrupted my install of chicken, but I
removed the Debian version of chicken and obtained
4.7.0.5-st.tar.gz
from
http://wiki.call-cc.org/stability
That seems to have fixed my
---BeginMessage---
Christian Kellermann ck...@pestilenz.org
Which information would you've liked to have before stumbling on
all of this? Maybe that would be a good place to start the
improvements,
It's difficult to say. I'm in no way saying it's the document's fault, but as
a newbie to
There seems to be a problem with srfi 47
root@miro:~# chicken-install srfi-47
retrieving ...
resolving alias `kitten-technologies' to: http://chicken.kitten-
technologies.co.uk/henrietta.cgi
connecting to host chicken.kitten-technologies.co.uk, port 80 ...
requesting
I'm a bit confused about how to create extensions. I have the following
files in an mccsl directory:
mccsl.setup:
(compile -s mccsl.scm)
(install-extension 'mccsl mccsl.so)
mccsl.scm:
(module
mccsl ( define-simple-syntax)
(import scheme)
... ;; lots of definitions
)
I have managed to
Christian Kellermann ck...@pestilenz.org
* Mark Carter mcar...@markcarter.me.uk [120306 17:07]:
Warning: extension `srfi-47' has no .meta file - assuming it has no
Why are you needing this srfi?
I want to create a matrix, and populate it. I have a list of triplets
consisting of a row number
John Cowan co...@mercury.ccil.org
SRFI-63 is definitely your friend.
Thanks. I've converted my code to use that SRFI.
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Mario Domenech Goulart mario.goul...@gmail.com
Maybe this document can be useful:
http://wiki.call-cc.org/eggs%20tutorial
OK, after many chicken sacrifices (strangely appropriate somehow), I was
able to build my extension and load it. Just one comment: I think there is
a doc fix needed at
Here's my attempt to build chicken on cygwin:
git clone http://chicken.wiki.br/git/chicken-core.git
commit
c95dc5f62be34284716025ddb0d5e5431566c24f
Author: felix
fe...@call-with-current-continuation.org
Date: Thu Mar 18 12:01:06 2010 +0100
cd chicken-core
mmake='make
PLATFORM=cygwin
Sorry guys.
In my recent report, I mentioned about not being able to bootstrap. I didn't
read the README :( I'm supposed to obtain a bootstrapper from
http://chicken.wiki.br/chicken-projects/bootstrap/
Unfortunately, there isn't one available for cygwin. I guess it's a case of ...
wait for it
I seem to be able to get chicken to install and run OK on MSYS (includes MINGW,
naturally). Here's the steps I followed:
Open up a MSYS shell
git clone http://chicken.wiki.br/git/chicken-core.git
cd chicken-core
make PLATFORM=mingw-msys confclean
mmake='make PLATFORM=mingw-msys
The following is an installation report of attempting to compile
chicken from git using mingw-msys on 17-Mar-2010. The topmost entry in
the git log is:
commit 590e58d9cfaed30d1b79abcc8bab4c13b80691ce
Author: felix fe...@call-with-current-continuation.org
Date: Fri Mar 12 07:51:21 2010
For those who would prefer to read the Silex docs as a PDF rather than PS, I
have performed a conversion and made it available from my site at:
http://www.zen113241.zen.co.uk/
The direct link is:
http://www.zen113241.zen.co.uk/silex.pdf
___
Hi,
Felix asked me to try compiling the latest version of chicken from git. I am
happy to announce that it all goes very well - expect for the command
chicken-install - which seems to be a Win7/Vista problem. Here's a more
detailed report of what I did:
I installed a fresh copy of cygwin -
- Original Message
From: John Cowan co...@ccil.org
http://www.mail-archive.com/libtool-patc...@gnu.org/msg04773.html
It seems there's two approaches: embedding the manifest inside the executable,
or adding a file alongside the executable. I added chicken-install.exe.manifest
Do I need to updated repo perms? I tried to check into the readline
directory and got denied (probably a good thing). My username is
mfredrickson
Thanks in advance!
-Mark
On Thu, Nov 13, 2008 at 6:28 AM, felix winkelmann [EMAIL PROTECTED] wrote:
On Thu, Nov 13, 2008 at 5:52 AM, Mark Fredrickson
Hello,
Does the readline egg have an active maintainer?
I'm trying to add file globbing to the completions, and I have a very
basic patch. I'm thinking of creating a little completion callback API
and I'd like to coordinate with the maintainer.
Cheers,
-Mark
of a good way to
make it happen, but I'd be interested to hear other input.
I am at this very moment working on a similar problem (though I'm only
compiling files not metaprogrammed code, so my situation may be easier).
Good luck and report back if you find anything,
-Mark
On Nov 11
probably
need to expend some effort to match this. Though I think it certainly
could be done.
Cheers,
-Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Hi Raymond,
On Feb 19, 2008, at 7:16 PM, Raymond Medeiros wrote:
Hi, myself and my friend Liam Irish were considering working on this
portion of the hack-a-thon.
So I'm throwing it out there, I noticed that Mark Fredrickson is
already on the list for Ruby.
Great! I know Peter Bex also
Hi Raymond,
I've added my 1st draft presentation outline:
https://galinha.ucpel.tche.br/cgi-bin/svnwiki/default/chicken-for-ruby-programmers
This is just my rambling thoughts on what my Ruby group might be
interested in.
On Feb 19, 2008, at 9:37 PM, raymond medeiros wrote:
I actually have
is interested I'd
be happy to try my hand at a Ruby-Chicken tutorial).
I too would be happy to help. I recently volunteered to give a Scheme
introduction my local Ruby group.
-Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http
16 25)
I won't bore you with a lot details. Feel free to hit me up if you
have more questions.
Cheers,
-Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
I disagree that new users should know how to put together a R5RS
environment with Chicken. As a new user of Chicken, my concern was not
with standards-conforming code; my concern was how to get code to work
using the functional programming idioms I had learned from Standard
ML.
With a high
Good idea. Could you please add these points to the wiki page?
Added.
I also added an additional hackathon goal of improving Chicken's
performance on the PL Shootout. I know there was some noise around
that in previous weeks, but I don't know where it ended up.
-M
service,
-Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
This idea dove tails with discussion last week of providing docstrings
for lambdas. Felix pointed out that there is a hook to capture lambda
documentation. Will this work for documenting eggs, which might also
have data types, parameters, other info?
Texi seems like a reasonable standard to me,
some sort of db of symbols
and docstrings.
I promise to go look at the (declare ...) system and help on this
endeavor, if committers think it is a worth while idea.
Cheers,
-Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http
Is it possible to determine at run time the arity of function? I'm
thinking something like
(arity (lambda (x y z) (* x y z)))
= 3
Something that could also inform me about rest params would useful too.
My searching of the wiki has turned up no info.
Thanks in advance,
-Mark
.
Thanks Graham,
-Mark
On Jan 24, 2008, at 8:54 AM, Graham Fawcett wrote:
Hi folks,
There's a study group for SICP (the book, Structure and
Interpretation of Computer Programs), just starting up. If you're
interested in joining, please see
http://inkdroid.org/journal/2008/01/23/sicp-reading
Lordy! Does Felix ever sleep?
-M
On Jan 22, 2008 3:58 PM, felix winkelmann [EMAIL PROTECTED] wrote:
Hi!
Another egg freshly available: advice
http://chicken.wiki.br/advice
cheers,
felix
___
Chicken-users mailing list
SVN external definitions *might* be what you want, though this
particular application sounds gruesome. Externals are roughly the
equivalent of symbolic links: a given directory in one
repository/branch actually points at another repository/branch.
Managing them for 300+ eggs sounds like a
A quick thank you to everyone who responded. Those tips helped
immensely. When starting out with a new system, not only does one need
questions answered, you need to know what questions to ask! I'd like
to *think* I'm on better ground for both of those items.
Cheers,
-M
to
pass in user lambdas to execute on error and warning conditions.
Thanks in advance,
-Mark
[1] http://geos.refractions.net/
[2] http://geos.refractions.net/ro/doxygen_docs/html/geos__c_8h-source.html
___
Chicken-users mailing list
Chicken-users
Thanks for the pointer. I had tried that. I assumed the error message
I received indicated said extension did not exist. Actually, it's a
well documented issue on OS X when using macports:
http://chicken.wiki.br/platforms#Fixing%20libchicken.dylib
I made the link and now I have access to all the
version of filter
and fold? :-)
Cheers,
-Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
William Ramsay wrote:
Is there such a thing as a Chicken/Scheme style guide? [...] If there
is such a thing as teaching an old dog new tricks I'd like to try.
Your last sentence makes me think that you're referring to algorithm
design, not mere syntax style. Things like learning to use
I think it would suffice for daemonize to wrap the call to the daemon's
main procedure in a dynamic-wind block and call the cleanup function
from the exit thunk. Unless the daemon procedure terminates itself with
a low-level _exit or by sending itself a kill signal, the cleanup code
should
, or do you actually
deploy .c files?
Awesome, all eggs should support static linking like this! Chicken rocks!
Cheers,
Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Folks,
How can I compile the numbers egg statically? I tried many things but none
seems to work.
Thanks,
Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
On 10/15/07, Tobia Conforto [EMAIL PROTECTED] wrote:
Mark Fredrickson wrote:
... we can see the macro expansion of parameterize using dynamic-wind.
Dynamic-wind will call the function g6 before and after control enters
or leaves the thunk, by call/cc, the basis of threads in chicken
You first have to create a statically linkable version of the
syntax-case extension,
by compiling the file syntax-case.scm (in a directory containing the
extracted egg files and after running chicken-setup -n to generate a
required include file) like this:
csc -c -O2 -d0 -unit syntax-case
Hello,
I have a bunch of syntax-case macros that should be available at runtime,
so that eval is able to use them. I'm compiling statically. What is the
simplest way to achieve this?
Thanks,
Mark
___
Chicken-users mailing list
Chicken-users
for Chicken features. I am currently working on it. However,
I cannot promise the DSSSL keywords soon, but I will add it to the
ToDo list.
For now I'll use the hack, until the DSSSL keywords have been added to
psyntax. I hope your todo list is not too long. :-)
Cheers,
Mark
that they will not be renamed. I have no clue how to do that
at this moment though.
Cheers,
Mark
Mark,
The #!rest syntax is supported directly by Chicken and it appears the
extra indirection involved in syntax-case is causing the #!rest
keyword to be renamed before Chicken sees
making changes to the syntax-case egg?
Thanks,
Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Hey Kon,
I described my problem, plus an example, in this post:
http://groups.google.com/group/comp.lang.scheme/msg/19e37409eee0d7ab
I'm relatively new to syntax-case. How do I explicitly specify a literal?
Thanks,
Mark
On Aug 21, 2007, at 8:28 AM, [EMAIL PROTECTED] wrote:
Folks
Folks,
It seems to me that syntax-case doesn't support rest arguments (and
keyword arguments, for that matter). It fails to recognize #!rest as
special syntax, and instead interprets it as a variable. Is there any way
around this?
Thanks,
Mark
clean shutdown all
kinds of strange behavior are apparently allowed to happen if you ever
connect again with the same communications partner -- of course this
doesn't really apply in reality ;-)
Thanks for the help.
Cheers,
Mark
___
Chicken-users
Does adding a Connection: close change anything?
Nice idea, but it didn't help.
Cheers,
Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
don't
work properly. Does anyone know how to fix this?
Cheers,
Mark
(define (test-web-server)
(let ((l (ssl-listen 443)))
(ssl-load-certificate-chain! l host.cert)
(ssl-load-private-key! l host.key)
(let loop ()
(let-values (((in out) (ssl-accept l)))
(let read
Thanks, it works like a charm.
Replace -uses with -R.
cheers,
felix
On 6/12/07, Mark Voortman [EMAIL PROTECTED] wrote:
Hello folks,
I finally managed to install fltk and the bb egg. Now I want to compile
a
simple program statically, but I can't get it to work. This is the
program
.
Cheers,
Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
-static-extensions gui.scm -uses bb. It then complains about an undefined
reference to _C_bb_toplevel. I tried a couple of other commands but
nothing seems to work. Any help is welcome.
Thanks,
Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
Hi guys,
I have an urgent need to create a vector with a capacity of over 100
million elements. However, I get an out of range exception when I call
make-array since the numbers of elements is limited to 16777215. Where can
I increase this limit?
Thanks!
Mark
John,
Thanks for your reply. However, according to my calculator 2^30 is
1,073,741,824 which should be more than enough. Where did all the space
go? I also thought about a vector of vectors but I'd like to keep it
simple, if possible. A 64 bit machine is not an option at the moment.
Cheers,
Mark
a real vector or could you use a raw unmanaged block of
memory instead?
I'd prefer a real vector since it's easy to use. I could always consider
raw memory as a way out.
Cheers,
Mark
___
Chicken-users mailing list
Chicken-users@nongnu.org
http
Thanks for the info!
Mark,
On May 10, 2007, at 2:19 PM, Mark Voortman wrote:
Where did all the space
go?
Each scheme object has a header word which stores: 1) Various type
tags and 2) the length of the object. So, the extra space went into
type tags---there are 24 bits reserved
Hi, I'm a n00b to scheme, and I thought I'd check out Chicken. I tried to get
the readline egg installed, which is dependent on easyffi. I installed the
easyffi egg, but if I type
foreign-parse
I get the response
Error: unbound variable: foreign-parse
All the other easyffi procedures
1 - 100 of 109 matches
Mail list logo