Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 18:28:43 +0200
From:      David Naylor <blackdragon@highveldmail.co.za>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Looking for speed increases in "make index" and pkg_version	for ports
Message-ID:  <200705281828.48026.blackdragon@highveldmail.co.za>
In-Reply-To: <465A33D4.1040706@math.missouri.edu>
References:  <4659EF80.70100@math.missouri.edu> <20070527223048.GA37505@icarus.home.lan> <465A33D4.1040706@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4943566.SuABLBdVN4
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 28 May 2007 03:43, you wrote:
> Maybe I should look at the inner workings of cmake and gmake.  Maybe
> they have some good ideas.  However having looked through the source
> code of make, and also looking at the cvs logs, it does seem to be well
> written.  The only possibility I see of making it go a lot faster is a
> complete redesign, e.g. my just in time idea for processing variables.
>
> Stephen

Just in time (jit), if I remember correctly, is a term used by java=20
interpreters which compile the byte code into machine code!!!  Perhaps this=
=20
could be developed for makefile's, especially bsd.*.mk. =20

This, I think, could be done in two ways:
1) Develop the bsd.*.mk files in C and link it in with make, or
2) Use the makefiles as source to compile into machine code (passibly via=20
C->ASM).  The machine code could be created on demand, or cached and only=20
updated if the source makefile changes. =20

I am not sure if this could work or even if it will have any significant sp=
eed=20
increase.  However if method 2 does work it has the potential to radically=
=20
increase the speed of ports _while_ maintaining the flexability. =20

All that will be needed is an API for the machine code and a compiler???

David

--nextPart4943566.SuABLBdVN4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBGWwNAyqzxLKpyZI8RAuhFAJ9UVnPXYyC69baLKYQlDXCvqz0dVwCfXDPp
qXVLSnKIsL2BpOm/aUmgHQ4=
=1gFI
-----END PGP SIGNATURE-----

--nextPart4943566.SuABLBdVN4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705281828.48026.blackdragon>