AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page
   Networked Database  Computer Support/Help/Discussion...   [1615 / 1624] RSS
 From   To   Subject   Date/Time 
Message   digimaus    Shawn Highfield   Re: Console vs GUI   November 8, 2024
 6:23 PM *  

-=> Shawn Highfield wrote to All <=-

 SH> One line of code in pascal becomes a 35 line procedure.  Why is this
 SH> better then console?

You need to turn on optimization, "release" mode, and stripping debugging
symbols.  FP. by default, compiled is debug mode and adds a lot of extra
crap.

 SH> Plus the lazarus one doesn't work right yet.  Just amazing to me the
 SH> pure bloat in modern GUI programming languages.

You can trim the fat but it's all in the compiler settings.  I use FPC
direct from the command line.

Here what I use in a bash script to compile a regular program (last line is
wrapped):

#!/bin/sh
export HOME=/opt/mbse/code
fpc -B -Fo$HOME/out/object -FU$HOME/out/ppu -FE$HOME/out
-Fu/usr/lib64/fpc/3.2.2/units/x86_64-linux -Fu$HOME/source/ -So -O2 -Tlinux
-Xs -XX -v0 -k"-z noexecstack" $HOME/source/$1.pas

I don't use Lazarus yet though I have been thinking about writing a GUI
version of NODECONV.

-- Sean

... Programming Department: mistakes made while you wait.
--- MultiMail/Linux
 * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0156 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108