eknowledger

Stories submitted by eknowledger

CLR 4.5: .Net Framework Kernel Improvements(eknowledger.wordpress.com)

submitted by eknowledgereknowledger(156) 23 days, 8 hours ago

In this post I’ll go through some of the enhancements and improvements done by the CLR team as part of the performance improvements in .Net 4.5. In most cases developers will not have to do anything different to take advantage of the new stuff, it will just works whenever the new framework libraries are used. Topics covered: - Improved Large Object heap Allocator - Background mode for Server GC - Auto NGEN read more...

2 comments |category: |Views: 358

tags: another

Max Number of Threads Per Windows Process(eknowledger.wordpress.com)

submitted by eknowledgereknowledger(156) 26 days, 7 hours ago

Developers usually thinks that Windows has a default value for the max number of threads a process can hold. while in fact the limitation is due to the amount of address space each thread can have. When you create new thread, it has some memory in the kernel mode, some memory in the user mode, plus its stack, the limiting factor is usually the stack size. The secret behind that is the default stack size is 1MB and the user-mode address space assigned to the windows process under 32 bit Windows OS is about 2 GB. that allow around 2000 thread per process (2000 * 1MB = 2GB). read more...

1 comment |category: |Views: 133

tags: another

CLR 4.5: Managed Profile Guided Optimization (MPGO)(eknowledger.wordpress.com)

submitted by eknowledgereknowledger(156) 1 month ago

The Managed Profile Guided Optimization (MPGO) technology can improve the startup and working set (memory usage) of managed applications by optimizing the layout of precompiled native images.By organize the layout of your native image so most frequently called data are located together in a minimal number of disk pages in order to optimize each request for a disk page of image data to include a higher density of useful image data for the running program which in return will reduce the number of page requests from disk. if you think more about it, mostly it will be useful to machines with mechanical disks but if you have already moved to the Solid State Drive Nirvana the expected performance improvement will probably be unnoticeable. read more...

add a comment |category: |Views: 3

tags: another

CLR 4.5: Multicore Just-in-Time (JIT)(eknowledger.wordpress.com)

submitted by eknowledgereknowledger(156) 1 month, 1 day ago

.Net 4.5 introduce the concept of Parallel JIT Compilation, where a background thread runs on a separate processor core taking care of the JIT Compilation while the main execution thread running on a different core. In ideal scenario the JIT Compilation thread gets ahead of the main thread execution thread so whenever a method is required it is already Compiled. The question now which methods are required for the startup? in order for the background thread to compile to be ready for a faster startup. That leads us to the new ProfileOptimization type. read more...

1 comment |category: |Views: 192

tags: another

Visual Debugging Experience in Modern IDEs(eknowledger.wordpress.com)

submitted by eknowledgereknowledger(156) 1 month, 2 days ago

A collaboration between Brown University (Where Code Bubbles was born) and Microsoft Research, integrating ideas from Brown University’s Code Bubbles project into Visual Studio result Debugger Canvas as a new power tool for Visual Studio that enable Code Bubbles Like experience, it enable visual debugging experience based on code bubbles on a 2-D canvas which in return I believe it will greatly increase developer productivity and understanding of the code set. read more...

add a comment |category: |Views: 10

tags: another

Agile+(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 3 years, 1 month ago

Almost more than 3 years since i’ve been part of projects run by Agile, i had the chance to participate it in different roles and places in the whole project lifecycle, starting from software engineer passing by being an Architect, Business Analyst, Team leader, and finally a Project Manager. It was absolutely a long journey with good, bad experiences, joyful, sadness, difficult moments, hard situation, stressful situation, and a lot of lessons learned and knowledge gained! These are My Top 10 Agile practices, from the past 3 years. read more...

add a comment |category: |Views: 6

tags: another

CLR 4.0: Dynamic Languages Support(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 3 years, 5 months ago

As more and more dynamic languages start to show up in the .net world like IronPython, IronRuby, and F# the need for some changes in the CLR and the BCL to natively support those languages become important. But what’s really beautiful about CLR is it’s well designed framework, and eventually Microsoft discovered that the changes they need to make is not that much, Jim Hugunin built a Full Dynamic Language Runtime (DLR) on top of the CLR and he didn’t ask them for a lot of changes. Some of the Changes in CLR 4.0 in order to support Functional and Dynamic Languages are: 1. BigIntegers 2. Tuples read more...

add a comment |category: |Views: 27

tags: another

CLR 4.0: Code Contracts(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 3 years, 5 months ago

System.Diagnostics.Contracts provides a language-agnostic way to express coding assumptions in .NET programs. The contracts take the form of pre-conditions, post-conditions, and object invariants. Contracts act as checked documentation of your external and internal APIs. The contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation. read more...

add a comment |category: |Views: 29

tags: another

The Future of Programming Languages(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 3 years, 5 months ago

Fascinating expert panel discussion in PDC 2008 about the future of programming from some of the leading programming languages experts in the world. How programming will be affected by a number of fundamental changes occurring like many-core machines, cloud computing, and more. What’s the biggest challenges that face the industry. read more...

add a comment |category: |Views: 11

tags: another

CLR 4.0: Corrupted State Exceptions(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 3 years, 5 months ago

CLR 4.0 will not allow you anymore to catch exceptions that may corrupt the state of the current running process, the CLR 4.0 introduced this new concept of Corrupted State Exceptions (i like to think of those as Super Exceptions), those exceptions that could corrupt the state of the process and causing losing user data or weird application behaviors read more...

add a comment |category: |Views: 41

tags: another

CLR 4.0: New Enhancements in the Garbage Collection(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 3 years, 5 months ago

The current Garbage Collection does pretty good job in reclaiming the memory of Gen 0 and Gen 1, those Generation’s objects live in ephemeral segments which is very small and GC reclaims their memory very fast, on the contrary most of Gen 2 objects live in other large segments which make Gen 2 large objects collection slower than other collections. The GC team actually made great improvements in collection algorithms on both the server and the workstation to make it faster and reduce latency. read more...

add a comment |category: |Views: 24

tags: another

CLR 4.0: Type Embedding(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 3 years, 5 months ago

As new enhancement in CLR version 4.0 (will be released in 2010) is the concept of Type Embedding. The actual motivation for this new concept was the miserable story of deploying application that uses Primary Interop Assemblies (PIA). read more...

add a comment |category: |Views: 6

tags: another

Top 10 Code Review Tips & Tricks(eknowledger.spaces.live.com)

submitted by eknowledgereknowledger(156) 4 years, 5 months ago

Top 10 Code Review Tips & Tricks that worked with me ;) read more...

add a comment |category: |Views: 64

tags: another