New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Foundations of Programming: Code Efficiency
Illustration by

Foundations of Programming: Code Efficiency

with Simon Allardice

Video: Welcome

(MUSIC) Welcome to Foundations of Programming Code Efficiency. I'm Simon Allardice, and in this course, I'll talk about how to make your programs faster, more efficient. More optimized, more responsive, and making better use of whatever resources you have. But this kind of work is not what most developers first think it is, so we'll begin by working through some core principles, things to pay attention to. One of these ideas is that any gut feeling you might have about why your code is slow, is very often wrong.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Foundations of Programming: Code Efficiency
3h 7m Beginner Oct 10, 2013

Viewers: in countries Watching now:

Code efficiency. There are other words we can use (optimization, performance, speed), but it's all about making existing code run faster. Whether for desktop, mobile, or web apps, in this course you'll see how to identify pain points and measure them accurately, as well as view multiple approaches to improve the performance. Author Simon Allardice covers everything from "quick fixes" to more complex (but more accurate) algorithms.

Learn to choose the right data types, understand the pitfalls of using high-level languages, and decide where to spend your time. Plus, see how the underlying memory management model may have more of an impact than you realize, and what performance issues you can expect working with databases and web services.

Topics include:
  • Identifying problems in the code
  • Embracing constraints
  • Using code analysis tools to measure performance
  • Managing memory
  • Managing disk-based and network resources
Subjects:
Developer Programming Foundations
Author:
Simon Allardice

Welcome

(MUSIC) Welcome to Foundations of Programming Code Efficiency. I'm Simon Allardice, and in this course, I'll talk about how to make your programs faster, more efficient. More optimized, more responsive, and making better use of whatever resources you have. But this kind of work is not what most developers first think it is, so we'll begin by working through some core principles, things to pay attention to. One of these ideas is that any gut feeling you might have about why your code is slow, is very often wrong.

So, we'll explore using diagnostic tools like profilers to find out where the problem truly is. Once we know that, we'll see how to approach and treat multiple issues. Because our code might already be efficient with memory. But inefficient with its own internal processing, its own algorithms. Or the problem could be the other way around. I'll also discuss the very different options for improving web, desktop, and mobile applications and we'll cover the impact that your chosen language and environment has on what you can expect. And importantly, how to be efficient with your own development.

To recognize where to spend your time, where the best improvements are possible, and also when to realize if there's simply nothing to be gained, from continually trying to optimize part of your application that just isn't worth it. So let's get started.

There are currently no FAQs about Foundations of Programming: Code Efficiency.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Foundations of Programming: Code Efficiency.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.