Xref: utzoo comp.lang.c:33602 comp.lang.pascal:4470 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!noose.ecn.purdue.edu!mentor.cc.purdue.edu!nuspljj From: nuspljj@mentor.cc.purdue.edu (Joseph J. Nuspl Jr.) Newsgroups: comp.lang.c,comp.lang.pascal Subject: EXE file size, C vs. Pascal Keywords: C, Pascal, MsDos Message-ID: <16398@mentor.cc.purdue.edu> Date: 10 Nov 90 01:50:14 GMT Followup-To: poster Organization: Purdue University Lines: 25 Over the past year, I have written several Unix-like commands -- cat, ls, ... in Turbo Pascal 5.5. I have recently rewritten them in Turbo C++ hoping to improve speed and/or reduce file size. The C compiled programs are significanly larger. Cat in Pascal is ~3k, Turbo C ~17, DeSmet C ~10. I will continue my 'Ms-Dix' project and was wondering which platform, C or Pascal, that I should continue with. I am trying to keep the size of the executables small and have the speed of execution as fast as possible. BTW - I don't have time to code every thing in Assembler. Comments? Thanks. __ __________ _________ /_/| /_________/| /________/| Joseph J. Nuspl Jr. | || | ____ | | | _______|/ nuspljj@mentor.cc.purdue.edu | || | || | | | | ||______ __ | || | || | | | | |/_____/| Purdue University /_/|| || | || | | | | _______|/ Shreve Hall, Room 308 | ||| || | ||___| | | | ||______ West Lafayette, IN 47906 | |_| || | |/___| | | | |/_____/| |_____|/ |________|/ |________|/ (317) 495-5415