![]() I’m going to show you a couple lists of APIs. Looking at you, File.OpenHandle() and RandomAccess.Read(), which together expose an operating system handle with very little getting in your way to read through a file (as bytes) with maximum performance. The lowest-level code enables a lot of flexibility, control, and performance optimization, but requires more careful use. It returns the contents of a (text) file as a string that you can read and process. The most convenient code is compact and straightforward, often with at most a few options to vary behavior (as “choice” is itself a complexity). Convenience is descriptive of the experience of writing code and control of your ability to define its behavior. I like using the terms “convenience” and “control”, to describe the two ends of the “convenience spectrum”. ![]() Let’s start the series with a more general exploration of how the. Wrathmark: An Interesting Compute Workload (guest post).The next posts go into much more detail on specific API families, with a lot of code and performance numbers, to fully explore these convenient solutions. ![]() You’ll see a combination of high-level utility APIs that offer a nice balance of those design points and lower-level APIs that enable you to achieve a different balance per your needs. This post (and the ones that will follow) explores the ideas and features discussed in those other posts in terms of convenient solutions. Stephen Toub also published his annual performance post, Performance Improvements in. We described them in detail in our recent Why. Productivity, performance, security, and reliability are hallmark design points of the. This post kicks off a new series, exploring convenient solutions to common tasks. NET platform, we aim to provide convenient solutions for many tasks and to improve the convenience of writing apps with each new release. ![]() Convenience is the idea that a great solution is available when you want it and that it works for you. Convenient options are available for almost every task in life, from getting a ride to the airport to writing code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |