Re: RDS vs Compiled?
Posted in 1997
Doug Lawry <106043.3452@CompuServe.COM> schrieb im Beitrag <Op0bTFv28GA.126@ntdwwaaw.compuserve.com>... > The real difference between RDS and I4GL is the amount of memory > consumed at runtime. Try looking at the SIZE column of "ps -el" > and you will find that the same RDS program can use 10 times as > much RAM as I4GL. If you are deploying a small number of programs > to large numbers of users, use I4GL. > Make a simple test: 1) #test.4gl-------------------------- main display "huhu" sleep 600 end main function my_func() define a array[ 10240 ] of char(1024) let a[ 1 ] = "huhu" end function #END of test.4gl--------- Compile it an you will see, that RDS will allocate over 10MB Ram. 2) define ok smallint Case ok when 1 display "1" when 2 display "2" otherwise display "otherwise" end case if ok = 1 then: RDS: only one display -> 1 I4gl: 3 displays -> 1 2 otherwise 3) by RDS: you must be in the directory of your 4gi Program. example: you are in /home your 4gi is in /home/4gl you must say: fglgo /home/4gl/xxxx.4gi the command: fglgo xxxx.4gi dont work 4) by RDS: you must include your C-Source in the runner 5) by RDS: you can get a Debugger!!! 6) ..... Live long and prosper! Patric