Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Enterprise
Expertise: All
Jun 21, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Move ASP Code to Compiled Components

Moving your ASP code to compiled components is always a good idea. Compiled components enable fast execution, along with easy development, debugging, and testing.

For example, creating a record set object in a VB component can be more efficient than creating the same in ASP. Because ASP relies on interpreted languages like VBScript/JavaScript, the component and method invocation happen through IDispatch pointer instead of vTable binding. The latter is much faster than the former. Similarly, having a complex calculation subroutine that is used from many places in your Web site in a compiled component can boost performance.

So, making one call to the compiled component from the ASP, which wraps all computations/processing in it, is advisable. Also, the availability of an integrated environment facilitates debugging, and using VB/VC gives the developer much more flexibility for utilizing the strengths of these languages. This compiled code also can be reused from other pages if required.

Jai Bardhan
Thanks for your registration, follow us on our social networks to keep up-to-date