New GC for Gobo -- Progress report

3 messages Options
Embed this post
Permalink
Howard Thomson

New GC for Gobo -- Progress report

Reply Threaded More More options
Print post
Permalink
Hi all,

I had hoped to be able to announce that my new GC for the Gobo Eiffel Compiler
was working for this Christmas, but it was not to be ... [unless a miracle intervenes !]

It is, however, getting very close, managing some 73 GC collection cycles, where a
cycle is delimited by 1000 4kb page allocations from raw memory, when used as the
allocator for 'gec'.

The remaining problem, assuming of course that only one remains(!), is related to
Manifest Arrays during yy_build_tables, and is in any case most likely caused by
incomplete marking of the reachable set of objects before freeing unmarked objects.

Does anyone have any priority suggestions for what I should work on after getting the
GC working, other than multi-threading which I am working on, and incremental
compilation on which I have some thoughts and [Linux only] some work in progress ?

Merry Christmas to all !

Regards,

Howard Thomson

--
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." -- Albert Einstein


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gobo-eiffel-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop
Paul Cohen-4

Re: New GC for Gobo -- Progress report

Reply Threaded More More options
Print post
Permalink
Hi,

On Mon, Dec 15, 2008 at 8:26 PM, Howard Thomson
<[hidden email]> wrote:
> Does anyone have any priority suggestions for what I should work on after getting the
> GC working, other than multi-threading which I am working on, and incremental
> compilation on which I have some thoughts and [Linux only] some work in progress ?

Make sure one can compile shared libraries (.so) on Linux! Pretty
please. :-) I would vote for this far ahead of multi-threading
support.

A SCons tool for the Gobo Eiffel Compiler would also be very nice. Cf:
http://www.scons.org/wiki/EiffelStudioTool

Finally I wish either I could get time to do, or someone else could
do, a clean simple Eiffel wrapping of the Tokyo Cabinet C API. See:
http://tokyocabinet.sourceforge.net/index.html

But that's just me wishing!

> Merry Christmas to all !

And to you too!

/Paul

--
Paul Cohen
www.seibostudios.se
mobile: +46 730 787 035
e-mail: [hidden email]

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gobo-eiffel-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop
Howard Thomson

Re: New GC for Gobo -- Progress report

Reply Threaded More More options
Print post
Permalink
Hi Paul,

As regards shared-libraries, for incremental compilation during development I am
envisaging that a generated executable will be split between a compile-every-time
base program, a shared-library containing routines generated 'last time' [where a
previous compilation has taken place], and one or more 'update' shared-libraries,
with some dynamic selection at run-time of most-recently generated routines from
the shared-library set referenced by the base program.

The compiler will use dynamic library loading and call-backs to establish the
available code signatures that are available, where a signature includes any and
all types, arguments, results, options etc that affected code generation, and
generate a new base program and shared-library updates.

I am also working on a set of LLVM style classes to generate LLVM assembler
code and [eventually] machine code directly, at least for Linux/ELF/X86_64.

My most immediate priority is to achieve GC and threading functionality so that I
can use gec and Eiffel to write long-running multi-threaded programs, of which I
have several future projects in the early planning stages.

I will have a look at the SCons tools ...

Regards,

Howard

On Monday 15 Dec 2008, you wrote:

> Hi,
>
> On Mon, Dec 15, 2008 at 8:26 PM, Howard Thomson
> <[hidden email]> wrote:
> > Does anyone have any priority suggestions for what I should work on after getting the
> > GC working, other than multi-threading which I am working on, and incremental
> > compilation on which I have some thoughts and [Linux only] some work in progress ?
>
> Make sure one can compile shared libraries (.so) on Linux! Pretty
> please. :-) I would vote for this far ahead of multi-threading
> support.
>
> A SCons tool for the Gobo Eiffel Compiler would also be very nice. Cf:
> http://www.scons.org/wiki/EiffelStudioTool
>
> Finally I wish either I could get time to do, or someone else could
> do, a clean simple Eiffel wrapping of the Tokyo Cabinet C API. See:
> http://tokyocabinet.sourceforge.net/index.html
>
> But that's just me wishing!
>
> > Merry Christmas to all !
>
> And to you too!
>
> /Paul
>



--
Howard Thomson

--
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." -- Albert Einstein


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gobo-eiffel-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop