Re: Fastcode CPUID Unit




Which functions do you use?

Almost all, with the exception of CPUID. (and in commercial code)
The problem I have with CPUID is that the exceptions add just too much unasked for code and... Have a close look: it allocates memory!
This should not be part of low level code but should be decided by the programmer.
The granularity of the rtl has grown to become *very* bad ( f.e. variants.pas, sysutils.pas). fastcoders should (and do..) avoid using both, otherwise they do not do the compiler itself the justice it deserves.
(Professionally I do not mind, but my hobby is writing small programs with a big S that are still fully featured win32 execuatables using Delphi and KOL) I hate codebloat!
.




Relevant Pages

  • Re: Should I use "if" or "try" (as a matter of speed)?
    ... Joel Spolsky might be a great C++ programmer, ... arguments about exceptions do not hold in Python. ...
    (comp.lang.python)
  • Re: Runtime error in Java 6
    ... ignored) abound in code that you can't do anything about, like the JDK classes. ... Try running some Java program under a debugger that breaks on all exceptions and you'll see what I mean. ... The API part throws Exceptions, in part because an API writer ... Unchecked Exceptions are for programmer error. ...
    (comp.lang.java.programmer)
  • Re: I cant believe how complex this Format SDK is...
    ... I've been a programmer since '80. ... provides me with an unbiased perspective on the docs and APIs. ... Overall I think the documentation is reasonably good, ... run my app in the debugger, such as first-chance exceptions when using ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Real life cost of using exceptions for control flow?
    ... > your program operates in normal conditions" (and bad input is one of the ... single land line, DSL connection, and on all network connections between two ... If I am a reliable programmer, the second connection was already up ... spurious exceptions like out-of-space on the disk. ...
    (microsoft.public.dotnet.framework.performance)
  • Re: java.lang Exception hierarchy - why?
    ... >>RuntimeException has been placed as a subclass ... A program declaring such exceptions would be ... reference to unchecked and checked exceptions. ... > though this may be obvious to the programmer. ...
    (comp.lang.java.programmer)