home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- From: julian@bjalon.demon.co.uk ("Julian Templeman")
- Path: sparky!uunet!pipex!demon!bjalon.demon.co.uk!julian
- Subject: Real Programmers)
- Distribution: world
- References: <BzC6n8.J2G@news.cso.uiuc.edu>
- Organization: Baker Jardine
- Lines: 51
- Date: Wed, 16 Dec 1992 14:46:52 +0000
- Message-ID: <724517212snx@bjalon.demon.co.uk>
- Sender: usenet@demon.co.uk
-
-
- In article <BzC6n8.J2G@news.cso.uiuc.edu> ercolessi@uimrl3.mrl.uiuc.edu writes:
-
- >
- >In article <1992Dec16.025109.24541@coe.montana.edu>,> uesu03@giac1.oscs.montana.edu (Lou Glassy)
- >writes:
- >|>[...] Last year, an instructor
- >|>handed out a small numeric code that followed all of the qualities
- >|>listed by {Doctor FORTRAN| James|Laurence|Ian}. No unnecessary spaces
- >|>or commas, all caps, 98.7% of variables were 2 or 3 characters in
- >|>length, and a whopping 5 comments in about 1500 lines of source.
- >|>Blecch!
- >
- >Hmmm ...
- >did any one ever made a source code uglifier, a filter removing
- >all comments, renaming all variables as A1,A2,... (*), removing all
- >extra spaces, replacing character constants with Holleriths, etc?
- >It could be a useful tool after all! Sometimes you do not want to
- >give away your sources, you would like to give only the binaries
- >but that's impractical ... this would be a brilliant intermediate
- >solution, give uglified code! :-)
- >--
- >Furio Ercolessi
- >Materials Research Laboratory | Intl School for Advanced Studies
- >Univ. of Illinois at Urbana-Champaign | Trieste, Italy
- >furio@uiuc.edu | furio@sissa.it
-
- Don't laugh - a company I used to work for actually used this system. They
- had a program for 'camouflaging' the source of their Fluid Dynamics program,
- which did all the things you suggested, and for much the same reasons.
-
- They supported the code on a *lot* of machines (when I was there in '86 or
- '87, there were several dozen), and since we didn't have easy access to some
- of them (like Crays, and some of the Cyber supercomputers), the shrouded
- source used to get sent out instead.
-
- And *guess* who used to get sent out to get it running when problems arose?
- Ever tried debugging uglified code? I used to have a huge printout giving
- the mapping between real and fake variable names.....
-
- I still remeber the time when the Chairman (in the US, read 'CEO') met one
- of his old university buddies at a conference, and told us to give him a
- plain-text version. Turned out he was a consultant for a major competitor.
- Ho-hum.
-
- Ah, those were the days.
-
- julian,
- who used to work
- for CHAM
- in london
-