GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #980

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Jan-Jaap van der Heijden
Subject: RTS runtime error checks.
Date: 10 Jul 1997, 22:27:40


Hello,

The GPC runtime library (RTS) does quite a bit of checking at runtime. The
ISO standards dictate this.

However, these checks slow down GPC compiled programs.

Would it be a violation of the standards if we were to have two RTS
libraries (libgpc.a and libgpc_g.a), where libgpc_g.a is linked if the
'-g' compiler switch is used, and libgpc.a (no checks) otherwise?

This would combine the best of both worlds: checks are enabled when you
debug your code, while production code has optimum speed.

Let me know your opinions,

JanJaap

---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  -- RFC1925.

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Bill Currie RTS runtime error checks. 11 Jul 1997, 09:57:26
Phil Nelson RTS runtime error checks. 10 Jul 1997, 14:37:21

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).