From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e0958937badc67da X-Google-Attributes: gid111c93,public X-Google-Thread: 1094ba,11a9ba3ad2dd3154,start X-Google-Attributes: gid1094ba,public From: Craig Burley Subject: Re: f77 compiler for linux/alpha? Date: 1997/07/25 Message-ID: X-Deja-AN: 258685649 References: <5r5u3c$knf$1@geraldo.cc.utexas.edu> <5r8hmv$hbf$1@news.utrecht.NL.net> Organization: Cygnus Support Newsgroups: comp.os.linux.alpha,comp.lang.fortran [comp.lang.fortran added to the newsgroups line, since the topic seems to have moved from Alpha-specific g77 support to g77 development in general.] Toon Moene writes: > Craig Burley wrote: > > >Given that 0.5.21 will need at least another week or two of alpha-testing > >once I get a new release out with all the fixes, I'd say public release > >of 0.5.21 is at *minimum* four weeks away -- say, September 1 -- unless > >that promised "real machine" shows up, say, tomorrow, all ready to go > >(which seems like wishful thinking). If the UDB proves problematic (in > >terms of getting Linux up and running) and other delays happen (which > >seems inevitable), that four weeks will turn into five, six, then three > >months, and so on. > > I'm seriously thinking we should go into 'bazaar mode' of software > development. [See for an explanation of that term.] Yeah, me too. > Note that g77-0.5.21 as it is today would be useful to a lot of people > already. Maybe so! Wanna release it for me? ;-) I do feel that it's gotten to where I'm too much of a bottleneck in the g77 development process myself...even though there's only a few people who do g77 coding work *currently*, the number has increased a bit lately, and I know I've told a number of people that the pending rewrite of portions for 0.6 might render some of their efforts obsolete...seems like it's time to stop worrying about that...so maybe there's a number of people who'd be willing to help out if only I'd get out of their way (though that'd almost certainly mean I'd have to do some *other* things to enable them working together). However, the biggest stumbling-block to putting g77 into bazaar mode is, IMO, the fact that g77 depends so highly on gcc, and gcc is *not* in bazaar mode. In effect, I think putting g77 into bazaar mode would either overload the ability of g77 developers to cope with the gcc bugs, or result in g77's version of gcc becoming a "favored" version among a substantial portion of the non-g77-using population. I'd love the latter result, personally, but the FSF probably wouldn't, and it's the former possibility, among other things, that concerns me -- trying to isolate g77 from gcc's problems has, as you know, been a substantial challenge and is maybe the sort of thing the bazaar model wouldn't be too great at (but it might well be worth a try). What I think bazaar mode *would* do is allow for rapid improvements to libf2c at the *very* least, in areas such as performance, porting, and extensions. For lots of people, that's the low-hanging-fruit of g77, and it's probably a lot more scrutable than g77 front-end or gcc back-end internals. I've probably got more notifications of potential or real patches in libf2c than the g77 compiler (front and back ends combined) at this point, and can't/won't really cope with them at this point, so these would definitely get plenty of fresh air quickly if we went into bazaar mode. Fortunately, some steps I've been taking do have the potential of loosening things up in the medium term, even though they're rather frustrating in the short term. That is, getting my office, computing machinery, and so on (a new ISP is still in the works) together is intended to give me a much better base on which to manage g77 stuff, including possibly setting up automation so I *don't* have to manage it myself, or can do so with a lot less work. (E.g. it's hard to learn about what nifty tools are out there to manage such projects, e.g. web-page scripting and such, when all I have is a 25x80-character screen, no X, no printer, and not really enough $$ for a bunch of books I have little time to read anyway!) In any case, it seems like switching to bazaar mode *after* a stable release is out (maybe 0.5.21) is wiser than doing so now, so it's clearer whether bazaar-mode patches/releases make things worse. I have *seriously* been considering greatly rolling back my time on g77 itself and using it instead to design and initiate development of a new toolset to really make the bazaar development model work in a "native" way. Most of our current tools (file systems, backup and testing procedures, make, diff, patch) actively discourage the bazaar model -- after all, they were developed primarily to enable a very few, very knowledgable programmers work in an environment where they had no need to worry about a bunch of less-experienced, but enthusiastic, programmers, writers, testers, and so on. The WWW (html and script-based) interface is a modest step forward, but still quite limited in its scope, yet all the basic hardware, network throughput, and such are available to do things the right way *now*, and coding is easy enough, so it's just the design work that is the hard part. However, it doesn't seem polite for me to change my focus until I get g77 stable, performing well on Alphas, and (probably) complete the 0.6 rewrite. Only an ongoing lack of g77 funding is likely to cause me to make such a change; even so, I'd probably rather leave a legacy of a pretty decent g77 if at all possible. (Given that most of my time debugging and fixing g77 these days involves bugs in the gcc back end, few of which seem to have been addressed in the development version, "at all possible" *is* a serious question at this point. If it seems unlikely the gcc development process is going to improve substantially soon, then it is equally unlikely the current approach to doing g77 -- having it use the gcc back end -- will produce a decent Fortran compiler.) How about this: we decide 0.5.21 *will* be released to the public on September 1, whatever version in alpha-test seems to work best, regardless of what known bugs (probably fairly obscure, needing options like -O2 or -fpack-struct) exist? Then, maybe we could do a new release every 8 weeks or so until we got one everyone agreed was stable *and* a good performer in the 0.5.x lineage. Meanwhile, at a suitable point, we could start 0.6 development and just start releasing those as "very preliminary beta" releases every N weeks (2, 3, 4, 6, whatever), the idea being that people wanting "stable" would stick with 0.5.x until told a 0.6.x was stable? These are just ideas I'm throwing out; I guess I'd better forward them to the g77 alpha testers as well, to get their input. One of the things I was looking forward to in regards a "real Alpha" to develop on is being able, perhaps, to set it or the UDB up to regularly run c-torture and whatever g77 tests we develop on development versions based on patches people submit for that purpose; and, if I could afford it (if sufficient funding came in), do the same for a Pentium Pro, maybe this old 486 at least, and maybe someday an UltraSPARC as well. As long as I'd have a dedicated machine to work on myself, I wouldn't mind others getting a decent workout, and being on the net via a reliable ISP. Maybe a pipe dream, but I'm constantly thinking of ways to enable more people to help work on g77 and other free software with fewer headaches and obstacles. (I'm remembering what I learned about being a good leader: one who removes obstacles impeding his followers. I.e. as a sort of de-facto project manager of g77, I'd like to get away from telling people what not to do, and more towards making what they want to try easier by removing roadblocks such as poor tools, poor ISP access [really my problem at the moment], no development version of g77 on the net, and so on. I don't want to become a full-time release engineer, though, so the current approaches to dealing with these problems won't work.) -- "Practice random senselessness and act kind of beautiful." James Craig Burley, Software Craftsperson burley@gnu.ai.mit.edu